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

Confusing warning message when attempting to modify a directory without sufficient permissions #1561

Closed
umanwizard opened this issue Aug 12, 2021 · 0 comments · Fixed by #1609

Comments

@umanwizard
Copy link

~ ❯❯❯ find bin
bin
bin/test.c
~ ❯❯❯ tar cf test.tar bin
~ ❯❯❯ tar xf test.tar -C /
bin/: Can't restore time
bin/test.c: Can't create 'bin/test.c'
tar: Error exit delayed from previous errors.

It would be better if bin/: Can't restore time said why it failed (in this case: presumably EPERM or EROFS). "Can't restore time" by itself is rather cryptic.

@umanwizard umanwizard changed the title Confusing warning message when attempting to create a directory without sufficient permissions Confusing warning message when attempting to modify a directory without sufficient permissions Aug 12, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant