I’m having some doubts about how to install and allow Linux to correctly read/write to a NTFS formatted harddrive used as backup of various machines (windows included, that’s how I need NTFS).
I am trying to understand file/dir permissions in Linux.
A user can list the files in a directory using
I accidentally executed the following command on the etc directory:
When I run chmod +w filename
it doesn’t give write permission to other
, it just gives write permission to user
and group
.
After I apply chmod -R
to a directory, permissions are changed for everything within (files and directories). How can I add execute/search (x
) permissions to directories without modifying the files?
Sometimes I see chmod
commands that use four octal digits instead of three — what is the optional first digit for? For example, chmod 777
is equivalent to chmod a+rwx
; what’s the same command for chmod 2777
?
In FreeBSD and also in Linux, how can I get the numerical chmod value of a file? For example, 644 instead of -rw-r–r–? I need…
I’m trying to make WordPress work. I currently have this error message:
I was recently asked by a colleague to use chmod
with letters instead of numbers. Apart from the obvious readability advantage is there any particular reason to use letters over numbers ?