Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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

2 Answers 2

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.

http://www.ss64.com/bash/chmod.html - 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

w--Write

x--eXecute

r—Read

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

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.