Subject: Re: ls not working

From: [email-masked] (Jane Milne)
Date: Thu, 26 Oct 95 14:58:06 EDT

Hi Walt,

    Thank you for your suggestion but, it didn't work.  It is the weirdest
thing.  I have the directories set, the permissions set but, as soon as
I put the 'guestgroup groupname' in the ftpaccess file, the 'ls' doesn't work.
Do you think you might have a sample ftpaccess file I could look at? Does
this problem ring any other bells for you?  I really appreciate your help.
This is my last stumbling block in a project I'm working on...(I think).

Thanks,

Jane

Jane Milne
Administrative Information Services T.S.
Canadian Microelectronics Corporation
Queen's University                              Phone:  (613) 530-4658
210A Carruthers Hall                            Fax:    (613) 548-8104
Kingston, Ontario  Canada K7L 3N6               E-mail:  [email-masked]

---

From: Jeffrey Weiss <[email-masked]>
Date: Thu, 26 Oct 1995 14:24:42 -0500 (CDT)

> This is my last stumbling block in a project I'm working on...(I think).

I, too, have this problem. No suggestions have worked. I'm running 
Solaris 2.3.

jeff

> Kingston, Ontario  Canada K7L 3N6               E-mail:  [email-masked]

___________________________________________________________________________
Jeffrey Weiss UNIX administrator    [email-masked]
TIES - Technology and Information Educational Services www.ties.k12.mn.us
(612)638-2311  fax (612)631-7519 1925 W. County Rd. B2,  Roseville, MN 55113

---

From: Luc Desrosiers <[email-masked]>
Date: Thu, 26 Oct 1995 16:03:56 -0400

> This is my last stumbling block in a project I'm working on...(I think).

To all of those suffering from this, check if you are running a dynamic
version of ls:

ldesrosi% file -f ~ftp/bin/ls
/usr/bin/ls:    ELF 32-bit MSB executable SPARC Version 1, dynamically linked, 
stripped
ldesrosi%

If so, then:

> From: [email-masked] (Tom Leach)
> Date: Tue, 29 Aug 1995 12:20:49 -0700
> To: [email-masked]
> Subject: Re: problems with 'ls -al' and 'dir'
>
> For people who are having problems with ls -al and dir on solaris 2.x systems,
> you might try the following to find out what's missing...
> 
> truss -f chroot ~ftp /bin/ls
>
> This will run the ls command in the same chroot'd environment that anonymous
> FTP runs in.  The truss will show you what files/libraries/devices are 
> accessed and where the ls is looking for them.

Truss is called "trace" on SunOs 4.x. To my knowledge, Slackware Linux no not
have a truss/trace utility. If you can't find a similar tools, just use brute
force: copy all /usr/lib in ~ftp/usr/lib and start deleting item one by one:
before long you'll find those needed.

To help a bit, here are the one I use on soalris:

---x--x---   1 bin      web        97804 Jul 16  1994 ld.so.1
lrwxrwxrwx   1 root     wheel         11 Sep 27 15:59 libc.so -> ./libc.so.1
-r--r-----   1 root     web       621540 Jul 10 18:56 libc.so.1
lrwxrwxrwx   1 root     wheel         10 Sep 27 15:59 libdl.so -> libdl.so.1
-r--r-----   1 bin      web         3492 Jul 15  1994 libdl.so.1
lrwxrwxrwx   1 root     wheel         12 Sep 27 15:59 libintl.so -> 
libintl.so.1
-r--r-----   1 bin      web        13516 Jul 15  1994 libintl.so.1
-r--r-----   1 bin      web        88868 Jul 16  1994 libld.so.1
lrwxrwxrwx   1 root     wheel          9 Sep 27 15:59 libw.so -> libw.so.1
-r--r-----   1 bin      web        41704 Jul 15  1994 libw.so.1
-r--r-----   1 root     web        18496 Jul 10 18:26 nss_files.so.1

If you want to see local time listed as oppose to GMT, you will need your
appropriate zone time information in ~ftp/usr/share/zoneinfo/xxx

Luc Desrosiers
CIRISQ, CRIM

---

From: Mark Eichin <[email-masked]>
Date: Thu, 26 Oct 1995 16:29:49 -0400

> have a truss/trace utility. If you can't find a similar tools, just use brute

It's called strace (and it's quite nice, much better interpretation of
arguments than truss or trace...) And it appears to be on the
slackware d8 disk:

533380   41 -r--r--r--   1 daemon   ftp-linu    41197 Feb 19 22:11 ./distributions/slackware/slakware/d8/strace.tgz

though perhaps that's from some previous version of slackware - the above
path is on tsx-11.mit.edu.
							_Mark_

---

From: Michael Brennen <[email-masked]>
Date: Thu, 26 Oct 1995 15:36:48 -0500 (CDT)

> path is on tsx-11.mit.edu.

On Linux, 'ldd' works well to determine what dynamic libraries are 
required for a given executable.

Michael
---------------------------------------------------------------------
Michael Brennen                                      [email-masked]
FishNet, Inc.                                     http://www.fni.com/ 
P.O. Box 940451                              (214) 783-2553 (vox/fax)
Plano,  TX  75074-0451                   finger me for PGP public key