X-Recipient: archive-cygwin@delorie.com
X-Spam-Check-By: sourceware.org
From: "Dave Korn" <dave.korn@artimi.com>
To: <cygwin@cygwin.com>
References:  <a80482d0802221032t65ce5184x50c1da849fb7dbbc@mail.gmail.com> <005c01c87584$518c6f30$2e08a8c0@CAM.ARTIMI.COM>  <loom.20080224T135049-312@post.gmane.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
Content-Type: text/plain; 	charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-Mailer: Microsoft Office Outlook 11
In-Reply-To:  <loom.20080224T135049-312@post.gmane.org>
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.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/

