You are not logged in.
Pages: 1
Topic closed
Hi folks,
I have a strange issue with an external drive automatically mounted as read-only whenever I plug it to my laptop :
[sclarckone@archLaptop ~]$ mount
/dev/sdb1 on /run/media/sclarckone/dd type ntfs (ro,nosuid,nodev,relatime,uid=1000,gid=100,fmask=0177,dmask=077,nls=utf8,errors=continue,mft_zone_multiplier=1,uhelper=udisks2)
And I can't remount it as read-write :
[sclarckone@archLaptop ~]$ sudo mount -o remount,rw /dev/sdb1
mount: cannot remount /dev/sdb1 read-write, is write-protected
But of course, I'm able to mount it as read-write on other operating systems.
I have udisks and udisks2 installed on my system. I also belong to the storage group so I thought I could mount a filesystem as a normal user but I can't :
[sclarckone@archLaptop ~]$ mount /dev/sdb1 dd/
mount: only root can do that
I don't know whether it is relevant to this problem, but I have systemd and polkit installed as well... Does anybody has an idea of where the problem could come from ?
Thanks for your help !
Last edited by sclarckone (2012-12-13 21:45:04)
Offline
Check out following file :
/usr/share/polkit-1/actions/org.freedesktop.udisks.policy
Look for mount a device and It should have configuration like :
<action id="org.freedesktop.udisks.filesystem-mount">
<description>Mount a device</description>
<description xml:lang="da">Montér en enhed</description>
<message>Authentication is required to mount the device</message>
<message xml:lang="da">Autorisering er påkrævet for at montere et fil system</message>
<defaults>
<allow_any>no</allow_any>
<allow_inactive>no</allow_inactive>
<allow_active>yes</allow_active>
</defaults>
</action>
Offline
Change ntfs to ntfs-3g in your fstab
Last edited by FlyingHappy (2012-12-13 21:22:23)
Offline
Change ntfs to ntfs-3g in your fstab
I don't have any entry for this external drive in my fstab file but you made me realize that I didn't have ntfs-3g installed. Now that it is installed the drive is automatically mounted as read-write (and with fuseblk type that seems to be used for userspace filesystems).
Thanks.
Last edited by sclarckone (2012-12-13 22:01:02)
Offline
Well, glad it helped in some way
Offline
3 years later, and this post is still useful. I too did not have ntfs-3g installed, DOH!
Last edited by TuxForLife (2015-11-19 22:37:17)
Offline
I'm glad it was useful.
But, time has come to close this thread
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way
Offline
Pages: 1
Topic closed