External drive is being mounted as read-only

Ed Greshko ed.greshko at greshko.com
Sun Aug 31 22:59:16 UTC 2014


On 09/01/14 06:53, Sudhir Khanger wrote:
> Then I get this error. I tried setenforce 0 but that didn't help.
>
> sudo mount -v /dev/sdb1 /mnt/test
> mount: /mnt/test does not contain SELinux labels.
>        You just mounted an file system that supports labels which does not
>        contain labels, onto an SELinux box. It is likely that confined
>        applications will generate AVC messages and not be allowed access to
>        this file system.  For more details see restorecon(8) and mount(8).
> mount: /dev/sdb1 mounted on /mnt/test.
>
> And
>
> mount | grep /dev/sdb
> /dev/sdb1 on /mnt/test type ext4 (rw,relatime,seclabel,data=ordered)

So, it is now mounted RW.

The selinux "warning" is fixed by "restorecon -R /mnt"

-- 
If you can't laugh at yourself, others will gladly oblige.


More information about the users mailing list