Vlad
2004-Oct-07 09:40 UTC
cp -Rp broken in RELENG_4? 'Operation not permitted' while copying directory permissions
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? -- Vlad
Ruslan Ermilov
2004-Oct-07 11:49 UTC
cp -Rp broken in RELENG_4? 'Operation not permitted' while copying directory permissions
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@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