Explain the read, write, and execute permissions on a UNIX
directory.
Directory permissions are different than they are on files.
On files they're pretty much like you'd expect them: read
the file, write/delete the file, and execute the file. But
for directories it's a bit less intuitive.
· Read means you can get a directory listing.
· Write says you can create or delete contents within
the directory.
· Execute means you are able to enter the directory,
i.e. cd into it.
· Sticky Bits Permission
The sticky bit had a funky purpose originally, but it's now
used to keep people from modifying or deleting the contents
of directories that the user or group owns. You can apply
it to files as well, but it's usually employed on
directories.
Changing Permissions
To change permissions you use the chmod command and simply
lay out what you want the permissions to look like on the
file directory.
Change the permissions on your web directory to 755.
# chmod 755 web_directory
Change the permissions on your grocery list to 644.
# chmod 644 grocery_list.txt
Please let me know if you have any questions.
Thanks,
Amit Shiknis
| Is This Answer Correct ? | 1 Yes | 0 No |
What does the ?route? command do?
How do you use Unix for Backend Testing ?
Explain about Inodes?
The UNIX shell is.... a).does not come with the rest of the system b).forms the interface between the user and the kernal c) does not give any scope for programming d) deos not allow calling one program from with in another e) all of the above
What is a daemon?
What is mean by Mac os? Why it is named as like that? Which purprose it is using? Please answer me. Advance thanks.
how to check GDE,EME,Java,Oracle9i Enterprise Edition Release versions Versions on unix system
win 3.1 is a
HOW DO CREATE A NFS FILE SYSTEM
What is an incremental backup?
What is the job responsibility of a System Administrator (UNIX/LINUX),briefly describe (Also point out system admin's daily job details),specify job type & job description?
2 Answers HP, ICS Integrated Computer Solutions, TCS,
how to set request time out value for name resolution on clients (hp-ux) ?