Useful filesharing/permission scheme starts with good group/filesystem scheme.
I have settled on grouping for functionality (not location), and am leaning toward ACL to manage permissions.
Whichever method, the relevant groups/user assignments must exist on both server and client for NFSv4.
name | gid | cyril | kodi | tvheadend |
---|---|---|---|---|
docs | 1305 | x | x | - |
media | 1306 | x | x | x |
samba | 1307 | x | - | - |
keeper | 1308 | x | - | - |
Each directory can only involve one group, so the share-ability is managed only by appending groups to users
Allows appending multiple users or groups to one directory, each with different permissions, greatly increasing flexibility.
Not as apparent/convenient/readable (locally over a network connection) as posix options, but lacks the reduction of security brought by umask edits.
Ensure that flatpak apps have access to files stored in non-standard places
Permissions
flatpak override --filesystem=/home/storage tv.kodi.Kodi
flatpak info --show-permissions tv.kodi.Kodi
flatpak override --reset tv.kodi.Kodi