[hblug] File Sharing & File Read/Write

Michael Adams mbadams at paradise.net.nz
Sun Aug 20 12:05:03 NZST 2006


On Sat, 19 Aug 2006 10:20:10 +1200
Rene Bartosh wrote:

> On 18/08/06, Perry Spiller <p.spiller at xtra.co.nz> wrote:
> >
> >  Earlier, Rene commented:
> >
> >  If you want to share files between either win2k or winxp and linux
> >  installed on the same machine, you will need to have the windows
> >  root partition (thats C: in windows-speak) as a fat32 drive.
> >  However as this is not recommended for security and performance,
> >  the best compromise is to have C: as an NTFS partition (this is the
> >  default IIRC) and have a seperate fat32 partition to keep files on
> >  that you wish to access from both OSes.
> >
> >  If however you have a windows machine and a linux machine on a
> >  network, file systems don't matter at all because you just use
> >  samba to share files/printers (normal windows file sharing - SMB or
> >  CIFS).
> > -------------------------------------------------------------------
> > ------------
> >
> >  Rene
> >
> >  Am I missing something, here? Or is it the context of your reply
> >  that's giving me a skewed impression. To explain . . . .
> >
> >  On my wife's Linux PC are 2 HDDs. One is FAT32 and the
> >  other is whatever Xandros decided upon. Reiser [?] xxxxx,
> >  as I recall.
> >
> >  Now it was set up like that so that her home directory was on
> >  the FAT32 drive, so that windows machines on the network could
> >  read AND write to that drive and she could do the same.
> 
> That sounds very unusual, as fat32 dosn't have full linux
> file/directory permission. I image things like ssh-keys and gpg would
> not run on your wifes machine.
> 
> With regard to sharing files over the network, as long as the host OS
> can read/write to it the file system dosn't matter, IE a windows box
> can share NTFS to linux over the network and a linux box can share
> reiser, ext3, XFS or whatever you please to windows machines over the
> network.
> 
> FAt32 is only needed if you are dual-booting and the machine and wish
> to share files on the same HDD in the same machine. However using
> fat32 for storing anything other than user-created files (IE your
> documents and media etc) is not recommended, as most software you will
> run on linux stores its configuration in your home directory and some
> will bork if the group or other read/write/execute permissions are not
> set exactly the way it likes (ala my example of ssh keys and gpg
> previously).
> 
> If you are not sure exactly have your wifes machine is setup please
> feel free to paste us the output of the mount command.

Also good for this is:
# df -hT

-- 
Michael
 Those that can, do; those that can't, teach.




More information about the HBLUG mailing list