Re: [Hampshire] External Drive Permissions.

2011-03-25 Thread Bob Dunlop
On Thu, Mar 24 at 05:42, Mike Burrows wrote: ... sudo mount -t vfat /dev/sda1 /media/mybook -o rw,uid=1000,gid=1000 ... can't help thinking there is a better way of doing this in fstab... Well on a Gentoo box I'd put the following in /etc/fstab /dev/sda1 /mnt/myboot vfat noauto,user 0 0

Re: [Hampshire] External Drive Permissions.

2011-03-25 Thread Dr A. J. Trickett
On Wednesday 23 Mar 2011, Mike Burrows wrote: Hi Folks. I have a western digital hard drive attached to a usb port on my deb box. It mounts automagically on boot and I can access the file structure and read/write files from a windows samba client. However, when working on the Deb box I

Re: [Hampshire] External Drive Permissions.

2011-03-25 Thread Mike Burrows
I think the mount options are typically user,noauto so it doesn't auto mount until requested but when it is requested the user who mounts it owns it and can mount/umount it in the first place. On a modern Debian system with a full-fat desktop I think this is automatically taken care for you.

Re: [Hampshire] External Drive Permissions.

2011-03-24 Thread Mike Burrows
On 3/23/2011 10:04 AM, bryan hunt wrote: On Wed, 2011-03-23 at 09:46 -0500, Mike Burrows wrote: Hi Folks. I have a western digital hard drive attached to a usb port on my deb box. It mounts automagically on boot and I can access the file structure and read/write files from a windows samba

Re: [Hampshire] External Drive Permissions.

2011-03-23 Thread bryan hunt
On Wed, 2011-03-23 at 09:46 -0500, Mike Burrows wrote: Hi Folks. I have a western digital hard drive attached to a usb port on my deb box. It mounts automagically on boot and I can access the file structure and read/write files from a windows samba client. However, when working on the