Link to home
Start Free TrialLog in
Avatar of nabilhammoud
nabilhammoud

asked on

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

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.



ASKER CERTIFIED SOLUTION
Avatar of omarfarid
omarfarid
Flag of United Arab Emirates image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
you need to be root to run chown
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of nabilhammoud
nabilhammoud

ASKER

Ok....