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
srwxrwxrwxis what you need? That's not actually possible anyway, the first letter will always be adfor a directory. You can getdrwsrwsrwxif you like, but what are you actually trying to do? – terdon Mar 30 '16 at 10:11srwxrwxrwx, please note thatsas first character means "socket" and not "suid". – dave_alcarin Mar 30 '16 at 10:18