On Fri, 8 Oct 2004 11:16:41 -0700 "bruce" <bedouglas@xxxxxxxxxxxxx> wrote: > hi.. > > i have a file in a dir... > > the file was created as root. > > the permissions/owner/group have been modified to user 'foo' by root.. > chown foo dog.txt > chgrp foo dog.txt > chmod 777 dog.txt > > however, when user 'your_foo' tries to delete/cp the file, the sys gives a > permission error. > > user 'your_foo' is a secondary member of the 'foo' group. > > basically, i'm trying to figure out a way to allow members/users of two > different groups to be able to delete/modify files in a given dir tree... Copying ( delete a old one and add the new one in directory) and deleting a file need a write permission of the parent directory, For example: ~/DIRA/dog.txt If you want to do: cp ~/DIRA/dog.txt ~/DIRB You must have the write permision of both DIRA and DIRB As well the deleting. > > thanks > > -bruce -- æé <yinming@xxxxxxxxxx> -- redhat-list mailing list unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe https://www.redhat.com/mailman/listinfo/redhat-list