Comment on Using Immich in combination with NAS permissions

pairwise@lemmy.dbzer0.com ⁨1⁩ ⁨day⁩ ago

You can configure samba to handle the permissions, but immich will need to connect to the user’s share using their password (no ideal)

In smb.conf for each user’s share

[user_media] path = /path/to/user/media valid users = username, immich force user = username # This makes all files appear as owned by the user force group = media create mask = 0660 directory mask = 0770

Alternatively you can use setguid with your media group:

chmod g+s /path/to/media/dirs chown -R :media /path/to/media/dirs chmod 2770 /path/to/media/dirs. (2 = SetGID, 770 = rwx for user and group)

source
Sort:hotnewtop