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 IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Access to all web documents to a specific group.

Status
Not open for further replies.

focks

ISP
Mar 21, 1999
3
US
I work for a web development company switching to Linux from NT. I have /home/httpd setup as the root for all virtual hosts we run. The I need everyone in the group be able to read/write any file beneath this directory. Right now, I have set the UID/GID of the files using chmod -R and chown -R with permissions of 770.<br>
<br>
Can I get the filesystem or WU-FTPD to set any file created underneath this dir to nobody. or is there a better way to ensure everyone in that group has access?
 
focks:<br>
<br>
Yes, depending on the shell that users login with, you need to set umask 007. This will give a permission of rw-rw---- for each new file. The umask entry is the default setting for any newly created file. If you use csh, this entry is changed in the .cshrc file. For sh or ksh users, this entry is changed in their .profile file.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top