package: hdup severity: important tags: security
The ownership/permission information of directories/subdirectories are getting lost when restoring from backup.
Unlike individual files within directories, the directories themselves are not getting backed up. This results in files having proper ownership/permissions but the directories holding those restored files end up having root:root ownership (assuming root is doing the restoring).
To reproduce:
1. create /foo/bar, /foo/bar/subdir, /foo/bar/subdir/file.txt 2. chown trueowner /foo/bar/subdir 3. chown trueowner /foo/bar/subdir/file.txt 4. backup /foo/bar/ using hdup 2.0.7 5. rm -rf /foo/bar 6. restore from backup using hdup 2.0.7 7. ERROR: /foo/bar/subdir is not owned by trueowner (but /foo/bar/subdir/file.txt is correctly owned by trueuser)
-- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]