[Leaplist] Permissions for USB/FW drives

patrick pberry2 at cfl.rr.com
Sun May 20 18:27:40 EDT 2007


David Simmons wrote:
> 
>>> Removable external drives that auto mount are accessible by root,
> and
>>> super user in the filesystem.  Is it legit to change the
> rw permissions
>>> in their file system (which, btw, is NOT
> /etc/fstab!)?
> 
> Patrick...seems like there's a different set of
> config files....check out:
> 
> http://www.linuxhq.com/lg/issue24/nielsen.html
> 
> HTH - Dave
> 
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Leaplist mailing list
> Leaplist at leap-cf.org
> http://lists.leap-cf.org/mailman/listinfo/leaplist

Here is my system mount file:
As you can see here, /dev/sda1 on /mnt/sda1 type ext3 (rw,nosuid,nodev)
is my external 500Gb drive plugged into my Firewire port on my Dell
running Mepis6.5.

The permissions need to let my other apps, such as ktorrent, access my
Shared folder there on /mnt/sda1 to save and serve *BSD and GNU/Linux
ISOs.

There isn't room on my /home/Patrick partition, and though I do have
100Gb left on my /hda1 partition, and would like to perhaps use that for
this purpose, it is probably similar work to do so, wouldn't you agree?


> patrick at 1[~]$ mount
> /dev/hda1 on / type ext3 (rw,noatime)
> fusectl on /sys/fs/fuse/connections type fusectl (rw)
> proc on /proc type proc (rw)
> /sys on /sys type sysfs (rw)
> varrun on /var/run type tmpfs (rw)
> varlock on /var/lock type tmpfs (rw)
> procbususb on /proc/bus/usb type usbfs (rw)
> udev on /dev type tmpfs (rw)
> devpts on /dev/pts type devpts (rw,gid=100,mode=0622)
> devshm on /dev/shm type tmpfs (rw)
> lrm on /lib/modules/2.6.15-27-desktop/volatile type tmpfs (rw)
> /dev/hda3 on /mnt/hda3 type ext3 (rw,nosuid,nodev)
> /dev/hdb1 on /mnt/hdb1 type ext3 (rw,nosuid,nodev)
> /dev/sda1 on /mnt/sda1 type ext3 (rw,nosuid,nodev)
> /dev/hdc on /media/cdrom1 type iso9660 (ro,nosuid,nodev)

So, because there are the notes of 'nodev', doesn't that preempt the
udev, which is not in the Mepis system as far as I can 'Find'!



More information about the Leaplist mailing list