My PC have 3 NTFS partitions (main and backups) plus Ubuntu on dual boot. I want to keep NTFS partitions available, but mounted as read-only by default, so that other users (and accidentally even me) do not modify them in a harmful way. I see that I can't change permissions for the NTFS partitions, which is understandable.
If possible, I'd like that only SU could change the default permissions, so that none of the other users could modify them without switching to Windows. If not possible, making NTFS unmountable would be OK too.
I'm trying to get used to Linux environment and make Ubuntu as my main OS, and this is mostly a protective measure to avoid corrupting my Windows system, as I'll still use it quite a lot.
Note: I'm aware that NTFS permissions are useless on Ubuntu, but that's fine, as all users log as admin there.
Edit 1: this is my fstab
# <file system> <mount point> <type> <options> <dump> <pass> proc /proc proc nodev,noexec,nosuid 0 0 # / was on /dev/sda7 during installation UUID=4a5ff937-5220-4b4e-b994-304ba37d3448 / ext4 errors=remount-ro 0 1 # swap was on /dev/sda8 during installation UUID=a0285d57-8247-4efe-88ca-14bee4b8630b none swap sw 0 0 /dev/fd0 /media/floppy0 auto rw,user,noauto,exec,utf8 0 0
So, I'd like to set all my 3 NTFS HDs to read only (no auto mount). Also, please tell me where to find the /path/to/ntfs of each partition.
Additionally, can I comment the floppy entry? I don't have one anyway =)
Edit 2: relevant part of 'mount -v'
/dev/sda1 on /media/1A7099D97099BC47 type fuseblk (rw,nosuid,nodev,allow_other,blksize=4096,default_permissions) /dev/sda5 on /media/Stuff type fuseblk (rw,nosuid,nodev,allow_other,blksize=4096,default_permissions) /dev/sda6 on /media/Backup type fuseblk (rw,nosuid,nodev,allow_other,blksize=4096,default_permissions)
Edit 3: Ok, so I installed pysdm (Storage Device Manager), set all my NTFS partitions as mountable my any user, and as read only, and restarted. Now I can't mount the partitions:
Unprivileged user can not mount NTFS block devices using the external FUSE library. Either mount the volume as root, or rebuild NTFS-3G with integrated FUSE support and make it setuid root. Please see more information at http://ntfs-3g.org/support.html#unprivileged
After some reading it seems that mounting the partitions as SU is not a good idea. So, how can I allow the mounting (by any user) without SU?