[Bug 742751] Re: writeable automounted partition with device file mode 0000

2011-03-26 Thread jippie
With little further testing, I produced this with NTFS filesystems on the disk 
and today reproduced it with EXT4.
 /dev/sdj1 on /media/6a8ce615-cb88-46be-a068-0f58aacb7d60 type ext4 
(rw,nosuid,nodev,uhelper=udisks)

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

Title:
  writeable automounted partition with device file mode  

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


[Bug 742751] Re: writeable automounted partition with device file mode 0000

2011-03-26 Thread jippie
Figured out kde uses udisks for automounting.

** Package changed: kdebase (Ubuntu) = udisks (Ubuntu)

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

Title:
  writeable automounted partition with device file mode  

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


[Bug 742751] Re: writeable automounted partition with device file mode 0000

2011-03-26 Thread jippie
To reproduce, configure udev to remove all permission bits from the
device file. This is described on my webpage:
http://wirespeed.xs4all.nl/mediawiki/index.php/Figuring_out_udev_rules#Assigning_a_raw_disk_to_a_specific_user


 $ ls -l /dev/sdj1
 b- 1 root root 8, 145 2011-03-26 09:05 /dev/sdj1
 $ udisks --mount /dev/sdj1
 Mounted /org/freedesktop/UDisks/devices/sdj1 at 
/media/6a8ce615-cb88-46be-a068-0f58aacb7d60
 $ ls -l /media/6a8ce615-cb88-46be-a068-0f58aacb7d60/
 total 108
 drwxr-xr-x   2 root root  4096 2011-03-25 22:30 bin
 drwxr-xr-x   3 root root  4096 2011-03-25 22:43 boot
 drwxr-xr-x   2 root root  4096 2011-03-2...

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

Title:
  writeable automounted partition with device file mode  

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