Remove the read, write, and execute permission for all users except the file's owner chmod ogrwx filename The same thing can be also accomplished by using the following form chmod og=Chmod stands for change mode, which changes the file or directory mode bits To put it simply, use chmod command to change the file or directory permissions Following is a sample of ls l command outputChmod never changes the permissions of symbolic links;
Bash Chmod U X Problem In Case Statement In Shell Script Ask Ubuntu