On Monday 18 Nov 2013 05:29:04 Mark Filipak wrote: > My setup is a virtual machine environment. > Host OS: Windows-7, 64bit, without an Internet connection. > Guest OS: Linux Mint 14, with an Internet connection. > Shared folder #1: The download directory (Net > Guest > Host). > Shared folder #2: The maildir directories. > > Problem: Maildir filenames use characters that are illegal in Windows. > Solution: Samba? How? I'm ignorant of Samba.
There isn't much to it and the Samba documentation is excellent. Just to try things out quickly you can enable guest users. > Problem: Windows permissions can create problems for Linux. > Solution: Make the shared folders a separate, ext3 partition - I think that > Samba comes into play here also. I don't know what permissions problems you are talking about, but you have three main options that I can think of: 1. A Linux fs, which MSWindows can read. There are MSWindows drivers for ext2, but I don't know if they work for 64bit systems, how ACLs translate across OS' etc.; 2. A Linux only fs that MSWindows cannot read, e.g. ext4 and use something like SAMBA to serve the files across the OS boundary. 3. A MSWindows fs like NTFS and use ntfs-3g to mount it from Linux. The same would apply with VFAT, although NTFS is more robust. However, although 1 and 3 above will work nicely when dual booting, with concurrent access to the same fs from two different OS' you are asking for trouble. File locks may be violated if you try to write to the same file and data become corrupted. You may be able to set up special file or directory locking through some shell script in Linux, or EMCO MoveOnBoot on MSWindows, but I would leave this as an exercise for a rainy day. This leaves option 2, SAMBA as a plausible solution - application rather than fs level access from MSWindows. However, I have never used SAMBA in this operating context and don't know what would happen if both OS tried to write to a file concurrently - Linux at fs level and MSWindows at an application level. I would think that application level locks would manage access to it. Better try it out first before you trust your data to it. -- Regards, Mick
signature.asc
Description: This is a digitally signed message part.