LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 06-23-2004, 01:26 PM   #1
Rob Roye
Member
 
Registered: Mar 2004
Location: Mishawaka, IN
Distribution: SuSE 9.0, 9.1, 9.2
Posts: 38

Rep: Reputation: 15
Write to external USB hard drive


I'm having a problem with a USB hard drive. It is a laptop drive in a USB enclosure and is properly detected when I plug it in. I can read and execute anything on it. My problem is being able to write to it. It's formatted as FAT32 so I can use it for Windows as well as Linux, but thus far I cannot write to it. I tried changing the permissions to open it up totally but that failed.

I'm using it on Knoppix 3.3 on several different machines, including a couple laptops. Any ideas or suggestions would be helpful.
 
Old 06-23-2004, 01:37 PM   #2
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 64
Welcome to LQ.

What are the permissions on the files and what user are you trying to write as?
ls -l /path/to/mount
 
Old 06-23-2004, 01:43 PM   #3
Rob Roye
Member
 
Registered: Mar 2004
Location: Mishawaka, IN
Distribution: SuSE 9.0, 9.1, 9.2
Posts: 38

Original Poster
Rep: Reputation: 15
Owner - read, write, execute
Group - read
Others - read

Running as user "knoppix" (mainly because I don't yet know the root password for Knoppix)

BTW - LOVE the signature - I annoyed a couple customers laughing so hard!
 
Old 06-23-2004, 01:51 PM   #4
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 64
Quote:
Originally posted by Rob Roye
Owner - read, write, execute
Group - read
Others - read
Who is the Owner?

Quote:
Originally posted by Rob Roye
Running as user "knoppix" (mainly because I don't yet know the root password for Knoppix)
There isn't one At a bash prompt "su -", no password required.

Quote:
Originally posted by Rob Roye
BTW - LOVE the signature - I annoyed a couple customers laughing so hard!
Thanks!
 
Old 06-23-2004, 02:12 PM   #5
Rob Roye
Member
 
Registered: Mar 2004
Location: Mishawaka, IN
Distribution: SuSE 9.0, 9.1, 9.2
Posts: 38

Original Poster
Rep: Reputation: 15
Not entirely sure who the owner would be. I put the existing files on it in Windows. I'm fairly new to Linux, is there a way to tell who the owner is? It let me change permissions on the drive, so I assume it thinks I am.
 
Old 06-23-2004, 02:18 PM   #6
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 64
You won't be able to change the permissions on the drive since fat filesystems do not support linux file permissions but you can mount it as with a different umask such as umask="0000" which will let any user read or write to it.

To see the permissions:
ls -l /path/to/mount

To see where it is mounted - run:
mount
 
Old 07-06-2004, 04:15 PM   #7
Rob Roye
Member
 
Registered: Mar 2004
Location: Mishawaka, IN
Distribution: SuSE 9.0, 9.1, 9.2
Posts: 38

Original Poster
Rep: Reputation: 15
I haven't had the time to test it any more recently, but I'm still going to try your advice. I'll probably just plug it in to my SuSE box at home and try it from there. Good suggestions so far, I'm learning from your posts.
 
  


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
Not able to set write permissions on external hard drive. jpen8560 Linux - Hardware 19 03-22-2006 10:44 AM
Installing grub to external USB hard drive for later use as internal hard drive dhave Linux From Scratch 2 12-10-2005 08:48 AM
Unable to write to external USB drive m_lp_ql_m Linux - Newbie 2 08-29-2005 03:21 PM
Write permissions for external hard drive kg4ysy Linux - Hardware 1 05-19-2005 05:36 AM
External USB drive -- only WRITE as root 1kyle Linux - Hardware 0 08-03-2004 10:00 AM


All times are GMT -5. The time now is 08:30 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration