Public bug reported:
Test case:
mizar:[/tmp] cat chmod.sh
#!/bin/sh
umask 007
touch testfile
chmod 645 testfile
chmod -x testfile
ls -l testfile
mizar:[/tmp] ./chmod.sh
chmod: testfile: new permissions are rw-r--r-x, not rw-r--r--
-rw-r--r-x 1 mdz mdz 0 2006-10-22 08:05 testfile
and it's correct, the resulting permissions are not what they should be.
strace shows, however, that it is not even attempting to set them
correctly:
chmod("testfile", 0645) = 0
** Affects: coreutils (Ubuntu)
Importance: Undecided
Status: Unconfirmed
--
chmod -x fails, apparently due to umask
https://launchpad.net/bugs/67583
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs