I.e. I want the permissions to be 1000, so I can rsync to it without needing sudo.
I tried sudo mount -o nofail,uid=1000,gid=1000,umask=007 /dev/sda1 /mnt/sda1
but that fails with EXT4-fs (sda1): Unrecognized mount option "uid=1000" or missing value
.
According to https://askubuntu.com/a/432160/676 you cannot use uid=1000,gid=1000
... why? A later thread suggest running sudo chmod g+s -R /mnt/sda1/
. Is this really the right approach to get my drive mounted as 1000 instead of "nobody"??
sudo chown 1000:1000 /mnt/sda1/whatever
to change ownerships, add option-R
to do this recursively (chmod g+s
is really something else). – Freddy Feb 22 '21 at 04:03uid
option—than when we use a UNIX-like (e.g., ext4)—then we must add an extrachown
command: It is annoying. I suggest to the UNIX developers adding theuid
option tomount
for UNIX-like systems, by executing automatically thechown
command. :) – loved.by.Jesus Apr 08 '21 at 08:28