[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-cpio] 2.11 fails to build on Darwin
From: |
Ludovic Courtès |
Subject: |
Re: [Bug-cpio] 2.11 fails to build on Darwin |
Date: |
Thu, 22 Jul 2010 16:26:00 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux) |
Sergey Poznyakoff <address@hidden> 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’.