You are not logged in.
Hi,
I want to backup my data periodically on an external drive. So I created a systemd service (launched by a systemd timer) which uses rsync to do the job.
Unfortunately, rsync can't write on my usb drive because non-root users don't have write permission on auto-mounted drives.
It might be unsafe to just put a "sudo" in front of the rsync command so is there a way to configure Udisks2 so that a non-root user can write on an auto-mounte drive ?
This is my first post here, hopefully no mistakes were made haha. Thanks in advance,
Ugo
Offline
If this is ext4, then the filesystem itself will have permissions control, in which case you need to use chown.
--
saint_abroad
Offline
Welcome to the Arch Linux Forums.
How are you "auto-mounting" the drive?
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way
Offline