Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

security umask

Status
Not open for further replies.

rondebbs

MIS
Dec 28, 2005
109
US
Hello,I've opened a case with IBM but so far they have not been able to provide a sollution.

I'm running aix 5.2 maint level 3. In etc/security/user the umask is set to 002 for default user. I created a directory /sasmart in my /users file system. After cd to /users, I used chmod -R 775 sasmart and verified that permissions were set correctly to rwxrwxr_x on the sasmart directory. But whenever a new file is created in that directory it has the wrong permissions of rw_rw_r. Even if I manually type in umask 002 it still enda up with 664 rather than 775 for any new files. I can change all files to 775 with chmod but the next time files are created they come with 664. The problem occurs if I am logged in as root or any other user.

I'm stumped as to what is subtracting 1 from each digit of my 775.

Thanks - Brad
 
AFAIK:

files get created with permissions 666 minus umask
dirs get created with permissions 777 minus umask


HTH,

p5wizard
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top