[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: cannot rename with mv



You might want to be sure to double verify that fact nothing is
accessing that directory using lsof ex:
lsof | grep backup



-- 
  Armando Cerna
  armando@cerna.ca

On Mon, Jan 16, 2017, at 08:17 PM, rlharris@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
> 
> 


Reply to: