chown jtwdyp: /dev/hda8 /dev/hda9 /dev/hda10 [fstab: owner, noauto]
Tez
binary_y2k2 at blueyonder.co.uk
Mon Mar 12 18:27:53 UTC 2007
Joe(theWordy)Philbrook wrote:
> chown jtwdyp: /dev/hda8 /dev/hda9 /dev/hda10
>
> Is this way I'm supposed to give these partitions to user jtwdyp ???
>
> /etc/fstab contains:
>
> /dev/hda10 ext2 /home/jtwdyp/hda10 ext2 defaults,owner,noauto 0 2
>
> And similar lines for the other 2 partitions...
>
> Anyway it seams to work the way I want. The user, jtwdyp, can mount or
> umount these file systems at will. but any body else would need admin
> privileges.
>
> That is it works until the next reboot...
>
> Or maybe it's during the shut down. But something keeps doing the
> equivalent of:
>
> chown root:disk /dev/hda*
>
> So every time I restart kubuntu on the multi boot pc, I gotta chown it
> back... Can anyone tell me how to stop kubuntu from taking these
> partitions away from jtwdyp every time I reboot???
>
>
You know what would be a whole lot easier than that?
Use "group" instead of "user", then just make sure jtwdyp is in the
"disk" group, and other users you don't want to be able to mount/unmount
aren't.
That would save having to modify udev rules.
Tez
More information about the kubuntu-users
mailing list