On 12.04.2010, at 14:04, Jamie Lokier wrote: > Alexander Graf wrote: >> Also since -net user does support samba exporting already, > > This I'm interested in. Last time I tried to use it, the "smb=" > option didn't work because Samba refused to run when launched with > qemu's mini config file and launched as a regular user. It needed > access to various hard-coded root-owned directories, and spewed lots > of errors about it into its logs. > > On closer inspection, those directories were hard-coded and could not > be changed by the config file, nor could the features they were for be > disabled. > > Even if I gave it permission to write to those, by running kvm/qemu as > root, there was plenty of reason to worry that each instance of > qemu-spawned Samba may interfere with the others and with the host's > own.... starting with errors spewed into log files by both Sambas. > > So I had to give up on -net user,smb= completely :-( > > Is this something that you at SuSE have fixed or simply never encountered? I think I tried -net user,smb some years ago and found it not working either. Either way, this sounds more like someone should spend a few hours getting samba fixed instead of occupying a talented student for a full summer where he could instead to more productive things :-). Alex -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html