-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Is umask o+w set where the test directory 'sticky' is being created?

I compiled coreutils and ran its tests. ls-misc passed.

The colour your `ls` returns for the directory 'sticky' in the test
'ls-misc', 30;42, corresponds to other-writable sticky directories.
The colour that's expected, 37;44, corresponds to sticky directories.

- From src/ls.c:
if ((mode & S_ISVTX) && (mode & S_IWOTH))
  type = C_STICKY_OTHER_WRITABLE;
else if ((mode & S_IWOTH) != 0)
  type = C_OTHER_WRITABLE;
else if ((mode & S_ISVTX) != 0)
  type = C_STICKY;

So what may be causing the behaviour you're witnessing, is the
directory 'sticky' being o+w.

With umask set to o+w, all tests but ls-misc pass. (ls-misc fails with
the same output as you posted)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkqhnm8ACgkQwJW94wGeiun8dgCeLhCmit869Ez0+NgLAMoP+N6k
e2IAn0z52xnD9lc+BSwf1sHcIrohU9Il
=Xn7j
-----END PGP SIGNATURE-----



-- 
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to