Sergey Poznyakoff <[email protected]> writes:

> mv: cannot move `dir' to `old': Permission denied

I am told that it’s documented under “CONFORMANCE” here:

  
https://developer.apple.com/mac/library/documentation/Darwin/Reference/ManPages/man2/rename.2.html#//apple_ref/doc/man/2/rename

  The restriction on renaming a directory whose permissions disallow
  writing is based on the fact that UFS directories contain a ".."
  entry.  If renaming a directory would move it to another parent
  directory, this entry needs to be changed.

Thanks,
Ludo’.

Reply via email to