problem moving directory
how can i move a directory from one user area to another user area where both the users are not root.
whenever i try this iam geting permission not denied error.i am the owner of both the login. |
if you are the owner of both users:
as user1: chmod o+w theDirectoryWhereToMoveStuff logoff as user2 mv mystuff /home/user1/theDirectoryWhereToMoveStuff chown -R user1 /home/user1/theDirectoryWhereToMoveStuff/* logoff as user1 chmod o-w theDirectoryWhereToMoveStuff That should do the job... |
Re: problem moving directory
Quote:
|
Whatever user that wants to move the stuff will need write access to both the destination and the source. 'chmod' can be used to change permissions. You can make a certain directory that lets many users write to it, and move to and from there.
|
If you have root-access to the box, you may also give both users the membership of eachothers groups. You should be able to do this with 'redhat-config-users'. Then 'chmod 770' on both home directories. This will give both users a more permanent access to eachothers home-directories, if that's what you want.
|
All times are GMT -5. The time now is 02:16 PM. |