On Sunday 15 June 2003 08:48 pm, Steven Broos wrote: > Resend (june 4th) > > What I basically need is: > - a shared directory for users in a group > - Access to own files > - No access to other files > - Access to all files for user apache > I now I can use their homedirs in apache, but I would like to do this in > one directory if possible. > > Anyone who can help me please ? > How about this? Does anybiody else see how this would not work for you?
Directory owned by apache with group ownership consituting a group made up of your users with permissions 775. Have all files owned by user apache so that apache has full access. Then have the group ownership be the user group since each user has his/her own group, in my case the greg group, thus giving me full access to the files you want me to edit, and then set permission to 664 so it would look something like this: www-dir user=apache group=www-users rwxrwxr-x user1file user=apache group=user1 rw-rw-r-- user2file user=apache group=user2 rw-rw-r-- apache has fullread/write access to both files, as long as user1 is not in the apache group, s/he only has read/write access to their own files, same for user2. All users have the ability to view the files. I assume this is okay because they could browse to them on the intranet. -- Greg
Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
