On 08/31/2010 12:07 PM, AJ ONeal wrote:
> I want to create a shared folder in /home/shared that multiple users
> have write access to using ACLs.
>
> Occasionally I'll copy old directories over and I'll want to run the
> same command recursively on them since inheritance does work for copied
> folders.
>
> I've tried looking at some howtos online, but the commands I've tried
> don't seem to be working for me.
>
>
> Can someone give me an example of how to give 'john' and 'james' rw
> permissions on all files and rwx permissions on all folders in /home/shared?
>
>
> AJ ONeal
I would just create a group and do this with group permissions. Any
reason why that would not work?
# groupadd shared_folks
# usermod -G shared_folks john
# usermod -G shared_folks james
# chgrp -R shared_folks /home/shared
# find /home/shared -type d -exec chmod 775 {} \;
# find /home/shared -type f -exec chmod 664 {} \;
--Topher
--------------------
BYU Unix Users Group
http://uug.byu.edu/
The opinions expressed in this message are the responsibility of their
author. They are not endorsed by BYU, the BYU CS Department or BYU-UUG.
___________________________________________________________________
List Info (unsubscribe here): http://uug.byu.edu/mailman/listinfo/uug-list