Help - Search - Members - Calendar
Full Version: File Permissions
Linuxhelp > Support > Technical Support
I'm having trouble moving a site and see that some directories have an s in the permissions

drwxr-sr-x 2 wellingt wellingt 1024 Jun 21 2002 order/

how do i set this s?
chmod 2755 filename

chmod u+s - set the setuid bit.
chmod g+s - set the setgid bit.
chmod u+t - set the sticky bit or directories

or numerically:

chmod 4777 - setuid and read/write/execute for everyone.
chmod 2777 - setgid and read/write/execute for everyone.
chmod 1777 - set sticky bit and read/write/passthrough on a directory.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2018 Invision Power Services, Inc.