I'm working on Ubuntu 14.04 and I make chmod +x to a file, but, when I reboot the computer, the permissions change. How can I make to put chmod permanent?
The chmod 775 is an essential command that assigns read, write, and execute permission to a specific user, group, or others.
Permissions of 644 mean that the owner of the file has read and write access, while the group members and other users on the system only have read access. For executable files, the equivalent settings would be 700 and 755 which correspond to 600 and 644 except with execution permission.
755 means read and execute access for everyone and also write access for the owner of the file. When you perform chmod 755 filename command you allow everyone to read and execute the file, the owner is allowed to write to the file as well.
The command chmod -R 777 / makes every single file on the system under / (root) have rwxrwxrwx permissions. This is equivalent to allowing ALL users read/write/execute permissions. If other directories such as home, media, etc are under root then those will be affected as well.
You can't make it permanent, but you can automate the chmod command at boot-time by putting it in /etc/rc.local.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With