Go to /tmp and look at the mode column: drwxrwxrwx but `ls /tmp' shows: drwxrwxrwt
Additional information: I have not tested it! But seems trivial, unless some systems don't define the S_* flags I'm using. Just add the following lines to xffm-4.0.1/libs/ls.c: diff ls.c ls-fixed.c 219a220,222 > str[3] = mode & S_ISUID ? 's' : str[3]; > str[6] = mode & S_ISGID ? 'S' : str[6]; > str[9] = mode & S_ISVTX ? 't' : str[9]; Make sure it goes after the first assignment to str[3], str[6], and str[9].
patch applied to both 4.0.1 and 4.1 CVS. Thanks for the patch, it seems to work fine.