[Box Backup-dev] File permissions in bbackupd test

James O'Gorman boxbackup-dev at boxbackup.org
Mon Nov 24 21:21:23 GMT 2008


The automated build system has highlighted an interesting problem when 
running the bbackupd test suite as a non-root user.

1) The directory debug/test/bbackupd/testfiles/restore1/x1/ is created 
with 0555 permissions.
2) The directory debug/test/bbackupd/testfiles/restore1/x1/cxfxcv/ is 
created with 0666 permissions.

The above means that until the directory has write/execute permissions 
applied to these directories, an ordinary user is not allowed to remove 
them, even if they own it - only root can remove such oddly-permissioned 
directories.

Are these permissions applied as part of a test? Can the permissions be 
changed before the end of the test so that the test ends cleanly?

Thanks,

James



More information about the Boxbackup-dev mailing list