Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

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'm trying to setup a chmod using this command

sudo chmod +a "www-data allow delete,write,append,file_inherit,directory_inherit" app/cache app/logs

apparently this does not work on debian.

Any clue on how to achieve the same thing ?

share|improve this question
What are you trying to accomplish? – Mircea Vutcovici Jun 7 '11 at 20:03
Where have you ever seen that command work? I've been around the block a few times, and have never seen such a thing. – EEAA Jun 7 '11 at 20:03
I'm trying to setup the cache of symfony2 based on the tutorial… and I opened a bug here – Paté Jun 7 '11 at 20:05
@ErikA: – Massimo Jun 7 '11 at 20:11
up vote 1 down vote accepted

The Symfony documentation at Installing and Configuring Symfony explains that if chmd +a is not supported, you can install the acl package and use the setfacl command instead of chmod +a.

Once you install the acl package, follow the directions at FilePermissions#ACLs to enable acl on your partition. This will allow you to use setfacl,

share|improve this answer

The command seems to be correct... if you are using a version of CHMOD which supports ACLs and a filesystem which does the same.

share|improve this answer
Is there a way to achieve the same thing witout ACL ? – Paté Jun 7 '11 at 20:17
Uhm... according to the article you linked, I'd say "yes, it's the example shown exactly below the one with ACLs" :-D – Massimo Jun 7 '11 at 20:21
Well I was thinking command line wise – Paté Jun 7 '11 at 20:26
I don't know what the exact requirements are for this software to works, and looks like you don't know it so much in depth as well; since the tutorial you are following provides two ways of configuring it, one with ACLs and one without them for those systems which don't support them, I'd just stick to the tutorial. – Massimo Jun 7 '11 at 20:31
And if you really want to use ACLs, you should make sure that the filesystem is mounted with ACL support as well – the-wabbit Jun 7 '11 at 21:49

Your Answer


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.