move stuff owned by one user by another user
Hi, my fingers are starting to hurt because of extraneous command lining. I'll probably be asking many similar questions over the next few days...
When I try to move files in the home dir of another user (non-root) to a directory for my current user it gives me permission denied. To solve this I've been su - "ing" to become root and do the work. Thanks for any replies. |
replies about what? that's correct... nothing wrong there at all. i could suggest sudo, but that will probably leave you with more keypresses, not less.
|
Makes sense; you will really love it if somebody else moves your files :)
Owner has to set write permission (for users in the same grooup and/or for others). |
Don't see a question but the only thing that I can think of is . . . try moving folders instead of individual files, if that's what you need.
|
You can try to "pipe tar" the files over...as root:
Code:
# cd /some/directory |
All times are GMT -5. The time now is 09:34 PM. |