delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2007/02/20/12:45:30

X-Spam-Check-By: sourceware.org
Message-ID: <31b7d2790702200944l69c52f94n2aa1a266b1a11458@mail.gmail.com>
Date: Tue, 20 Feb 2007 11:44:56 -0600
From: "DePriest, Jason R." <jrdepriest AT gmail DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: 1.5.24 unable to access files via root / (forward slash)
In-Reply-To: <9061924.post@talk.nabble.com>
MIME-Version: 1.0
References: <9061924 DOT post AT talk DOT nabble DOT 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 2/20/07, Jeff2007  wrote:
>
> Hi,
>
> I'm trying to access files for reading via the / directive, i.e. vi
> /usr/foo.txt
> However, this will not open foo.txt, vi creates a new file in the current
> directory instead.
> I can cd to the /usr directory and open the file with vi usr.txt. I'm using
> vi as an example, I'm actually trying to compile files with a gcc variant,
> and it can't access files the the / path either.
>
> I've checked with the mount command that / is mounted, and it reports:
> D:\cygwin_root on / type system (binmode)
> Output from ls -lg /usr shows
> -rwxrwxrwx 1 mkgroup-l-d 13 Feb 20 13:33 foo.txt
> Which seems ok from what I've read?
>
> I've attached the output from cygcheck using cygcheck -srvv. Apologies if
> I'm missing something really simple here.
>
> http://www.nabble.com/file/6655/cygcheck.out cygcheck.out
>
> Thanks in advance,
>
>
> Jeff.
> --

Jeff,

mkgroup-l-d means that Cygwin doesn't know what group you are in.  I
believe when you run bash for the first time, you should see something
like this:
Your group name is currently "mkgroup_l_d". This indicates that not
all domain users and groups are listed in the /etc/passwd and
/etc/group files.
See the man pages for mkpasswd and mkgroup then, for example, run
mkpasswd -l -d > /etc/passwd
mkgroup  -l -d > /etc/group
This message is only displayed once (unless you recreate /etc/group)
and can be safely ignored.

Following that advice won't fix your path problems, but it is probably
something you should remedy as it could lead to problems or confusion
in the future.

-Jason

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