Page 1 of 1

fstab mount permissions

Posted: 2021-09-21 23:22
by ntn888
i mounted a lvm volume with this fstab entry:

Code: Select all

/dev/vgmain/lvmain      /home/ajit/main ext4    defaults 0 1
but user cannot write to it??

Re: fstab mount permissions

Posted: 2021-09-21 23:57
by 4D696B65

Code: Select all

man mount
defaults
Use default options: rw, suid, dev, exec, auto, nouser, async, and relatime
put user after defaults and it will override nouser

Re: fstab mount permissions

Posted: 2021-09-22 01:51
by ntn888
ok thanks! i ended up chown the drive, it worked