On 01/21/2012 12:53 PM, Brendan Donegan wrote:
> Jeff,
>
> Have you tried using the 'DeviceIsReadOnly' property of
> org.freedesktop.UDisks.Device? That might be a straightforward way of
> telling if a partition is read-only.
>

Was looking at that the other day, but haven't tried it just yet...

That could fix the problem when a partition is specifically mounted 
read-only (as in when running from a live image) but doesn't address the 
weird default behaviour where a mount point is only readable by root by 
default...

it's certainly something worth looking at more closely though.

-- 
Jeff Lane - Hardware Certification Engineer and Test Tools Developer
Ubuntu Ham: W4KDH
Freenode IRC: bladernr or bladernr_
gpg: 1024D/3A14B2DD 8C88 B076 0DD7 B404 1417  C466 4ABD 3635 3A14 B2DD

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/912522

Title:
  usb_test fails on non-writable filesystems

To manage notifications about this bug go to:
https://bugs.launchpad.net/checkbox/+bug/912522/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to