delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/03/09/17:20:41

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
From: "Scott Wallace" <saw AT ternion DOT com>
To: <cygwin AT cygwin DOT com>
Subject: FW: ls: .: No such file or directory
Date: Fri, 9 Mar 2001 16:17:56 -0600
Message-ID: <000c01c0a8e6$cbb735a0$27f3cfd8@pcsaw.ternion.com>
MIME-Version: 1.0
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook CWS, Build 9.0.2416 (9.0.2910.0)
Importance: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3

Here is the output of the commands you mentioned first from the initial
login directory (in which 'ls' works), then from c:/temp (which, like most
other directories, 'ls' doesn't work).  While just 'ls' doesn't work, 'ls'
with a complete pathname *does* work.  An 'ls' with a relative pathname like
"./" or "../" doesn't work.  I'm baffled.

=========================================================================
ternion21a 29# telnet pcdev1a
Trying 216.207.243.33...
Connected to pcdev1a.ternion.com.
Escape character is '^]'.

CYGWIN_NT-5.0 1.1.8(0.34/3/2) (pcdev1a) (tty0)

login: tmp
Password:

tmp AT PCDEV1A ~
$ echo $CYGWIN
ntsec

tmp AT PCDEV1A ~
$ getfacl .
# file: .
# owner: 544
# group: 544
user::rwx
group::---
group:18:rwx
mask::---
other::rwx
default:mask::---
default:other::rwx

tmp AT PCDEV1A ~
$ id
uid=1103(tmp) gid=1032(esd) groups=1032(esd)

tmp AT PCDEV1A ~
$ ls -ldn .
drwxrwxrwx  12 544      544          4096 Mar  7 18:18 .

tmp AT PCDEV1A ~
$ cd c:/temp

tmp AT PCDEV1A c/temp
$ ls
ls: .: No such file or directory

tmp AT PCDEV1A c/temp
$ ls c:/temp
drivers  lprmon.dll  setup.exe

tmp AT PCDEV1A c/temp
$ getfacl .
getfacl: No such file or directory

tmp AT PCDEV1A c/temp
$ ls -ldn .
ls: .: No such file or directory

tmp AT PCDEV1A c/temp
$

=================================================================

thanks, again, for anyone's help!
Scott Wallace



-----Original Message-----
From: cygwin-owner AT sources DOT redhat DOT com
[mailto:cygwin-owner AT sources DOT redhat DOT com]On Behalf Of Corinna Vinschen
Sent: Friday, March 09, 2001 3:19 PM
To: cygwin AT cygwin DOT com
Subject: Re: ls: .: No such file or directory


On Fri, Mar 09, 2001 at 12:02:45PM -0600, Scott Wallace wrote:
> Hello everyone,
>  I've searched the archives and found no answer to this, so...
> I've done a full install of Cygwin 1.1.8 from the internet onto my Win2k
> server.  I've setup the Cygwin telnetd to allow users to telnet into the
> machine to access files and such.  I've done the 'mkpasswd -d' and
> 'mkgroup -d' creating the files in the /etc/directory.
> The problem:
> When I telnet in and do an 'ls', I get the following error:
>
> ls: .: No such file or directory

Wired.  Could you send the output of the following commands, please?

	echo $CYGWIN
	getfacl .
	id
	ls -ldn .   <- From a local login

just to be able to see a bit more information.

Corinna

--
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Developer                                mailto:cygwin AT cygwin DOT com
Red Hat, Inc.

--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple


--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


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