On 10/05/11 1:01 PM, Victor Padro wrote:
chmod -R owneruser:newuser1 /home/owneruserdir
chMOD changes the access modes, not the owner:group. rather, you likely should have done...
chgrp -R newuser1 /home/owneruserdir chmod -R g+rwx /home/owneruserdir
AND you likely want to set the group sticky bit so new files inherit the group
find /home/owneruserdir -type d | xargs chmod g+s
also, you'll want to globally set
umask 0002
so files get created group write by default.