From: Martin Pool Date: Tue, 27 Nov 2001 07:05:33 +0000 (+0000) Subject: When producing a ls-style permissions string, also handle X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/commitdiff_plain/087173c887686611d039e10be0e3698843c26930 When producing a ls-style permissions string, also handle sticky/setuid/setgid bits the same way as GNU ls. --- 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<