This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
FW: ls: .: No such file or directory
- To: <cygwin at cygwin dot com>
- Subject: FW: ls: .: No such file or directory
- From: "Scott Wallace" <saw at ternion dot com>
- Date: Fri, 9 Mar 2001 16:17:56 -0600
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@PCDEV1A ~
$ echo $CYGWIN
ntsec
tmp@PCDEV1A ~
$ getfacl .
# file: .
# owner: 544
# group: 544
user::rwx
group::---
group:18:rwx
mask::---
other::rwx
default:mask::---
default:other::rwx
tmp@PCDEV1A ~
$ id
uid=1103(tmp) gid=1032(esd) groups=1032(esd)
tmp@PCDEV1A ~
$ ls -ldn .
drwxrwxrwx 12 544 544 4096 Mar 7 18:18 .
tmp@PCDEV1A ~
$ cd c:/temp
tmp@PCDEV1A c/temp
$ ls
ls: .: No such file or directory
tmp@PCDEV1A c/temp
$ ls c:/temp
drivers lprmon.dll setup.exe
tmp@PCDEV1A c/temp
$ getfacl .
getfacl: No such file or directory
tmp@PCDEV1A c/temp
$ ls -ldn .
ls: .: No such file or directory
tmp@PCDEV1A c/temp
$
=================================================================
thanks, again, for anyone's help!
Scott Wallace
-----Original Message-----
From: cygwin-owner@sources.redhat.com
[mailto:cygwin-owner@sources.redhat.com]On Behalf Of Corinna Vinschen
Sent: Friday, March 09, 2001 3:19 PM
To: cygwin@cygwin.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@cygwin.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