LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 06-03-2005, 12:01 AM   #1
FishieFishie
LQ Newbie
 
Registered: Jan 2005
Location: Norman, OK, USA
Distribution: Debian
Posts: 11

Rep: Reputation: 0
iPod mounting read-only


This has been covered before, but the thread died, so I'll start a new one. Flame me if you feel the need.

Anyway, I'm having issues with my 4G iPod mounting as read-only under Debian. Going through fstab, I find no problems. Nothing on my machine has changed since my last mount. Only thing I did was connect it to a Win2000 machine, toss on some files in disk-mode, then disconnect it. Problems seem to point toward that, since it was NTFS. Anyway, I'll post my line in fstab now:

/dev/sda2 /mnt/ipod vfat rw,user,umask=000 0 0

Now, like I said, nothing has changed. That worked before. I can write to disk, but only on the root of the iPod, as root. As a basic user, I can't do anything, but I can now see the files. Before I deleted the folder I transfered over, I couldn't see a thing. gtkpod can not write to the disk at all.

I know this has been asked before, and I'm sorry for starting a new thread, but I have not found an answer yet. I'll answer any questions, I know I forgot something.

Thank you all in advance.
 
Old 06-03-2005, 03:18 AM   #2
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
So - usually if you can do something as root but not as user it is a permissions issue. umask=7000 should give rwx access for everybody though. Check the actual permissions for /mnt/ipod that end up mounted. (ls -l /mnt ... if you stuff up umask you end up with permissions rwxr-xr-x for everything.)

The ntfs thing shouldn't make a difference since Win2k can write to fat32 OK. Unless you used Win2k to format it or make a directory ...
 
Old 06-03-2005, 10:52 AM   #3
FishieFishie
LQ Newbie
 
Registered: Jan 2005
Location: Norman, OK, USA
Distribution: Debian
Posts: 11

Original Poster
Rep: Reputation: 0
Switching the umask to 7000 worked. That's weird since it always worked as 000 before.

Anyway, thanks for helping. The result was... surprising, to say the least, considering it worked for so long and I'm just now getting trouble.
 
Old 06-03-2005, 07:32 PM   #4
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
Chances are you've upgraded something and now umask is picky about all the bits being present. I think anything left out is assumed to be leading zeros. In a maski, this sets all the bits to 1.
 
  


Reply



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
Mounting an ipod Zawi Linux - General 10 08-23-2005 09:05 PM
ipod read only??? nomass Mandriva 1 06-18-2005 07:07 PM
ubuntu 5.04 iPod mounting read-only johnnybezak Linux - Hardware 3 06-17-2005 01:04 AM
trouble mounting ipod minm Linux - Newbie 4 03-09-2005 07:14 PM
Problems mounting Ipod ncsuapex Linux - Hardware 2 12-17-2004 10:08 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 11:56 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