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

Re: mounting usb hard disk



Raj Kiran Grandhi wrote:
After the ext3 partition is mounted, try changing the ownership of the files and directories to yourself (as root, of course)

# chown <username> -R /media/onetouch2

<didactic>

   As opposed DOS (VFAT), ext3 is a real filesystem, with
real owners and permissions.  When it's mounted, whether by
root or, courtesy of fstab, by a user, its files have those
real owners and permissions, not those of the mounter.  This
is the same as when a standard HD filesystem is mounted.

   That's why, per Raj Kiran Grandhi, the fix is to change
the owners on the USB disk.  It's just as if root had
created a bunch of files on your hard drive that you, a
normal user, want to have control of.

   Keep in mind that if you want other users to be able to
work with these files too, you'll need to set a group you
have in common with those users.  (Or put o=rwx permission
on the files, a bad idea in my opinion.)

</didactic>



Reply to: