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

mv command not working if (not owner but in same group)

Status
Not open for further replies.

pdtak

Technical User
Feb 25, 2008
63
US
I'm unable to move a file that I do not own but I'm part of the group the file is assigned to.

Here's the scenario:

userA owns file1
userA belongs to groupX
userB belongs to groupX
file1 has rights of 666
file1 is located in dir1
dir1 and dir2 are owned by userB
dir1 and dir2 are group owned by groupX
dir1 has rights of rwsrwsrwt
dir2 has rights of rwsrwsrwt

userA writes a file to dir1
userB needs to be able to move file1 from dir1 to dir2

I think we have rights issue, but what rights do we need to set or change so that userB can move the file from dir1 to dir2?

Any ideas?

Thanks in advance.
 
Remove the sticky bits from dir1

Hope This Helps, PH.
FAQ219-2884
FAQ181-2886
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top