LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   vfat permissions on linux box (https://www.linuxquestions.org/questions/linux-general-1/vfat-permissions-on-linux-box-13034/)

dave308 01-29-2002 09:34 PM

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

DavidPhillips 01-29-2002 10:00 PM



so you can write to it locally?

have you tried using samba?

dave308 01-29-2002 10:26 PM

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

DavidPhillips 01-30-2002 09:22 AM

vfat fs does not support unix file permissions.

Half_Elf 01-30-2002 01:57 PM

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.

dave308 02-01-2002 10:13 PM

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

omlex 08-24-2003 07:08 AM

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

acid_kewpie 08-24-2003 07:12 AM

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.

famavolat 09-20-2003 03:19 PM

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.

:eek:

omlex 09-23-2003 11:53 AM

I'm glad I was able to help.

tia

JasonTekNut 10-02-2003 10:39 PM

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


All times are GMT -5. The time now is 03:35 PM.