Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I was asked this question but didn't know what it does. I know chmod and its usages but what does this exactly do ?

share|improve this question
In addition to the answers below, that command may complain that it can't find file g+x. You need to separate the mode strings with a comma instead of a space. – glenn jackman Oct 31 '13 at 13:30
up vote 2 down vote accepted

Change permissions for file alpha, allowing write access for all users and execute access for other users in the file's group. That's my interpretation of it anyway, which seems like an odd combination of permissions to set. - Man pages are our best friends.

share|improve this answer

In general chmod refers to change mode you can use alpha method to change folder permissions

Alpha method: Using alphabets (w, x, r, u, o, g, a, -, +, =, s, t) to change permissions for a file/folder




u -- User

g -- Group

o – Others

the command allow you to write access for all users and execute access for other users in file's group

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .