LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 02-19-2010, 08:22 PM   #31
sycamorex
LQ Veteran
 
Registered: Nov 2005
Location: London
Distribution: Slackware64-current
Posts: 5,836
Blog Entries: 1

Rep: Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251

What about mount options (rw) and/or ownership of the files on the usb stick?
 
Old 02-19-2010, 09:05 PM   #32
Raveolution
Member
 
Registered: Mar 2004
Distribution: Fedora & CentOS
Posts: 213

Original Poster
Blog Entries: 2

Rep: Reputation: 26
Quote:
Originally Posted by sycamorex View Post
What about mount options (rw) and/or ownership of the files on the usb stick?
I mounted it rw. How do I set ownership of the files on the usb stick? It's all set as root. I even tried "chown -R user.user" on the whole partition. No dice. ARgh.
 
Old 02-20-2010, 04:16 AM   #33
sycamorex
LQ Veteran
 
Registered: Nov 2005
Location: London
Distribution: Slackware64-current
Posts: 5,836
Blog Entries: 1

Rep: Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251
what's the filesystem on your pendrive?
 
Old 02-20-2010, 04:24 AM   #34
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
If your pendrive auto-mounts, try right clicking on the icon for the pendrive and change the mounting options.

If you use KDE4, install the device notifier applet. It usually is by default.

If you mount it manually and it uses the fat32 or ntfs filesystem, use the `uid','gid','fmask' and 'dmask' mount options. These filesystems don't hold Linux permissions, so they are determined for the entire filesystem enmass when you mount it.

If the pendrive doesn't automount due to root permissions, then your policy kit permissions my not be configured correctly.
enter the command "polkit-auth". You should see this line:
org.freedesktop.hal.storage.mount-removable

Another possibility is that the filesystem is corrupt and the filesystem is then mounted read-only as a result.
 
Old 02-20-2010, 07:51 AM   #35
estabroo
Senior Member
 
Registered: Jun 2008
Distribution: debian, ubuntu, sidux
Posts: 1,126
Blog Entries: 2

Rep: Reputation: 124Reputation: 124
if you are mounting by hand don't mount as root, mount as the user using the pmount program

pmount /dev/sdc1 blah

this will mount it under /media/blah
might need to do an fdisk -l first to see what the device really is instead of /dev/sdc1


then just pumount blah when your done

Last edited by estabroo; 02-20-2010 at 07:52 AM. Reason: added the pumount
 
Old 03-03-2010, 04:06 AM   #36
Raveolution
Member
 
Registered: Mar 2004
Distribution: Fedora & CentOS
Posts: 213

Original Poster
Blog Entries: 2

Rep: Reputation: 26
I solved it. I put "users,rw,uid=(number for my main non-root account)" for all ntfs-3g and vfat entries in fstab.

Since I defined my partitions by UUID already, this allowed me as a non-root user to do a straight "mount /dosx" (since /dosx is defined by fstab) instead having to sudo into fdisk to determine which /dev/sd?? /dosx went to and all that (thus shortening the work I have to do to mount a partition).
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to stop bash from replacing "~/" with "/home/username"? daihard Linux - Software 8 08-22-2010 02:32 PM
Install Fedora Core 4 issue (Stop at process of "CD Found") Sun Fedora - Installation 0 01-24-2007 11:44 AM
LXer: Linux Australia has a petition to "Ban Piracy, Not Competition" LXer Syndicated Linux News 0 07-22-2006 06:21 PM
LXer: Petition to all us Linux users to stop telling newbies "RTMF". LXer Syndicated Linux News 2 03-29-2006 07:22 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 06:36 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration