Re: FC3: Problems with mounting USB harddisk

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

 



Am Donnerstag, 9. Dezember 2004 22:06 schrieb Terry Polzin:

First of all, with this last posting I am moving my enquiry to fedora-list as 
I seem to bother some guys on this list with an FC3 topic. I am sorry for 
being off-topic here though I believe this problem still persists in FC4 (I 
do not have the time to test this).

> On Thursday 09 December 2004 15:57, Stephan Groà wrote:
> > Hi,
> >
> > I'm trying to use my external USB harddisk under FC3. When I plug in the
> > disk it is recognized by hald and the /etc/fstab is (correctly) modified
> > (see attachment). But if an unpriviledged user mounts one of the ext3
> > partitions he only has read access but no write access on it. Only root
> > is alowed to read AND write to the partition. If the partition is
> > formated as FAT the user mounting it has both read and write access to
> > it. Short question: Is it possible to get read-write access for ext3
> > partitions and if yes, how must I adjust my config?
> >
> > Thank you for some advice.
> >
> > Regards,
> > Stephan.
>
> What are the permissions on
>
> /media
> /media/usbdisk

They are (of course) owned by root and only writable for root but if I mount a 
FAT-partition, the ownership is changed automatically to the user who mounted 
it. So, to render my question more precisely: Why isn't the ownership of a 
mounted ext3 partition not ajusted to the id of the mounting user?

Regards,
Stephan.
# This file is edited by fstab-sync - see 'man fstab-sync' for details
LABEL=/                 /                       ext3    defaults        1 1
none                    /dev/pts                devpts  gid=5,mode=620  0 0
none                    /dev/shm                tmpfs   defaults        0 0
LABEL=/home             /home                   ext3    defaults        1 2
LABEL=/opt              /opt                    ext3    defaults        1 2
none                    /proc                   proc    defaults        0 0
none                    /sys                    sysfs   defaults        0 0
LABEL=SWAP-hda8         swap                    swap    defaults        0 0
/dev/hdc                /media/cdrecorder       auto    pamconsole,fscontext=system_u:object_r:removable_t,exec,noauto,managed 0 0
/dev/sda1               /media/Video            ext3    pamconsole,fscontext=system_u:object_r:removable_t,exec,noauto,managed 0 0
/dev/sda2               /media/Espresso         ext3    pamconsole,fscontext=system_u:object_r:removable_t,exec,noauto,managed 0 0
/dev/sda3               /media/dud23            ext3    pamconsole,fscontext=system_u:object_r:removable_t,exec,noauto,managed 0 0

[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux