Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Differences between CHMOD 755 vs 750 permissions set

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!

like image 931
Israelm Avatar asked Oct 23 '13 16:10

Israelm


People also ask

What is the difference between 755 and 777 permissions?

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.

What does chmod 750 do?

Therefore, 750 means the current user can read, write, and execute, the group cannot write, and others cannot read, write, or execute.

What does chmod 755 do?

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.

What permissions does 755 allow for?

755 - owner can read/write/execute, group/others can read/execute. 644 - owner can read/write, group/others can read only.


1 Answers

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) 
like image 120
Jim Garrison Avatar answered Sep 24 '22 00:09

Jim Garrison