LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 01-29-2002, 09:34 PM   #1
dave308
LQ Newbie
 
Registered: Dec 2001
Posts: 16

Rep: Reputation: 0
vfat permissions on linux box


gday,
i have a dual boot linux/dos box where linux is on hda1 and dos (vfat) on hdc1 . from another networked w98 machine i can see read and write to the linux drive on the linux box, but cant write to the vfat drive - even when i telnet in as root ...

this is driving me up the wall as ive tried many mounting parameters from these forums but still can only read from it ..

heres my fstab as it is now:
LABEL=/ / ext2 defaults 1 1
/dev/fd0 /mnt/floppy auto noauto,owner 0 0
/dev/hdc1 /mp3 vfat user,defaults 0 0
none /proc proc defaults 0 0
none /dev/pts devpts gid=5,mode=620 0 0
/dev/hda5 swap swap defaults 0 0
/dev/cdrom /mnt/cdrom iso9660 noauto,owner,kudzu,ro 0
0

i want to be able to send files from my w98 machine to the vfat drive on the linux box ...

any insight appreciated

Dave
 
Old 01-29-2002, 10:00 PM   #2
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58


so you can write to it locally?

have you tried using samba?
 
Old 01-29-2002, 10:26 PM   #3
dave308
LQ Newbie
 
Registered: Dec 2001
Posts: 16

Original Poster
Rep: Reputation: 0
thanks for the reply
i've tried to copy a file locally, it was a 3 mb file which seemed to take a while and only 600 kb was copied across when i got this error :
reading `filename': Input/output error

???

hda1 is a 1.5 gb drive with linux on it and hdc1 is a wd 30gb drive with vfat/dos on it and only half full ...

i have also tried to untar the 2.4.17 kernel src onto this drive (not enough space on the linux one) and only 1.6mb was done before i was flooded with :
tar: linux/fs/umsdos/notes: Cannot change ownership to uid 573, gid 573: Operation not permitted
linux/fs/umsdos/specs
tar: linux/fs/umsdos/specs: Cannot change ownership to uid 573, gid 573: Operation not permitted

im also using samba ...


thanks again
Dave
 
Old 01-30-2002, 09:22 AM   #4
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
vfat fs does not support unix file permissions.
 
Old 01-30-2002, 01:57 PM   #5
Half_Elf
LQ Guru
 
Registered: Sep 2001
Location: Montreal, Canada
Distribution: Slackware; Debian; Gentoo...
Posts: 2,163

Rep: Reputation: 46
Fat32 is just as his name says: Big and Stupid.
You will NEVER be able to set permission on the sh*t hehehe.

But when you saw this error msg,your copy is already done, the permission change is the last operation to do in a copy/paste (I think) so I bet you can already tranfert files. But if you haven't any "server", you will neeed to use samba.

Btw,only root have right on different mounted files system.
 
Old 02-01-2002, 10:13 PM   #6
dave308
LQ Newbie
 
Registered: Dec 2001
Posts: 16

Original Poster
Rep: Reputation: 0
thanks all for the replies, once again windows lost and i've backed up 15gb and reformatted it as ext2

surprisingly it is working well

thanks again
Dave
 
Old 08-24-2003, 07:08 AM   #7
omlex
LQ Newbie
 
Registered: Jul 2003
Posts: 22

Rep: Reputation: 15
I know its too late but just FYI

/dev/hdc1 /mp3 vfat auto,user,umask=000 0 0

You will able to access/write the windows partition.

tia
 
Old 08-24-2003, 07:12 AM   #8
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
we'd rather you didn't drag up old threads. Obviously it's good advice but a thread that hasn't been touch for more than 18 months... it can get very confusing if people start trying to help a non existant problem etc... thanks.
 
Old 09-20-2003, 03:19 PM   #9
famavolat
LQ Newbie
 
Registered: Aug 2003
Location: Louisville, KY
Distribution: Arch Linux
Posts: 6

Rep: Reputation: 0
lol

Actually.. I was just surfing around for a fix to a problem I had and omlex's solution was just what I was looking for.
So it wasn't in vein.

 
Old 09-23-2003, 11:53 AM   #10
omlex
LQ Newbie
 
Registered: Jul 2003
Posts: 22

Rep: Reputation: 15
I'm glad I was able to help.

tia
 
Old 10-02-2003, 10:39 PM   #11
JasonTekNut
LQ Newbie
 
Registered: Oct 2003
Distribution: RedHat
Posts: 1

Rep: Reputation: 0
Thank you omlex! That was the exact solution I've been trying to find for days!
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
VFAT mount permissions duckboy Linux - General 6 07-26-2005 03:56 AM
vfat file permissions Magusofdreams Linux - Newbie 6 03-11-2005 11:30 AM
Windows can't see vfat partition on Linux box bankfishin Linux - Networking 4 04-19-2004 10:51 PM
mounted vfat permissions n3tw0rk Linux - General 3 12-05-2003 04:41 PM
vfat write permissions andrea.corelli Linux - General 4 04-23-2002 02:43 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 06:46 PM.

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