Package: fakeroot
Version: 1.9.5
User: [EMAIL PROTECTED]
Usertags: kfreebsd

Hello,

there is a subtle error on GNU/kFreeBSD.
On GNU/kFreeBSD contrary to linux the non-root user is not allowed
to do "chmod 1755" on regular files. The fakeroot does not cope with it.
The modes 2755 or 4755 and directories are fine.

Given the script:

  rm a b
  touch a
  chmod 1755 a
  ls -l
  cp -a a b
  ls -l


Output of the above script executed under fakeroot:

  chmod: changing permissions of `a': Inappropriate file type or format
  total 0
  -rwxr-xr-t 1 root root 0 Aug  1 10:12 a
  cp: preserving permissions for `b': Inappropriate file type or format
  total 0
  -rwxr-xr-t 1 root root 0 Aug  1 10:12 a
  -rwxr-xr-t 1 root root 0 Aug  1 10:12 b

The output is surprising.

It should either

  - really fail to change it, i.e. the permision in "ls -l" should be 755
    and only the first error
  - simulate it, i.e. there should be no error shown

The current mixed behaviour breaks building of emacs21/emacs22
for GNU/kFreeBSD.

Please, can you estimate whether it can be solved on fakeroot side ?

Petr



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to