Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Using Fedora
FedoraForum Search

Forgot Password? Join Us!

Using Fedora General support for current versions. Ask questions about Fedora and it's software that do not belong in any other forum.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 20th June 2012, 05:52 PM
drew1337 Offline
Registered User
 
Join Date: May 2012
Location: Sydney
Posts: 3
linuxchrome
Mounting USB drive with permissions

Hi there... I've been searching around for hrs now & it's doing my head in!!!!!!

I've just installed Fedora 17 & i have an NTFS formatted USB drive shared with the 'other' OS on my machine full of music & videos.

Is there anyway to set 'rwx rwx rwx' permissions when a USB drive is auto mounted - without an entry in fstab? Everytime I use fstab & my drive isn't there when Fedora boots, the boot process stalls.

I thought about scripting it manually, but I need the drive available prior to kde starting, so a script in autostart is out...

Currently when it's automounted by the system, it only gives the logged on user permissions to the drive.

Is there any benefit at looking into udev or does udisk control the mounting?
Reply With Quote
  #2  
Old 20th June 2012, 06:44 PM
sea's Avatar
sea Offline
"Shells" (of a sub world)
 
Join Date: May 2011
Location: Helvetic Federation (Swissh)
Age: 33
Posts: 2,647
linuxfirefox
Re: Mounting USB drive with permissions

Let me collect your provided information...
1) You want an external usb drive to be mounted, so you can write on it.
2) it must be available before kde is starting
3) but you dont want to add it in fstab
AFAIK: this is not possible (3)

However, a chance is there that the settings will be stored after these commands...
Code:
sudo mkdir /mnt/my-ext-disk
sudo chown drew1337 /mnt/my-ext-disk -R
sudo mount /path/to/usbdisk /mnt/my-ext-disk
This would make it availabl for current session.
Hope this helps
__________________
Notebook: Samsung NC210/NC110 CPU: Intel 2*1600 Mhz RAM: 1024 MB DDR2 OS: Fedora 19 DE: Awesome
Laptop: Toshiba Satellite L670 CPU: Intel(r) 2*1872 Mhz RAM: 3072 MB DDR3 OS: Fedora 17 DE: Awesome
Fedora Manual (RTFM) | The Linux Documentation Project | Script-Tools
Reply With Quote
  #3  
Old 20th June 2012, 11:12 PM
drew1337 Offline
Registered User
 
Join Date: May 2012
Location: Sydney
Posts: 3
linuxchrome
Re: Mounting USB drive with permissions

Thanks sea.

Yeah, that's what I'd thought I might have to do - I'll write a script to do that during startup.
Reply With Quote
  #4  
Old 21st June 2012, 12:45 AM
sea's Avatar
sea Offline
"Shells" (of a sub world)
 
Join Date: May 2011
Location: Helvetic Federation (Swissh)
Age: 33
Posts: 2,647
linuxfirefox
Re: Mounting USB drive with permissions

You might try one of the common locations: from another topic
Or somewhere in /etc/rc.d/init.d

Hope this helps.
__________________
Notebook: Samsung NC210/NC110 CPU: Intel 2*1600 Mhz RAM: 1024 MB DDR2 OS: Fedora 19 DE: Awesome
Laptop: Toshiba Satellite L670 CPU: Intel(r) 2*1872 Mhz RAM: 3072 MB DDR3 OS: Fedora 17 DE: Awesome
Fedora Manual (RTFM) | The Linux Documentation Project | Script-Tools

Last edited by sea; 21st June 2012 at 12:56 AM.
Reply With Quote
Reply

Tags
drive, mounting, permissions, usb

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Mounting 2nd drive with permissions for any user tristanlee85 Using Fedora 16 25th February 2010 05:46 AM
NFS mounting permissions (maybe rpc.mountd) zzybaloobah Servers & Networking 7 3rd December 2008 04:14 AM
Mounting USB drive on Windows+Permissions PaulClarke Servers & Networking 4 7th December 2006 07:44 AM
Linux Mounting and Permissions Iyce Using Fedora 3 19th February 2006 08:39 PM
Mounting and permissions Dav Using Fedora 7 5th July 2005 09:17 AM


Current GMT-time: 21:02 (Wednesday, 19-06-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat