LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 03-09-2012, 05:56 AM   #1
eponymous
Member
 
Registered: Oct 2004
Distribution: Gentoo
Posts: 78

Rep: Reputation: 15
Automounted USB drive is owned by root and not writable


Hi,

I've created an ext3 parition on a USB flash drive using:

Code:
mkfs.ext3 /dev/sdc1
I then plug the drive in and it gets mounted to /media automatically but for some reason has the following privileges so I can't write to it as a normal user:

Code:
drwxr-xr-x 3 root root 4096 Mar  9 10:18 CZILLA_IMAGES
Does anyone know how to get it to mount so that I can write to it as a normal user?

Thanks.
 
Old 03-09-2012, 07:13 AM   #2
honeybadger
Member
 
Registered: Aug 2007
Location: India
Distribution: Slackware (mainly) and then a lot of others...
Posts: 855

Rep: Reputation: Disabled
Hi eponymous,

This would be the normal behavior. If this pen drive is not permanent then you would need pmount. More information here http://en.wikipedia.org/wiki/Mount_(Unix)
Hope this helps.
 
Old 03-09-2012, 07:25 AM   #3
eponymous
Member
 
Registered: Oct 2004
Distribution: Gentoo
Posts: 78

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by honeybadger View Post
Hi eponymous,

This would be the normal behavior. If this pen drive is not permanent then you would need pmount. More information here http://en.wikipedia.org/wiki/Mount_(Unix)
Hope this helps.
Hmm if this is true then why is it when I plug in a pendrive which is NTFS or FAT32 it works fine?
 
Old 03-12-2012, 01:12 AM   #4
pauliolio
LQ Newbie
 
Registered: Jan 2012
Posts: 7

Rep: Reputation: Disabled
An excellent point
Had exactly the same problem myself the other day...
 
  


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
[SOLVED] What Risk Does World Writable Executable File Owned by Root Pose? lumiao Linux - Newbie 7 06-02-2011 03:10 AM
How to find root owned world writable files? pinga123 Linux - Newbie 23 10-14-2010 08:30 AM
Unable to write to a automounted USB drive by a normal user. vsumanth10 Linux - General 2 09-28-2009 12:32 AM
Automounted USB Flash Drive File Ownerships Woodsman Slackware 8 07-03-2008 10:33 PM
Only root access to automounted USB drive denis1314 Linux - Software 11 07-19-2005 10:01 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:29 PM.

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