mirror of
git://git.proxmox.com/git/proxmox-backup.git
synced 2025-01-20 14:03:53 +03:00
cd933e9d69
Permissions are stored in the lower 9 bits (rwxrwxrwx), so we have to mask `st_mode` with 0o777. The datastore root dir is created with 755, the `.chunks` dir and its contents with 750 and the `.lock` file with 644, this changes the expected permissions accordingly. Signed-off-by: Hannes Laimer <h.laimer@proxmox.com> Fixes: 6e101ff75777 ("fix #5439: allow to reuse existing datastore") Reviewed-By: Gabriel Goller <g.goller@proxmox.com>