Ajuster les droits pour des DDE et plusieurs applications

What type of hardware are you using: Old laptop or computer
What YunoHost version are you running: 12.1.40.1 (stable).
How are you able to access your server: The webadmin
SSH
Direct access via physical keyboard/screen
Other(?)
Are you in a special context or did you perform specific tweaking on your YunoHost instance ?: no

Describe your issue

Hi everyone,

I’m running YunoHost with two external hard drives attached for files, media, and backups.

My files are accessed and modified through several channels:

WebDAV (Nextcloud) and mobile apps

Transmission (torrents)

MiniDLNA

Direct root CLI commands (moves, rsync, etc.)

I’m running into permission issues: whenever I move files around via the command line or rsync, it breaks the access rights for some apps (e.g., Nextcloud or MiniDLNA loses access, or Transmission can’t write).

What is the best and most secure way to manage permissions properly across all these services so they can access their respective folders without breaking each other?

Should I set up standard Linux group permissions (ACLs/chmod), or is a periodic cron job to reset ownership/permissions the recommended approach for YunoHost?

For context:

Nextcloud needs access to everything

MiniDLNA only needs read access to music/media

Transmission needs read/write access to its download folders

Thanks a lot for your help, and have a nice day :slight_smile:

Guillaume

Share relevant logs or error messages

Et si tu t’inspirais des permissions et ACL du dossier /home/yunohost.multimediaet de ses sous-dossiers ?

Je ne suis cependant pas très sûr d’avoir bien cerné ton besoin.

Merci, je vais regarder ça.

En faite j’ai toujours des problèmes de droits sur mes fichiers présents sur mon disque dur externe.
J’interviens dessus en web dav / application smartphone, transmission et dlna et du coup j’ai toujours des erreurs de droits.
À l’époque j’avais mis tout le monde dans le groupe nextcloud mais je me dis que ce serait mieux de faire proprement