[Samba] LF vs CRLF (Was: Mapping a network drive to a Windows Drive Letter)
[EMAIL PROTECTED] schrieb: We have this working. however Some developers edit files using windows editors and when they then copy them to the Windows Drive Letter which is mapped to a Unix machine, the resultant file is full of ^M characters. build breaks. and so on Until now we have been telling users to run dos2unix beforehand, but somebody told me that Samba can handle this if properly configured ? Is this possible ?If so can somebody please help me ? This cannot be done. Samba would need to decide for every file whether it is DOS text, that needs to be recoded, or a binary file, which must not be touched. -- Wolfgang Ratzka Phone: +49 6421 2823531 FAX: +49 6421 2826994 Uni Marburg, HRZ, Hans-Meerwein-Str., D-35032 Marburg, Germany -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] LF vs CRLF (Was: Mapping a network drive to a Windows Drive Letter)
On Wed, 17 Jan 2007, Wolfgang Ratzka wrote: [EMAIL PROTECTED] schrieb: We have this working. however Some developers edit files using windows editors and when they then copy them to the Windows Drive Letter which is mapped to a Unix machine, the resultant file is full of ^M characters. build breaks. and so on Until now we have been telling users to run dos2unix beforehand, but somebody told me that Samba can handle this if properly configured ? Is this possible ?If so can somebody please help me ? This cannot be done. Samba would need to decide for every file whether it is DOS text, that needs to be recoded, or a binary file, which must not be touched. Do you use a source code management tool like CVS for your files? We use CVS and have configured it to check for DOS files (and other things) upon commit. In our case we've set it up to disallow the commit and force the developer to fix the problem(s). If you are using an SCM tool, perhaps you could get it to do something similar or even automatically do the conversion for you. -- DE -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba