FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Redhat > Fedora User

 
 
LinkBack Thread Tools
 
Old 08-03-2008, 10:28 PM
Gerhard Magnus
 
Default mounting external usb drives

The setup I had for my 2 external usb hard drives that worked in FC8
seems to be restricting use of these drives to root in FC9.

I added the directories /mnt/usb_232GB and /mnt/usb_93B and altered the
fstab to include these lines:

/dev/sdd1 /mnt/usb_232GB auto user,auto 0 0
/dev/sde1 /mnt/usb_93GB auto user,auto 0 0

Both drives have been formatted as ext3. I can access both but can't
write to them except as root. How can I make them write-accessible to
all users?

Thanks for the help! --Jerry


--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
 
Old 08-04-2008, 02:49 AM
Bill Davidsen
 
Default mounting external usb drives

Gerhard Magnus wrote:

The setup I had for my 2 external usb hard drives that worked in FC8
seems to be restricting use of these drives to root in FC9.

I added the directories /mnt/usb_232GB and /mnt/usb_93B and altered the
fstab to include these lines:

/dev/sdd1 /mnt/usb_232GB auto user,auto 0 0
/dev/sde1 /mnt/usb_93GB auto user,auto 0 0

Both drives have been formatted as ext3. I can access both but can't
write to them except as root. How can I make them write-accessible to
all users?

You have to set the permissions *after* the USB is mounted, then change
the directory mode to 777, or for some tiny bit of sanity 1777:

chmod 1777 /mnt/usb_93GB

Now, having given you that, I *strongly* suggest that you change fstab
to use the UUID of the filesystem. That makes it work if you only plug
in one, if you plug them in the wrong ports, if FC10 probes the USB bus
ass-backwards from FC9, or other ways you can shoot yourself in the foot.


Redhat 8 (or maybe 9) would occasionally install on a system with two
SCSI controllers and probe them in one order for install and the other
for runtime boot, which changes all the device names. It took me two
hours to find and fix that, in the "pre-UUID" days. Late on a Friday.
With a 131 mile drive to get home. With something as easy to change as
pluggable devices, I suggest you avoid this learning experience.



Thanks for the help! --Jerry





--
Bill Davidsen <davidsen@tmr.com>
"We have more to fear from the bungling of the incompetent than from
the machinations of the wicked." - from Slashdot

--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
 

Thread Tools




All times are GMT. The time now is 05:16 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org