Mail Archives: cygwin/2001/03/09/17:20:41
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 -