disk-on-key ownership
Nigel Ridley
nigel at rmk.co.il
Thu Nov 1 02:38:21 UTC 2007
Nigel Ridley wrote:
> I just bought a Sandisk Cruzer Micro USB Flash Drive (1GB) and using
> Knoppix and Qtparted, formatted it into 3 partitions - 630mb ext2, 250mb
> linux-swap (for using with my [old] 64mb laptop [sans hard disk] with
> Puppy Linux) and the rest as fat16.
>
> When I stick the USB drive in my Kubuntu box it auto mounts both the
> ext2 and fat16 partitions. The fat16 gets 'User: nigel Group: root'. The
> ext2 gets 'User: root Group: root'. I cannot write to the ext2 partition.
>
> I have tried changing the ownership by issuing:
> sudo chown nigel /dev/sdb1
> but it remains the same - root root
>
> How do I make it writable by yours truly?
>
> Blessings,
>
> Nigel
>
Replying to myself:
I stuck dsl-n (Damn Small Linux - not) in the laptop, mounted the USB
drive, changed the 'group' ownership to 'users' (keeping the 'user' as
root), added myself to the group 'users' on my Kubuntu box (logged out
and back in again - for the group change to take effect) and now I can
write to the USB drive on both the laptop and the Kubuntu box (and I
suppose, any Linux box as all distros have the group 'users' as standard
- just need to be added to said group).
Any way, yes the life of my USB stick is going to be limited but I don't
use the laptop that much. Perhaps I will look at one of those USB sticks
with a hard drive.
Blessings,
Nigel
--
OliveRoot Ministries
http://www.oliveroot.net/
PrayingForIsrael.net
http://www.prayingforisrael.net/
More information about the kubuntu-users
mailing list