cp -Rp broken in RELENG_4? 'Operation not permitted' while
copying directory permissions
Ruslan Ermilov
ru at freebsd.org
Thu Oct 7 11:49:48 PDT 2004
On Thu, Oct 07, 2004 at 12:38:42PM -0400, Vlad wrote:
> FreeBSD 4.10-STABLE #3: Thu Sep 30
>
> $ id
> uid=65534(nobody) gid=65534(nobody) groups=65534(nobody)
>
> $ mkdir test
>
> $ chmod 770 test
>
> $ cp -Rp test test2
> cp: chmod: test2: Operation not permitted
>
> $ ls -al
> drwxrwx--- 2 nobody nobody 512 Oct 7 11:29 test
> drwxr-x--- 2 nobody nobody 512 Oct 7 11:29 test2
>
> $ chmod 770 test2
>
> $ ls -al
> drwxrwx--- 2 nobody nobody 512 Oct 7 11:29 test
> drwxrwx--- 2 nobody nobody 512 Oct 7 11:29 test2
>
> cp taken from 4.9 works just fine. Am I'm missing something?
>
Give me a few hours to fix it, it's probably my fault.
Cheers,
--
Ruslan Ermilov
ru at FreeBSD.org
FreeBSD committer
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20041007/ad0a43c9/attachment.bin
More information about the freebsd-stable
mailing list