On 01/16/2017 11:17 PM, rlhar...@oplink.net wrote:
I wish to rename the directory "/backup" to "/backup.new".
/ is on a 452G partition with 54% in use.
/ is owned by root.
/backup is owned by normal user "rh".
The command "$ mv /backup/ /newbackup/" fails with " cannot move ...
Permission denied".
The command "# mv /backup/ /newbackup/" fails with "cannot move ... Device
or resource busy".
No application and no terminal window is looking at / or at /backup .
What am I overlooking?
RH
if /backup is actually in the root directory, you need to su (or sudo)
to root and then rename the file:
[name@pcname]$ su
Password:
[root@pcname name]# mv /backup /newbackup
if this doesn't work, try ./ instead of / in each case.
good luck
--
Blessed are the peacemakers...for they shall be shot at from both
sides.--A.M,Greeley