40

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!

Israelm
  • 1,607
  • 3
  • 23
  • 28
  • 2
    This is a handy website to visualize and get the octal for what permission you want https://chmod-calculator.com/ – garlicFrancium Mar 05 '19 at 17:42
  • [This answer](https://stackoverflow.com/a/58449179/2641825) to a similar question shares a very nice illustration with circles. – Paul Rougieux Feb 27 '20 at 13:27
  • [chmod calculator](https://wtools.io/chmod-calculator) allows you to quickly create Linux permissions and understand the differences – overals Apr 21 '21 at 22:20

1 Answers1

84

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)
Tim
  • 2,563
  • 1
  • 23
  • 31
Jim Garrison
  • 85,615
  • 20
  • 155
  • 190
  • User - means the account user (admin or other added user) in the machine - what's the difference between `Group` and `World`? – Tom Taylor Dec 18 '17 at 13:31
  • 1
    "user" means the account user. Group would mean other people in a defined "group" of users (like members of a group, "lab256" say, would be able to have `r-w` access. World would mean anyone else that can log in to that particular machine. – AruniRC Jan 29 '18 at 19:15