I need to read and write to an usb ntfs pendrive through www-data group (that has uid 33) so I have added
UUID=34A0456D004536A0 /home/mypath ntfs-3g rw,defaults,uid=1000,gid=33,dmode=770,fmode=660,dmask=007,fmask=117,auto 0 0 the disk is mounted but with generic permissions applied to all USB drivers ignoring everything I placed in fstab but mount path that is correct.
I have also used sudo ntfsusermap to generate a mapping file to place in .NTFS-3G folder in the drive.
What could be the reason? How can solve this problem?
mount.ntfs(8)manual. Can you add to your question a link to an online resource that describes all the options you are using? Thanksman mountcommand in terminalfstabonly works for USB drives in the way you intend if they are plugged at boot time. Is that your case? Maybe udev rules is an alternative solution.mount /home/mypathandmount | grep /home/mypath. Though it does sound like something other thanfstabis mounting your device.