I want to add suid. The folder has this permission drwxrwxrwx
and I want to change it to srwxrwxrwx
. Everything I have tried and read about replaces it at the end of the groups. How can I make it so it appears in the beginning of the user group?
deploy@dimsum:/tmp$ ls -l
total 752
srwxrwxrwx 1 deploy deploy 0 Dec 16 09:18 puma-status-1450232293388-7085
srwxrwxrwx 1 deploy deploy 0 Jan 8 16:58 puma-status-1452247111766-14349
srwxrwxrwx
is what you need? That's not actually possible anyway, the first letter will always be ad
for a directory. You can getdrwsrwsrwx
if you like, but what are you actually trying to do? – terdon Mar 30 '16 at 10:11srwxrwxrwx
, please note thats
as first character means "socket" and not "suid". – dave_alcarin Mar 30 '16 at 10:18