LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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-04-2006, 02:05 PM   #1
smiley_lauf
Member
 
Registered: Jan 2006
Location: NY
Distribution: Fedora 15 x64
Posts: 344

Rep: Reputation: 30
No permission to write to FAT32 partition


I have partitioned hda into 4 partitions (20G each); I am in Ubuntu part hda8 and my Win Xp is on hda1.

Linux has recog the 2 other partitions as hda5 and hda6 (there is a small yellow lock on it); but I can read but not write to the discs; I have used mepis on other machine, and I was under the impression that linux can read and write on FAT32 formatted drives?

How do I enable this and give me permission to write to these drives?

Or should I format them using qtparted from wthin linux as FAT32 (because I used WINXp to format them to Fat32, will that make a diffrence?)

Thanks
 
Old 02-04-2006, 02:10 PM   #2
J_K9
Member
 
Registered: Nov 2004
Distribution: Slackware 11, Ubuntu 6.06 LTS
Posts: 700

Rep: Reputation: 30
Hi,

No, all you have to do is give them the correct permissions. Try doing the following from the terminal:

Code:
$ su
Password:
# chmod a+rwx /dev/hda5
# chmod a+rwx /dev/hda6
That should work. Please let me know if it doesn't!

Cheers,

-jk
 
Old 02-04-2006, 02:22 PM   #3
smiley_lauf
Member
 
Registered: Jan 2006
Location: NY
Distribution: Fedora 15 x64
Posts: 344

Original Poster
Rep: Reputation: 30
Nope, no luck permission are set only for the owner, not group or others.
 
Old 02-04-2006, 02:35 PM   #4
J_K9
Member
 
Registered: Nov 2004
Distribution: Slackware 11, Ubuntu 6.06 LTS
Posts: 700

Rep: Reputation: 30
Quote:
Originally Posted by smiley_lauf
Nope, no luck permission are set only for the owner, not group or others.
That's what the chmod commands are doing - changing the permissions to allow everyone to have read, write and execute access.

Anyway, a simple search on this site turned up this. I quote, "We aren't here to do your homework, but to help if it goes wrong"

Cheers,

-jk
 
Old 02-04-2006, 02:43 PM   #5
smiley_lauf
Member
 
Registered: Jan 2006
Location: NY
Distribution: Fedora 15 x64
Posts: 344

Original Poster
Rep: Reputation: 30
Here is my fstab file:
===
# /etc/fstab: static file system information.
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0
/dev/hda8 / reiserfs notail 0 1
/dev/hda1 /media/hda1 ntfs defaults 0 0
/dev/hda5 /media/hda5 vfat defaults 0 0
/dev/hda6 /media/hda6 vfat defaults 0 0
/dev/hda7 none swap sw 0 0
/dev/hdb /media/cdrom0 udf,iso9660 user,noauto 0 0

==

The problem is that in ubuntu when I try to edit the file and save, I get further permission errors; I am not sure how to do this editign in terminal window. I am used to login in as root chnage the stuff and log back in. the sudo thingy i have not grown to learn as yet; perhaps u could show me??
 
Old 02-04-2006, 02:53 PM   #6
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
Instead of using su to become root, you just type sudo, followed by the command you want to run with root privileges, e.g.

$ sudo emacs /etc/fstab

will open your fstab in Emacs and you should be able to save the changes (obviously replace emacs with whatever editor you use!).
 
1 members found this post helpful.
  


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
can't write to fat32 partition after using nautilus stevanbt Linux - Newbie 6 02-01-2006 07:42 AM
permission for FAT32 partition academik Linux - Software 6 01-16-2006 10:20 AM
how to give ordinary users write permission to fat32 LeftyAce Debian 3 01-15-2006 04:03 PM
Write to FAT32 Partition ok? ziphem Linux - Newbie 8 01-25-2005 07:39 PM
Can't write to second FAT32 partition stewe151 Linux - Hardware 13 07-22-2002 11:28 PM


All times are GMT -5. The time now is 05:41 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration