Make chmod and ls recognize sticky bit (S_ISVTX).

This commit is contained in:
Markus Wichmann
2013-10-20 10:53:43 +02:00
committed by sin
parent 35053c1d48
commit a55cc8c95e
2 changed files with 3 additions and 2 deletions

View File

@@ -31,9 +31,9 @@ main(int argc, char *argv[])
case 'R':
rflag = true;
break;
case 'r': case 'w': case 'x': case 's':
case 'r': case 'w': case 'x': case 's': case 't':
/*
* -[rwxs] are valid modes so do not interpret
* -[rwxst] are valid modes so do not interpret
* them as options - in any case we are done if
* we hit this case
*/