10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
ANy reasons?
FILESYSTEM not FULL, PERMISSION is 777, but cant write to the filesystem?
any steps to do? reasons for this? (9 Replies)
Discussion started by: kenshinhimura
9 Replies
2. UNIX for Dummies Questions & Answers
Hi Guys,
I want to know is there any method to create a file having 777 permission. I am aware of umask, since it is only giving max. 666 permission for files this is not fulfilling my needs.
Thanks in advance
---------- Post updated at 12:49 AM ---------- Previous update was at 12:31... (10 Replies)
Discussion started by: sanoop
10 Replies
3. Shell Programming and Scripting
Hi,
I am having couple of files which i used to copy from windows to Linux, so now in case of text files (CTRL^M) appears at end of line. I know i can convert this windows format file to unix format file by running dos2unix.
My requirement here is that i want to do it automatically using a... (5 Replies)
Discussion started by: sarbjit
5 Replies
4. UNIX for Dummies Questions & Answers
Hey everyone. I have 2 different linux servers (each one is through a different web hosting company). On both servers I have the exact same PHP file upload script that allows users to upload a file or image to the server (everything on both servers is identical).
On server #1 the "attachments"... (5 Replies)
Discussion started by: Mr.Canuck
5 Replies
5. Shell Programming and Scripting
Here is the sample code I'm trying to execute. I see that the permission on the file is set to 755 always I want to change it to 777. Please help me with this.
code :
#!/usr/bin/perl
use File::Path qw(make_path remove_tree);
my $path = "2010/sam";
make_path($path,{mode=>0777});
... (1 Reply)
Discussion started by: hansini
1 Replies
6. Solaris
Hello Guruz,
Relay bad condition :mad:
Some has changed the permission to 777 recursively for /usr/bin directory by mistake. Now all the permission looks to be 777 on /usr/bin
Hence I am so many system related errors as 1 show below.
When I am trying to change the password, I am getting... (5 Replies)
Discussion started by: bullz26
5 Replies
7. Cybersecurity
User usrA creates dirA directory and runs chmod 777 on the directory. Can usrB issue another 777 on dirA? It appears the answer is no even if the usrA and usrB are part of the same group. I know this is a rare scenario but I just ran across it and found out that usrB receives an error when... (4 Replies)
Discussion started by: zlek131
4 Replies
8. UNIX for Dummies Questions & Answers
Hi
I have a file which has ascii , binary, binary decimal coded,decimal & hexadecimal data with lot of special characters (like öƒ.ƒ.„İİ¡Š·œƒ.„İİ¡Š· ) in it. I want to standardize the file into ASCII format & later use that as source .
Can any one suggest a way a logic to convert such... (5 Replies)
Discussion started by: gaur.deepti
5 Replies
9. UNIX for Dummies Questions & Answers
:confused: Hi
i am trying to convert a file which is in UTF8 format to ANSI format i tried to use the function ICONV but it is throwing error
Function i used it as
$ iconv -f UTF8 -t ANSI filename
Error iam getting is NOT Supported UTF8 to ANSI
please some help me out on... (9 Replies)
Discussion started by: rajreddy
9 Replies
10. UNIX for Advanced & Expert Users
:) Hi
i am trying to convert a file which is in UTF8 format to ANSI format i tried to use the function ICONV but it is throwing error
Function i used it as
$ iconv -f UTF8 -t ANSI filename
Error iam getting is NOT Supported UTF8 to ANSI
please some help me out on this.........Let me... (1 Reply)
Discussion started by: rajreddy
1 Replies
CGCREATE(1) libcgroup Manual CGCREATE(1)
NAME
cgcreate - create new cgroup(s)
SYNOPSIS
cgcreate [-h] [-s] [-t <tuid>:<tgid>] [-a <agid>:<auid>] [-f mode] [-d mode] -g <controllers>:<path> [-g ...]
DESCRIPTION
The command creates new cgroup(s) defined by the options -g.
-a <agid>:<auid>
defines the name of the user and the group which own the rest of the defined control group's files. These users are allowed to set
subsystem parameters and create subgroups. The default value is the same as has the parent cgroup.
-d, --dperm=mode
sets the permissions of a control groups directory. The permissions needs to be specified as octal numbers e.g. -d 775.
-f, --fperm=mode
sets the permissions of the control groups parameters. The permissions needs to be specified as octal numbers e.g. -f 775. The
value is not used as given because the current owner's permissions are used as an umask (so 777 will set group and others permis-
sions to the owners permissions).
-g <controllers>:<path>
defines control groups to be added. controllers is a list of controllers and path is the relative path to control groups in the
given controllers list. This option can be specified multiple times.
-h, --help
display this help and exit
-s, --tperm=mode
sets the permissions of the control group tasks file. The permissions needs to be specified as octal numbers e.g. -f 775. The
value is not used as given because the current owner's permissions are used as an umask (so 777 will set group and others permis-
sions to the owners permissions).
-t <tuid>:<tgid>
defines the name of the user and the group, which owns tasks file of the defined control group. I.e. this user and members of this
group have write access to the file. The default value is the same as has the parent cgroup.
FILES
SEE ALSO
cgrules.conf (5) cgexec (1) cgclassify (1)
Linux 2009-03-15 CGCREATE(1)