setfacl error while deploy:writable
: Only directories can have default ACLs
#3313
Replies: 4 comments 11 replies
-
I added clarification – it's not about version of deployer, but about when the deploy happens. |
Beta Was this translation helpful? Give feedback.
-
Looks like this is not a Deployer issue, but your specific issue with your setup. Converting to a discussion. |
Beta Was this translation helpful? Give feedback.
-
Hi! Anyone have idea of why this is happening and how to workaround? Even if it's about my configuration, then can you help and give me an idea what should i do? I was using 5.x-6.x versions for many years, now after upgrade to 7.x have same problem problem when deploying for the first time on a machine. Note that i have file deployer.php: set('shared_dirs', [
'public/icons',
'public/images',
]);
set('writable_dirs', [
'public/icons',
'public/images',
]); error:
|
Beta Was this translation helpful? Give feedback.
-
I tracked this down. The error-message "Only directories can have default ACLs" is printed with acl < 2.2.53 like in CentOS 7 (EOL June 2024) or Ubuntu 18 (EOL April 2023) and happens when following conditions are met:
Workaround: If a trailing slash is added to those directories at Regardless of this issue, there is may be a permission-problem when writing into a shared-dir, because the symlink is created with
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
When I try to deploy with 7.0.2, it fails with
err setfacl: log/.gitignore: Only directories can have default ACLs
.If I downgrade to 7.0.1, it works.It appeared that it's not about version, but about if I deploy for the first time when no dirs exist yet, or when the directory structure already exists. In first case, it fails, in the second it deploys without problem.I use setfacl permissions on remote machine.
Beta Was this translation helpful? Give feedback.
All reactions