chown jtwdyp: /dev/hda8 /dev/hda9 /dev/hda10 [fstab: owner, noauto]

Joe(theWordy)Philbrook jtwdyp at ttlc.net
Tue Mar 13 22:36:45 UTC 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

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. 

   #############################################################
   ##_if_you'd_prefer_an_clearsigned_".asc"_text_file_of_this_##
   ##message_as_an_mime_encoded_attachment,just_ask_me_while__##
   ##it's_STILL_IN_my_outbox_folder_._._._=+=+=+=+=+=+=+=+;-)_##
   #gpg sig for: Joe (theWordy) Philbrook DSA key ID 0x6C2163DE#
   # You can find my public gpg key at http://pgpkeys.mit.edu/ #
   #############################################################
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (GNU/Linux)

iD8DBQFF9ydmRZ/61mwhY94RAh//AJwLBjy5j6h11anKddQ8sh8oLYhzvgCggYWo
DNEjbyTI9mIfd4rvABh5ABA=
=uCFZ
-----END PGP SIGNATURE-----
-- 
|   ---   ___
|   <0>   <->	   Joe (theWordy) Philbrook
|	^		J(tWdy)P
|    ~\___/~	     <<jtwdyp at ttlc.net>>





More information about the kubuntu-users mailing list