![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !! |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| How to change the permissions of ksh? | ponnuvel | UNIX for Advanced & Expert Users | 3 | 04-15-2008 12:17 AM |
| Change permissions of /var/log/messages | anindra | UNIX for Dummies Questions & Answers | 3 | 11-05-2007 09:53 AM |
| how to change permissions only to files, not directories....? | narrok | UNIX for Dummies Questions & Answers | 1 | 06-04-2007 03:56 PM |
| need command to change permissions | calredd | UNIX for Dummies Questions & Answers | 1 | 04-28-2007 09:53 AM |
| Setting Default Permissions for Files | robbieg | UNIX for Dummies Questions & Answers | 1 | 11-24-2004 02:26 PM |
|
|
Submit Tools | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
How to change default permissions on new files
Hello, I would like to know if there was any way I can change the default permissions for new files being generated within a certain directory.
Would I need to have the same permissions set at the directory level as for the files being generated in it. Regards, Rdgblues |
| Forum Sponsor | ||
|
|
|
#2
|
||||
|
||||
|
I don't think that you can do propagation of directory permissions to file permissions... you can manage your file permissions by using umask. You can search on the site for several examples of umask.
You can make the group ownership of files created in a directory match the group owner of the directory by having the setgid bit set on the directory. |
||||
| Google The UNIX and Linux Forums |