-
Notifications
You must be signed in to change notification settings - Fork 50
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Copy of static directory tries to update perms on build/html
#234
Comments
This came up again in the |
Possibly related, I am unsure why we have If I read this right, the build process is copying the default settings into place, but this is blown away or conflicted shortly thereafter by symlinking the sites/default directory. |
@grayside |
I'm running into this issue with a user who cannot change perms on the target directory. However setting It's interesting that the copy mode flag works fine for this user in this environment for |
The current configuration for the
copy:static
task attempts to update perms on thebuild/html
directory itself to match those ofsrc/static
.Normally this isn't an issue, but when deploying on systems that have file perms setup in a manner that might not let the current user update file perms on that directory (if they are a group member for instance, but not the owner) the following warning is issued:
A current workaround is to alter
tasks/copy.js
to remove themode: true
option (introduced in #211, and a good thing in most cases).The text was updated successfully, but these errors were encountered: