Skip to content

tar chown issues with nfs backed volume #82

@mprovenz

Description

@mprovenz

Hi there, having issues using the container with an nfs backed volume for the data storage. The photon DB downloads properly, but tar generates errors when running.

2025-06-17 14:05:21 (4.31 MB/s) - ‘/photon/photon_data/temp/photon-db.tar.bz2’ saved [21775632136/21775632136] photon-db.tar.bz2: OK [INFO] 2025-06-17 14:08:08 - MD5 verification successful [INFO] 2025-06-17 14:08:08 - Extracting archive, this may take some time... [INFO] 2025-06-17 14:08:08 - Extracting archive to /photon/photon_data/temp tar: photon_data/node_1/logs/photon_server.json: Cannot change ownership to uid 998, gid 998: Operation not permitted ....

If I am understanding correctly, I believe the issue is that tar is attempting to restore the original owner/group on the files when extracting which is getting rejected by my NFS server due to those IDs not existing. It seems as if specifying the tar options '--no-same-permissions' and '--no-same-owner' would solve this issue for me and others with a similar setup.

If I am not interpreting this correctly please let me know!

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions