delorie.com/archives/browse.cgi | search |
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> <012c01c876f1$94f095d0$2e08a8c0 AT CAM DOT ARTIMI DOT COM> <loom DOT 20080225T102956-902 AT post DOT gmane DOT org> |
Subject: | RE: chmod o-r woes... |
Date: | Mon, 25 Feb 2008 10:43:44 -0000 |
Message-ID: | <003601c8779b$4af55f10$2e08a8c0@CAM.ARTIMI.COM> |
MIME-Version: | 1.0 |
X-Mailer: | Microsoft Office Outlook 11 |
In-Reply-To: | <loom.20080225T102956-902@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 25 February 2008 10:36, Marc Girod wrote: >> So, try your original test again, but with >> >> ~> export CYGWIN=ntsec smbntsec >> >> at the start. > > Thanks. This helpped. > I didn't even have to give the chmod again. > With the environment variable, the rights showed up correctly. > [I now set this to my .bash_profile] I always set my basic CYGWIN settings in the windows system properties global environment. > Which is of course worrisome: in order to read my password, > on just needs to unset the CYGWIN environment variable... If the remote drive supports proper NTFS ACLs, any file cygwin creates on it /while/ CYGWIN=smbntsec is in effect will have proper NTFS access permissions, so, e.g. if it has rwx------, it will only have access permissions for your windows user account. You might want to chmod -R 700 (or whatever group/world perms you'd prefer) your home drive to make sure nobody can go snooping. 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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |