setting file ownership and mode based on current directory
From: Eric Smith (es_at_fruitcom.com)
Date: 07/27/03
- Next message: Sickboy95: "Multiple email deletion in UNIX"
- Previous message: Sean Burke: "Re: Compiling linux source code for Solaris."
- Next in thread: TheCageyBee: "Re:setting file ownership and mode based on current directory"
- Maybe reply: TheCageyBee: "Re:setting file ownership and mode based on current directory"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 27 Jul 2003 12:50:38 GMT
What is the best way to set a specific file mode and ownerships
based on where that file is being created in the directory
structure.
For example, suppose we have the hierarchy:
/var/www/test_site
The we would want to have all files created in this dir to
have an ownership of:
web-dev.<some_user>
and say 664 for files
and say 775 for dirs
Thanks
Eric Smith
- Next message: Sickboy95: "Multiple email deletion in UNIX"
- Previous message: Sean Burke: "Re: Compiling linux source code for Solaris."
- Next in thread: TheCageyBee: "Re:setting file ownership and mode based on current directory"
- Maybe reply: TheCageyBee: "Re:setting file ownership and mode based on current directory"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]