www.delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-SWARE-Spam-Status: | No, hits=-2.5 required=5.0 tests=AWL,BAYES_00 |
X-Spam-Check-By: | sourceware.org |
Date: | Sun, 14 Feb 2010 12:14:57 +0100 |
From: | Gary <cygwin AT garydjones DOT name> |
To: | cygwin AT cygwin DOT com |
Subject: | Re: What permissions should /home/user/.. have? |
Message-ID: | <20100214111457.GA2428@mimosa.garydjones.name> |
Mail-Followup-To: | cygwin AT cygwin DOT com |
References: | <20100213100834 DOT GA3828 AT mimosa DOT garydjones DOT name> <4B76F2D6 DOT 90108 AT cygwin DOT com> |
Mime-Version: | 1.0 |
In-Reply-To: | <4B76F2D6.90108@cygwin.com> |
X-IsSubscribed: | yes |
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 Sat, Feb 13, 2010 at 01:43:34PM -0500, Larry Hall (Cygwin) wrote: > On 02/13/2010 05:08 AM, Gary wrote: > >Weird question maybe, but what permissions should the ".." directory > >entry have that sits in /home/<user>? > > > >I'm getting some weird behaviour from grep -r (in my home directory it > >appears to be traversing up the .. entry and trying to access other > >users' files) and wondering if the permissions are the cause. > > You sure you don't have a symlink or mount that grep can traverse in > that directory? Hmm. There are some symlinks, but not to the other user's home directory. I know what it is. User error, I suppose. I did: $ grep -Irl foo .* I should have done $ grep -Irl foo .[^\.]* which correctly searches just the dotfiles without traversing "..". -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |