1

My title probably sounds more cryptic than it needs to.

I'm using ubuntu 12.04 and want to be able to change permissions on files and folders recursively to 755 but only where the permissions are currently set to 777.

Does anybody know how to do this through the terminal?

1 Answer 1

2

Try doing this :

cd /the/dir
find . -perm 777 -exec chmod 755 {} +
1
  • Quite easy, yes, that's like you ask me the day of the week I'm born =) Nov 30, 2012 at 18:40

You must log in to answer this question.

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