From 087173c887686611d039e10be0e3698843c26930 Mon Sep 17 00:00:00 2001 From: Martin Pool Date: Tue, 27 Nov 2001 07:05:33 +0000 Subject: [PATCH] When producing a ls-style permissions string, also handle sticky/setuid/setgid bits the same way as GNU ls. --- lib/permstring.c | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/lib/permstring.c b/lib/permstring.c index 4275dfea..525a9acb 100644 --- a/lib/permstring.c +++ b/lib/permstring.c @@ -37,6 +37,19 @@ void permstring(char *perms, for (i=0;i<9;i++) { if (mode & (1<