chown jtwdyp: /dev/hda8 /dev/hda9 /dev/hda10 [fstab: owner, noauto]
Tez
binary_y2k2 at blueyonder.co.uk
Tue Mar 13 22:56:26 UTC 2007
Joe(theWordy)Philbrook wrote:
> It would appear that on Mar 12, Tez did say:
>
>
>> 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...
>>>
> <snip>
>
>> 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.
>>
>
> Thanks for the idea Tez, it sounds like it would work. But I think I'd
> rather put the chown command in a script with a symlink in /etc/rcS.d.
>
>
>
A little "hackish", but it works :-)
Tez
More information about the kubuntu-users
mailing list