linux permission folder not accessible by other user code example
Example: linux permission folder not accessible by other user
# Give the owner rx permissions, but not w
chmod u=rx file
# Deny rwx permission for group and others
chmod go-rwx file
# Give write permission to the group
chmod g+w file
# Give execute permission to everybody
chmod a+x file1 file2
# OK to combine like this with a comma
chmod g+rx,o+x file