| UNIX | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Command Description
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
$ ls -ld test_directory/drwx------ $ chmod o+x test_directory/
$ ls -ld test_directory/drwx-----x Now you want to give read access on the file. $ cd test_directory/
$ ls -l test_file -rw------- $ chmod o+r test_file
$ ls -l test_file -rw----r-- So, for a directory it's: chmod o+x directory and for a file it's: chmod o+r file
|