delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/10/14/15:01:34

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Subject: RE: Cygwin can't write to CIFS... but cmd.exe *can* (more)
MIME-Version: 1.0
Date: Mon, 14 Oct 2002 15:01:24 -0400
X-MimeOLE: Produced By Microsoft Exchange V6.0.5762.3
Message-ID: <7BFCE5F1EF28D64198522688F5449D5AD63A39@xchangeserver2.storigen.com>
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
From: "Scott Prive" <Scott DOT Prive AT storigen DOT com>
To: <cygwin AT cygwin DOT com>
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id g9EJ1XL14286

Igor,

I suspect the resolution to my problem will be different from yours.

For me, I just wanted shares mounted under Cygwin to behave the same as if I mounted it under Command Prompt. I got this result by disabling ntsec for CIFS shares ("nosmbntsec"). 

I couldn't provide an answer for your inheriting-permissions issue, sorry.

-Scott
(Eagerly awaiting someone to write an O'Reily book on Cygwin :-)



> -----Original Message-----
> From: Igor Pechtchanski [mailto:pechtcha AT cs DOT nyu DOT edu]
> Sent: Monday, October 14, 2002 10:54 AM
> To: Scott Prive
> Cc: cygwin AT cygwin DOT com
> Subject: RE: Cygwin can't write to CIFS... but cmd.exe *can* (more)
> 
> 
> 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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019