Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com X-Authentication-Warning: slinky.cs.nyu.edu: pechtcha owned process doing -bs Date: Mon, 14 Oct 2002 10:54:11 -0400 (EDT) From: Igor Pechtchanski Reply-To: cygwin AT cygwin DOT com To: Scott Prive cc: cygwin AT cygwin DOT com Subject: RE: Cygwin can't write to CIFS... but cmd.exe *can* (more) In-Reply-To: <7BFCE5F1EF28D64198522688F5449D5AC1E2C0@xchangeserver2.storigen.com> Message-ID: Importance: Normal MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Scott, I've had some trouble with file permissions on samba shares under Win2k. Not anything as severe as yours, but the files created on a share didn't inherit the world read permissions of the directories (and those couldn't be set). I wonder if these are related? Igor On Mon, 14 Oct 2002, Scott Prive wrote: > ...of course, when I do this (in either example), I have cd'd to the > CIFS share (/cygdrive/w/ in both cases) > > Also, the share is authenticated as a test account other than who I am > in the shell (shell user=Administrator; CIFS authenticated as user > 'foo'). > > I'm wondering if this has anything to do with my problem, but one would > expect to be able to authenticate CIFS shares as other users (I even > tried mapping the drive under plain Explorer). > > What puzzles me is if I start cmd.exe as a subprocess of bash, the > writes succeed. > > -Scott > > > Example: > > After authentication/mount (via net use), I try `echo "foo" > > >myfile.txt` -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_ pechtcha AT cs DOT nyu DOT edu ZZZzz /,`.-'`' -. ;-;;,_ igor AT watson DOT ibm DOT com |,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! "Water molecules expand as they grow warmer" (C) Popular Science, Oct'02, p.51 -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/