
Understanding UNIX permissions and file types
Feb 10, 2015 · Likewise, +X adds the execute permission only if one of the execute permissions is already set or the file is a directory; this can be handy for restoring permissions globally …
What does the 's' attribute in file permissions mean?
Mar 26, 2016 · You can set the suid bit using chmod, eg chmod 4755 which will give a file give the normal permissions 755 does (rwxr-xr-x) and add the suid bit to give rwsr-xr-x You can clear …
File Permissions mode ending in @ or - Unix & Linux Stack Exchange
I was changing file permissions and I noticed that some of the permissions modes ended in @ as in -rw-r--r--@, or a + as in drwxr-x---+. I've looked at the man pages for chmod and chown, and …
Preserving permissions while zipping - Unix & Linux Stack Exchange
Oct 1, 2016 · How can I preserve permissions while compressing a folder using zip? I know how to preserve symlinks using --symlinks is there a similar option for permissions?
Getting new files to inherit group permissions on Linux
I am having a problem with permissions on a Linux server. I am used to BSD. When a directory is owned by a group the user who owns it isn't in such as www-data, files created in it will be …
chmod - How to get permission number by string : -rw-r--r
May 31, 2012 · What do you mean by “set the same”? Do you already have a file with -rw-r--r-- permission and want to set another file with the same permissions? Then see if your chmod …
What's the difference between "s" and "S" in ls -la?
Jan 4, 2012 · On most unix variants, look up the ls man page (man ls or online). On Linux, look up the Info documentation (info ls) or online. The letter s denotes that the setuid (or setgid, …
What are the different ways to set file permissions, etc., on …
On Unix, a long time back, I learned about chmod: the traditional way to set permissions on Unix (and to allow programs to gain privileges, using setuid and setgid). I have recently discovered …
What is nobody user and group? - Unix & Linux Stack Exchange
Feb 24, 2015 · The nobody user is a pseudo user in many Unixes and Linux distributions. According to the Linux Standard Base, the nobody user and its group are an optional …
permissions - How to check if a user can access a given file? - Unix ...
109 *nix user permissions are really simple, but things can get messy when you have to take in account all the parent directory access before reaching a given file. How can I check if the …