The DNS Guys |
Anycast DNS 25 Nameservers Worldwide |
DNS Failover Host Monitoring & Auto Rollback |
Outbound SMTP Smart Relay, SASL |
| Subversion Hosting OpenID Servers & XMPP |
DNSSEC TSIG & Secondary DNS |
easyRoute53 Amazon Route53 GUI |
![]() ![]() |
Jun 9 2005, 07:37 PM
Post
#1
|
|
|
Whats this Lie-nix Thing? ![]() Group: Members Posts: 1 Joined: 9-June 05 Member No.: 5,104 |
How do you set a user to always have files set to 755 when they create them.
|
|
|
|
Aug 13 2006, 05:58 AM
Post
#2
|
|
|
Whats this Lie-nix Thing? ![]() Group: Members Posts: 3 Joined: 13-August 06 Member No.: 6,957 |
How do you set a user to always have files set to 755 when they create them. Hi Doug! Unfortunately this is not possible by default in linux...If u observe,the default permission for a file woud be 644 and for a dir it wud be 755.This also depends on the umask value.which is by default set to 0022.U can check this with the command umask from the command line. Maybe you can try writing a script which will act as a wrapper for the commands which are used to create files(ex:touch,cat>,vi).When,one of these are used to create a file,the script will immediately invoke the chmod <perm> and change the perm of the file..so it will sort of transparent... Y dont u explore the possibility of achieving this thru ACL??Im not sure..u can try.... let me know incase of any progress in ur trials.. |
|
|
|
![]() ![]() |
|
Lo-Fi Version | Time is now: 18th May 2013 - 04:04 AM |