I'm trying to mount a partition with -o option, however I get this error
root@blackbox:~# mount /dev/sda1 /media/ownclouddrive -o uid=33,gid=33
mount: wrong fs type, bad option, bad superblock on /dev/sda1,
missing codepage or helper program, or other error
In some cases useful info is found in syslog - try
dmesg | tail or so.
[ 365.432693] EXT4-fs (sda1): Unrecognized mount option "uid=33" or missing value
If I checl my /etc/passwd I can see the user there
www-data:x:33:33:www-data:/var/www:/usr/sbin/nologin
Any idea why?
Thanks
uid
andgid
are options for filesystems that don’t support permissions, e. g. vfat. They’d make little sense for ext4.bindfs
uid=33,gid=33
options to themount
command. If that's not acceptable please edit your question to explain what you're trying to achieve.33:33
permissions on that filesystem, then justchown -R
its contents once after mounting.