Re: cannot rename with mv - SOLVED

2017-01-16 Thread rlharris
On Tue, January 17, 2017 12:39 am, Reco wrote: > EBUSY The rename fails because oldpath or newpath is a directory > that is in use by some process (perhaps as current working directory, or as > root directory, or because it was open for reading) or is in use by the > system (for example as

Re: cannot rename with mv

2017-01-16 Thread rlharris
On Mon, January 16, 2017 11:08 pm, David Christensen wrote: > It's probably a permissions issue. > > Please paste this command into a terminal (as any user) and then paste > the command and output into a reply: > > $ ls -d -l / /backup > > Have you set ACL's, SELinux, or any such thing? I am

Re: cannot rename with mv

2017-01-16 Thread Reco
Hi. On Mon, 16 Jan 2017 22:17:24 -0600 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

Re: cannot rename with mv

2017-01-16 Thread David Christensen
On 01/16/17 20:17, 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".

Re: cannot rename with mv

2017-01-16 Thread rlharris
On Mon, January 16, 2017 11:23 pm, Doug wrote: > 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 I did this; it did not work. > if this doesn't work, try ./

Re: cannot rename with mv

2017-01-16 Thread Doug
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

Re: cannot rename with mv

2017-01-16 Thread rlharris
On Mon, January 16, 2017 11:06 pm, rlhar...@oplink.net wrote: > On Mon, January 16, 2017 10:45 pm, Armando Cerna wrote: > >> You might want to be sure to double verify that fact nothing is >> accessing that directory using lsof ex: lsof | grep backup > > > lsof indicates no opened files for the

Re: cannot rename with mv

2017-01-16 Thread rlharris
On Mon, January 16, 2017 10:45 pm, Armando Cerna wrote: > You might want to be sure to double verify that fact nothing is > accessing that directory using lsof ex: lsof | grep backup lsof indicates no opened files for the directory

Re: cannot rename with mv

2017-01-16 Thread Armando Cerna
You might want to be sure to double verify that fact nothing is accessing that directory using lsof ex: lsof | grep backup -- Armando Cerna arma...@cerna.ca On Mon, Jan 16, 2017, at 08:17 PM, rlhar...@oplink.net wrote: > I wish to rename the directory "/backup" to "/backup.new". > > / is

cannot rename with mv

2017-01-16 Thread rlharris
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