Skip to content
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

Restore to original location failed because of an error with setfacl #2

Open
paescuj opened this issue Sep 2, 2013 · 1 comment
Open

Comments

@paescuj
Copy link
Contributor

paescuj commented Sep 2, 2013

Every time I tried "Restore to original location" the following error report is displayed:

Error occurred while setting ACL's:
setfacl: /home/: Cannot change permissions: Operation not permitted

(On the one hand "home" is owned by root while the setfacl-process is running as my user and on the other hand the filesystem may need to support acl.)

Nevertheless all files are successfully restored.

@dev-zero
Copy link
Member

The only question I have here: Did you select /home to be backed up or /home/youruser ?
In the latter case I would expect Sepiola not trying to restore permissions on /home at all.

Anyway: Using the function calls rather than executing tools will allow for better error handling here (for example compare the permissions in case setting them failed and ignore the error if the ACL is already as expected - which is most likely the case for /home).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants