I have some files with 755 and I need to change them to 750, but I am not sure if this can affect some process.
I am changing JARs, XMLs, LOGs, and properties files.
Can someone explain to me the difference between these two permission sets?
Thanks!
A 777 permission on the directory means that everyone has access to read/write/execute (execute on a directory means that you can do an ls of the directory). 755 means read and execute access for everyone and also write access for the owner of the file.
Therefore, 750 means the current user can read, write, and execute, the group cannot write, and others cannot read, write, or execute.
chmod is a command of Linux (Unix-like systems) that can be used to modify the file permissions. It changes group, user, and others to execute, write, and read permission. This chmod 755 Linux command is an essential use case to chmod.
755 - owner can read/write/execute, group/others can read/execute. 644 - owner can read/write, group/others can read only.
0755
= User:rwx
Group:r-x
World:r-x
0750
= User:rwx
Group:r-x
World:---
(i.e. World: no access)
r = read w = write x = execute (traverse for directories)
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