We help IT Professionals succeed at work.

Check out our new AWS podcast with Certified Expert, Phil Phillips! Listen to "How to Execute a Seamless AWS Migration" on EE or on your favorite podcast platform. Listen Now

x

How do I move files from /home/user1/*.* (user directory) to any directory under root?

nabilhammoud
nabilhammoud asked
on
Medium Priority
512 Views
Last Modified: 2012-05-11
Dear,

I am using ftp to move files from my windows desktop to a linux machine. Since I am not able to log on to ftp as root, I am using my user1 account. In that case all files are moved under user1 account. Now the question comes. How to move those files from user1 account to a root directory and they should appear as root files and not user1 account.

the mv from location to location is only making a movement of the files but still files are under user1 account.



Comment
Watch Question

CERTIFIED EXPERT
Top Expert 2007
Commented:
Unlock this solution and get a sample of our free trial.
(No credit card required)
UNLOCK SOLUTION
CERTIFIED EXPERT
Top Expert 2007

Commented:
you need to be root to run chown
Top Expert 2011
Commented:
Unlock this solution and get a sample of our free trial.
(No credit card required)
UNLOCK SOLUTION

Author

Commented:
Ok....
Unlock the solution to this question.
Thanks for using Experts Exchange.

Please provide your email to receive a sample view!

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.