1
0
mirror of git://git.suckless.org/sbase synced 2025-03-19 17:46:01 +00:00

libutil/mode: Fix sticky bit parsing

This commit is contained in:
Tavian Barnes 2025-02-22 13:14:48 +01:00 committed by Roberto E. Vargas Caballero
parent 5567976329
commit 9d9afe00fb

View File

@ -40,10 +40,10 @@ next:
who |= S_IRWXG|S_ISGID;
continue;
case 'o':
who |= S_IRWXO;
who |= S_IRWXO|S_ISVTX;
continue;
case 'a':
who |= S_IRWXU|S_ISUID|S_IRWXG|S_ISGID|S_IRWXO;
who |= S_IRWXU|S_ISUID|S_IRWXG|S_ISGID|S_IRWXO|S_ISVTX;
continue;
}
break;