Ticket #1 (closed defect: fixed)
When restoring a dir, if that dir does not have write permissions, restoration of files fails
| Reported by: | ben | Owned by: | chris |
|---|---|---|---|
| Priority: | major | Milestone: | 0.11 |
| Component: | bbackupquery | Version: | 0.09 |
| Keywords: | Cc: |
Description (last modified by ben) (diff)
Restoration will set permissions on a dir, then be surprised if these stop it from writing a file in it later. For example, here's some strace output:
chmod("some/directory", 0555) = 0
...
open("some/directory/file.ext", O_WRONLY|O_CREAT|O_EXCL|O_LARGEFILE, 0666) = -1 EACCES (Permission denied)
oops.
Of course, this only affects non-root users.
Change History
Note: See
TracTickets for help on using
tickets.
