public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: "Larry Hall (Cygwin)" <reply-to-list-only-lh@cygwin.com>
To: cygwin@cygwin.com
Subject: Re: weird samba problems, latest cygwin, samba 3.0.25b-4.2
Date: Tue, 27 Nov 2007 08:58:00 -0000	[thread overview]
Message-ID: <474BA3CA.8060004@cygwin.com> (raw)
In-Reply-To: <20071127030358.LQYY13553.mta13.adelphia.net@dual-xeon.jeffunit.com>

jeffunit wrote:
> I built a fileserver running mandriva linux 2008 and samba 3.0.25b-4.2
> After copying lots of files there, I decided to run cygwin 'diff -r' to 
> be sure
> they really got copied ok. I ran into problems. Here is what I know.
> 
> For example, to copy the emacs-22.1 source tree to my server, I use the 
> command
> from bash of 'cp -r -p emacs-22.1 /cygdrive/q/u/emacs-22.1' , where q is a
> samba share on my fileserver. When I run diff, diff reports that many files
> were not copied (here is a snippet of its output):
> 
> Only in emacs-22.1/lisp/gnus: rfc2045.elc
> Only in emacs-22.1/lisp/gnus: rfc2047.elc
> Only in emacs-22.1/lisp/gnus: rfc2104.elc
> Only in emacs-22.1/lisp/gnus: rfc2231.elc
> Only in emacs-22.1/lisp/gnus: score-mode.elc
> Only in emacs-22.1/lisp/gnus: sha1.elc
> Only in emacs-22.1/lisp/gnus: sieve-manage.el
> 
> When I open a dos box on windows xp, and look for the 'missing' files, 
> using the
> dos command 'dir', they are present. When I use the cygwin command 'ls' 
> they
> are not present. When I go to the fileserver, they are present and look 
> fine in owner,
> group, permission, date, etc.
> 
> I wrote my own utility in python (using cygwin's python), that just 
> looks for files
> being present, and it does not report these 'missing' files from diff's 
> output
> as being missing, but it does report the odd 'nnmaildir' problem (info 
> below).
> 
> Another odd thing, is that when I use the dos command dir on the gnus 
> directory,
> I get a file called 'nnmaildir'. It shows up on linux as nnmaildir.elc 
> (as it should).
> When I use the dos command 'dir nnmai*', I get
> 10/15/2006  02:49 AM            61,802 nnmaildir.el
> 06/02/2007  04:57 AM            53,366 nnmail.elc
> 06/02/2007  04:57 AM            98,983 nnmaildir.elc
> 03/31/2007  02:10 PM            71,317 nnmail.el
> 
> which is what it should be, but there is no 'nnmaildir' file which is 
> reported with the
> dos command dir.
> 
> ls -als nnma* reports
> 1024 -rw-r--r-- 1 jdeifik None 53366 Jun  2 05:57 nnmail.elc
> 1024 -rw-r--r-- 1 jdeifik None 61802 Oct 15  2006 nnmaildir.el
> and doesn't report the bogus 'nnmaildir' at all.
> 
> All of this strangeness is also present if I use the microsoft windows 
> explorer to
> copy the files rather than 'cp -r -p'. If I am copying to a local disk 
> on windows xp,
> there are no problems according to diff or my python script.
> 
> Except for the dos command dir reporting 'nnmaildir' when used without any
> qualifiers, there are no obvious microsoft specific problems.
> 
> It seems to me that cygwin utilities/portability layer is acting 
> strangely with samba
> shares. Of course there is a possibility that there are issues with 
> samba itself.
> 
> Any ideas how to resolve these issues?

Have you tried setting your CYGWIN environment variable to "smbntsec" (in
Windows, not Cygwin), exiting all Cygwin processes (including any services,
which you don't have unless you've configured them since sending this
email), and starting bash again?

So your shared drive from Linux is NTFS?

-- 
Larry Hall                              http://www.rfk.com
RFK Partners, Inc.                      (508) 893-9779 - RFK Office
216 Dalton Rd.                          (508) 893-9889 - FAX
Holliston, MA 01746

_____________________________________________________________________

A: Yes.
 > Q: Are you sure?
 >> A: Because it reverses the logical flow of conversation.
 >>> Q: Why is top posting annoying in email?

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

  reply	other threads:[~2007-11-27  4:58 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-11-27  4:24 jeffunit
2007-11-27  8:58 ` Larry Hall (Cygwin) [this message]
2007-11-28  0:04   ` jeffunit
2007-11-29 22:44   ` jeff
2007-11-30  5:11     ` David Rothenberger
2007-12-02 16:30 jeff

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=474BA3CA.8060004@cygwin.com \
    --to=reply-to-list-only-lh@cygwin.com \
    --cc=cygwin@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).