The root directory of my newly mounted drive appears to lack basic permissions, I can’t even move files there using Nautilus for instance. This was caused by accidentally transferring all data from a protected Clonezilla directory there.
How to give basic “read & write” permissions exclusively to this
/mnt/primary/ path, without going recursively into the subfolders?
Give permissions to what users?
If just to root, then (running as root)
chmod 744 /mnt/primary
How have you mounted the drive?
In the Gnome ‘disks’ app.
# Or provide write permissions for everyone
sudo chmod a+w /mnt
Running sudo chmod a+w
/mnt/primary appears to have resolved the issue.
To myself, the user account.
I don’t understand the Unix permissions yet and have tried to avoid giving high-level access to any group.
I have often needed to do that, and a simple
sudo chown user:user primary
works to give the user access to the root of that mounted device. What permissions you have beyond that depend on the device itself.
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.