LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-13-2006, 09:26 PM   #1
JesusFreak84
Member
 
Registered: Sep 2005
Location: Grand Rapids, MI
Distribution: Ubuntu Feisty Fawn, dual-booted with WinXP Media Center Edition 2005
Posts: 61
Blog Entries: 1

Rep: Reputation: 15
Question I DID IT! (But....) Can't create folder on FAT-32 drive


FINALLY FINALLY FINALLY got something to compile and install in Slackware. *Breathes huge sigh of relief* AND I found the kernel on the disc that sees my touchpad. Still no wireless or sound, but I can live for now.

Anyway. The but...

I'm trying to extract .tar.gz files into folders on a FAT-32 drive mounted on /Shared (ie cd ///Shared/whatever) but it's telling me I don't have access to the drive, even when I'm in root. I'm using Ark, since I'm still limited in what I can do command-line. (Yes, by "can," I mean "have a freaking clue how to do."
I get:
"Could not create the folder
file:///Shared/whateverFolderImTryingToCreate "

So far have tried this with WINE, Open Office, and a few others.

Any idea what gives?

(And sorry if you're thinking "Just Google it!" The top hits in Google are almost always either not what I need or beyond my current comprehension level.)


*****
 
Old 02-13-2006, 11:01 PM   #2
kilgoretrout
Senior Member
 
Registered: Oct 2003
Posts: 2,987

Rep: Reputation: 388Reputation: 388Reputation: 388Reputation: 388
Post your /etc/fstab file and indicate which parition you is giving you trouble. you have to edit the fstab entry for that partition to get write access even as root. Note this only applies to FAT and FAT32 paritions.
 
Old 02-14-2006, 02:06 AM   #3
enemorales
Member
 
Registered: Jul 2004
Location: Santiago, Chile
Distribution: Ubuntu
Posts: 410

Rep: Reputation: 31
HI!

FAT partitions do not have permissions, so trying to write on them as a normal user does not make any difference (in other words: it is wise to use the root account only when strictly necessary). Thus, either you haven't mounted the drive or you have mounted it read-only (well, it could also be full, or there could be something wrong with the partition or the harddisk, but let's be optimistic here). So:

Are you sure the partition is mounted? What are you doing to mount it?

HTH!

Last edited by enemorales; 02-14-2006 at 05:04 AM.
 
Old 02-14-2006, 07:14 PM   #4
JesusFreak84
Member
 
Registered: Sep 2005
Location: Grand Rapids, MI
Distribution: Ubuntu Feisty Fawn, dual-booted with WinXP Media Center Edition 2005
Posts: 61

Original Poster
Blog Entries: 1

Rep: Reputation: 15
Here's the fstab file:

/dev/hda7 swap swap defaults 0 0
/dev/hda5 / ext3 defaults 1 1
/dev/hda6 /home ext3 defaults 1 2
/dev/hda1 /WinXP ntfs ro 1 0
/dev/hda2 /Shared vfat defaults 1 0
/dev/cdrom /mnt/cdrom auto noauto,owner,ro 0 0
/dev/fd0 /mnt/floppy auto noauto,owner 0 0
devpts /dev/pts devpts gid=5,mode=620 0 0
proc /proc proc defaults 0 0


I can *see* the contents of the drive within Linux, so I'd assume it's already mounting on its own during startup. (Well, Linux is mounting it on its own--you know what I mean.)

What I've been doing to work around is just downloading stuff to the drive in Windows and then rebooting. (Needless to say, however, that's a pain and it doesn't stand to reason that I'd have to do so.)
 
Old 02-14-2006, 07:43 PM   #5
kilgoretrout
Senior Member
 
Registered: Oct 2003
Posts: 2,987

Rep: Reputation: 388Reputation: 388Reputation: 388Reputation: 388
Change this:

/dev/hda2 /Shared vfat defaults 1 0

to this:

/dev/hda2 /Shared vfat umask=0,codepage=850,iocharset=iso8859-1 0 0

You have to be root to do that. Open a console and run:

$ kdesu kwrite /etc/fstab

Enter the root password when prompted which will bring fstab up in the text editor, kwrite with root privileges. Make the above changes, reboot and you should have write access as an ordinary user.
 
Old 02-16-2006, 08:47 PM   #6
JesusFreak84
Member
 
Registered: Sep 2005
Location: Grand Rapids, MI
Distribution: Ubuntu Feisty Fawn, dual-booted with WinXP Media Center Edition 2005
Posts: 61

Original Poster
Blog Entries: 1

Rep: Reputation: 15
It worked! ^_^ (AND I figued out on my own what the deal was with my speakers. [They were muted automatically by Slackware, but then I heard about alsamixer and that did it.] Wireless card is all that's left, and then I'm golden. No hurry on that, though. =-P )

*Jams out to Evanescence*
 
  


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
how to create a share folder kumary Linux - Networking 2 01-29-2006 04:27 AM
how create a folder/permission rusmi Linux - Newbie 7 02-11-2005 10:04 AM
Could I create a FAT partition that both WinXP and Linux could read/write to? EOHooligan Linux - General 4 01-25-2005 11:48 AM
folder permissions /fat-c Hectic Linux - Newbie 2 10-17-2004 01:08 AM
how can i default the max folder file size when it create inside a folder antony_csf Linux - Software 1 06-17-2004 02:26 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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