You are not logged in.

#1 2012-12-13 20:18:37

sclarckone
Member
Registered: 2011-10-05
Posts: 22

[solved] External drive automatically mounted as read-only

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

#2 2012-12-13 21:05:13

vishal8492
Member
Registered: 2011-12-15
Posts: 19

Re: [solved] External drive automatically mounted as read-only

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

#3 2012-12-13 21:21:49

FlyingHappy
Member
From: Cincinnati, OH
Registered: 2011-04-18
Posts: 192

Re: [solved] External drive automatically mounted as read-only

Change ntfs to ntfs-3g in your fstab

Last edited by FlyingHappy (2012-12-13 21:22:23)

Offline

#4 2012-12-13 21:44:46

sclarckone
Member
Registered: 2011-10-05
Posts: 22

Re: [solved] External drive automatically mounted as read-only

FlyingHappy wrote:

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

#5 2012-12-13 21:51:08

FlyingHappy
Member
From: Cincinnati, OH
Registered: 2011-04-18
Posts: 192

Re: [solved] External drive automatically mounted as read-only

Well, glad it helped in some way smile

Offline

#6 2015-11-19 22:37:08

TuxForLife
Member
Registered: 2015-11-14
Posts: 18

Re: [solved] External drive automatically mounted as read-only

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

#7 2015-11-22 18:09:58

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 19,791

Re: [solved] External drive automatically mounted as read-only

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

Board footer

Powered by FluxBB