[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re (2): Ownership of pluggable devices.



From:	recoverym4n@gmail.com
Date:	Fri, 6 Sep 2013 00:34:05 +0400
> chown -R peter /home/peter/MY

... after more cogitating.  

udisks-glue is interesting but, if a device is to belong to 
one user, ownership should be set by root immediately after 
formatting.  Eg. 

mkfs.ext2 -b 4096 -L MY /dev/sdb1
mkdir <TmpDir>
mount /dev/sdb1 <TmpDir>
chown -R <TheUser>:<TheUser> <TmpDir>
sync; sync
umount /dev/sdb1
rmdir <TmpDir>

With a fixed disk, the point isn't so blatant and I've managed 
to overlook it for years; or might have read years ago and forgot.

Thanks again,             ... Peter E.

-- 
123456789 123456789 123456789 123456789 123456789 123456789 123456789 12
Tel +13606390202  Bcc: peasthope at shaw.ca  http://carnot.yi.org/  
"http://members.shaw.ca/peasthope/index.html#Itinerary "


Reply to: