How to set chmod, so that ONLY owner of the file can read, write and execute? (other users cannot read, write, and execute) Answer chmod 600 filename will do it; or chmod 700 if it is an executable. Another way that is less cryptic is: chmod go-rwx filename The “g” is for group The “o” is for others The “-“
Tag: chmod
Potential issues of chmod 777 on a directory?
Assuming that I have this directory structure: /tmp/mysockets/appname/ What are the security drawbacks to doing chmod 777 on /tmp/mysockets/? Could another user delete or mess with the reference to the appname/ directory? What I want to do is allow other users to add their own directories to /tmp/mysockets/ but I don’t want to allow them to rename it or delete
linux how to allow user to read/write/delete files created from root in a specific folder
I use automysqlbackup to backup my mysql database. The problem is I can only run this program using sudo automysqlbackup. This program dumps the backup into my folder /home/user/backup but theses files are owned by root and when I connect via ftp to this folder I cannot delete or read them. Is it possible that any files created by root