LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 02-11-2005, 11:58 PM   #1
Xios
Member
 
Registered: Feb 2005
Posts: 40

Rep: Reputation: 15
Writing to FAT32 Partition


The permissions on my FAT32 partition will not let me write. So I try to change my permissions and it gives me this error...
Code:
Changing the attributes of files is not supported with protocol drives.
Could someone help me out in changing permissions to allow user to write to this partition?
 
Old 02-12-2005, 12:20 AM   #2
Nothin
LQ Newbie
 
Registered: Feb 2005
Location: IRDK - I Really Don't Know
Distribution: Fedora Core - 3
Posts: 1

Rep: Reputation: 0
Hi...

Hey...I also need to know how can I change the permission of this folder /mnt/x

OK...I also want to write to my FAT Partitions....
 
Old 02-12-2005, 12:32 AM   #3
Boby
Member
 
Registered: Feb 2004
Posts: 781

Rep: Reputation: Disabled
Add this to your /etc/fstab file:
Code:
/dev/hda2               /mnt/WinDrive            vfat    umask=000,iocharset=iso8859-1,codepage=850,users        0 0
I think it works with this too:
Code:
/dev/hda2               /mnt/WinDrive               vfat gid=#, mode=777
Now you should be able to write to your FAT32 drive as normal user after a restart.

Boby

Last edited by Boby; 02-12-2005 at 12:38 AM.
 
Old 02-12-2005, 02:33 AM   #4
jack_n_jilllll
LQ Newbie
 
Registered: Nov 2004
Location: Bangalore
Distribution: Redhat,Fedora
Posts: 8

Rep: Reputation: 0
Hi,


If u want to write to a fat partition,first u hav to mount it.This u can add it in the /etc/fstab.First find ur fat partition(using fdisk -l).If /dev/hda1 is ur fat partition

add the following to /etc/fstab


/dev/hda1 /mnt/Windos vfat users 0 0


create a directory named "windows" (as u wish) under /mnt.....also you can change the permissions by changing the 4th field (here "users") as mentioned by BOBY.



regds

 
Old 02-12-2005, 02:47 AM   #5
Xios
Member
 
Registered: Feb 2005
Posts: 40

Original Poster
Rep: Reputation: 15
I have a new problem. I wrote about 8 gigs to my FAT32 partition in root. Then I boot into windows and it does not read anything that I wrote. It says that it is 34k in size.
 
Old 02-12-2005, 06:36 AM   #6
dalek
Senior Member
 
Registered: Jul 2003
Location: Mississippi USA
Distribution: Gentoo
Posts: 2,058
Blog Entries: 2

Rep: Reputation: 79
Type in mount and make sure it is actually mounted. There could be a problem and it didn't actually mount the drive. I hate when that happens.

Later

 
Old 02-12-2005, 11:09 AM   #7
doc.nice
Member
 
Registered: Oct 2004
Location: Germany
Distribution: Debian
Posts: 274

Rep: Reputation: 34
fat32 only supports file with a maximum size of 2 GB,
maybe that's why it behaves so strange...
(write problem seems fixed by the fstab line, this was my idea, too)
 
Old 02-12-2005, 11:39 AM   #8
racingnut24
LQ Newbie
 
Registered: Dec 2004
Distribution: Sid
Posts: 5

Rep: Reputation: 0
If you can't read what you wrote on Linux with Windows, you may also want to run a check on the FAT32 partition, as I only have that problem when there are errors on it.
 
Old 02-12-2005, 12:21 PM   #9
Xios
Member
 
Registered: Feb 2005
Posts: 40

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by doc.nice fat32 only supports file with a maximum size of 2 GB,
There is no file over 2GB.

Quote:
Originally posted by racingnut24 If you can't read what you wrote on Linux with Windows, you may also want to run a check on the FAT32 partition, as I only have that problem when there are errors on it.
How would I do that? When I partitioned and reformatted it with bootit, it said there were no errors on the drive. But that could have easily changed.
 
  


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
How to format to FAT32, and how to mount my FAT32 partition. bonniehandi Linux - Newbie 16 03-05-2006 07:54 PM
Issues writing to Fat32 partition Samba Suse 10 usaf_sp SUSE / openSUSE 7 10-29-2005 02:17 PM
Writing to FAT32 endfx Linux - General 5 08-14-2005 10:02 AM
not writing to FAT32 Great_Mizuti Linux - Newbie 6 04-03-2005 05:46 PM
aMule and writing to FAT32 linmix Linux - Software 2 03-06-2005 12:09 PM

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

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