delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2008/02/24/09:29:41

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
From: "Dave Korn" <dave DOT korn AT artimi DOT com>
To: <cygwin AT cygwin DOT com>
References: <a80482d0802221032t65ce5184x50c1da849fb7dbbc AT mail DOT gmail DOT com> <005c01c87584$518c6f30$2e08a8c0 AT CAM DOT ARTIMI DOT COM> <loom DOT 20080224T135049-312 AT post DOT gmane DOT org>
Subject: RE: chmod o-r woes...
Date: Sun, 24 Feb 2008 14:28:53 -0000
Message-ID: <012c01c876f1$94f095d0$2e08a8c0@CAM.ARTIMI.COM>
MIME-Version: 1.0
X-Mailer: Microsoft Office Outlook 11
In-Reply-To: <loom.20080224T135049-312@post.gmane.org>
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/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

On 24 February 2008 14:00, Marc Girod wrote:

> Thanks Dave,
> 
> Dave Korn <dave.korn <at> artimi.com> writes:
> 
>>   This H drive of which you speak, it is a network drive perhaps?
> 
> Indeed.

  Highly significant ...

>>   But I agree that documentation you mentioned could be clarified a bit, it
>> doesn't (as far as I could see after a quick skim through) explicitly
>> mention smbntsec, just links to the ntsec section of the same page.
> 
> ntsec binds to a url.
> No smbntsec.html can be found from the same space.
> Do you have a path for me?

  Like I said, it's there, but only implicitly:

http://cygwin.com/cygwin-ug-net/ntsec.html:
"NT security and usage of ntsec

The setting of UNIX like object permissions is controlled by the CYGWIN
environment variable setting (no)ntsec which is set to ntsec by default."

-> the words "CYGWIN environment variable" are a link to
   http://cygwin.com/cygwin-ug-net/using-cygwinenv.html

-> description of ntsec

-> description of smbntsec just below:

"(no)smbntsec - if set, use ntsec on remote drives as well (default is
"nosmbntesc"). When setting "smbntsec" there's a chance that you get problems
with Samba shares so you should use this option with care. One reason for a
non working ntsec on remote drives could be insufficient permissions of the
users. The requires user rights are somewhat dangerous (SeRestorePrivilege),
so it's not always an option to grant that rights to users. However, this
shouldn't be a problem in NT domain environments."


  So, try your original test again, but with

~> export CYGWIN=ntsec smbntsec

at the start.

    cheers,
      DaveK
-- 
Can't think of a witty .sigline today....


--
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/

- Raw text -


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