9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I want all new files and directories created, or copy file give this permisson "rwxrwx---", with chmod i do this with octal value "770". If i execute "umask 770" the permissons is not the same with new or copy file. How can i configure this command? I do not understand the "man... (1 Reply)
Discussion started by: Xedrox
How do I change the umask for a NIS user?
steve (1 Reply)
Discussion started by: steve.lavoie
3. Shell Programming and Scripting
I have an expect script that interrogates several hundred unix servers for both access and directories therein using "ssh user@host ls -l /path". The combination of host/path are unique but the host may be interrogated multiple times if there are multiple paths to test.
The expect script is run... (2 Replies)
Discussion started by: twk
4. UNIX for Advanced & Expert Users
Please, let me know how the umask is working? As per my understanding is aprt from subtracting from 666/777, logical gate operation is performing.
Ex: If I set uname 011, it gave the permission like 666 for file. Request you to explain which gate's operation performed.
$uname 011... (4 Replies)
Discussion started by: Nagapandi
Due to urgent requirement to resolve some permission issues , I wish
to set solaris 8 server so that any file written is on 777 .
I guess need to set umask , how to set it ?? (7 Replies)
Discussion started by: falcon16
6. UNIX for Dummies Questions & Answers
I have a doubt on the umask values.
Why is the UMASK value is different from file and directory?
Suppose if the umask value is 0022. The file permissions for a newly created file is 644 and the file permissions for a newly created directory is 755.
My doubt is why can't it be the... (1 Reply)
Discussion started by: praveen_b744
hai guys ,
i am having problem in getting the knowledge about umask.
actually when i am putting command as umask some value is coming like 0022 by defalut.
we can change its value also.
but the main thing is thye file permisiion actually depends upon umask.how is it depends upon umask i want to... (6 Replies)
Discussion started by: suvendu4urs
8. UNIX for Dummies Questions & Answers
the umask on solaris must return 022 or 0022
wich one is correct and why?
pa (2 Replies)
Discussion started by: rsh
9. UNIX for Dummies Questions & Answers
in this unix book that i have, it says:
filedes = open(pathname, O_CREAT, mode);
filedes = open(pathname, O_CREAT, (~mask)&mode); /* ~ is the negation symbol */
like it's doing some type of masking.
fd =... (1 Reply)
Discussion started by: bb00y