Quantcast
Channel: Active questions tagged mount+fstab - Ask Ubuntu
Viewing all articles
Browse latest Browse all 699

Ubuntu 18.04 - Can't Mount Devices by Double Click on File Manager If They Are Defined in `fstab`

$
0
0

I have few HD with NTFS on my computer.
Usually I can see those Hard Drives as devices in the File Manager home (computer:///).

By double clicking them they are mounted.

I wanted to make sure when they are mounted to be mounted as Read Only.
So following some answers here I edited fstab.

Let's take a single example for a line I added in fstab:

UUID=5A8469DC8469BAE1    /mnt/D/  ntfs  defaults,noauto,user,ro   0    0

I defined my Windows D: drive to be mounted into /mnt/D.I created the folder /mnt/D/.

The problem is when I now click on the HD on File Manager I get Unable to mount location - can't mount file.

Yet if I mount is manually it is mounted and I can see the files in the corresponding folder.
I saw it is a known problem in Ubuntu - https://ubuntu-mate.community/t/error-unable-to-mount-location/7508/6 (Also related - https://stackoverflow.com/questions/56564047). Is that so?

The output of mount:

/dev/sdb1 on /mnt/D type fuseblk (ro,nosuid,nodev,noexec,relatime,user_id=0,group_id=0,allow_other,blksize=4096,user)

My questions are:

  1. Is there a way to fix this? I don't want auto mounting but I want that by double click things will be mounted according to the settings in fstab. Namely NTFS to be mounted as Read Only.
  2. Is there a better way to achieve this? Namely whenever I double click on a device in the File Manager which is a NTFS partition it will be mounted as Read Only.

Viewing all articles
Browse latest Browse all 699

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>