Operating System - HP-UX
1752577 Members
4206 Online
108788 Solutions
New Discussion юеВ

Re: FTP Problem to access to home directory

 
SOLVED
Go to solution
Steven Schweda
Honored Contributor

Re: FTP Problem to access to home directory

> drwxrwxr-x 3 cg cg 14336 Aug 21 18:39 proc

That's about half the information needed.

> [...] i can├В┬┤t see the content [...]

WHO IS "i"?

whoami
who am i


As usual, showing actual commands with their
actual output might be more helpful than
vague descriptions and interpretations.
Jorge Olmos
Occasional Advisor

Re: FTP Problem to access to home directory

sorry for my poor info ... now i will attach a log with more info ... if you need more .. please let me know.

All the test was made with root user, except the ftp test who was made with jorge user

Regards
Steven Schweda
Honored Contributor

Re: FTP Problem to access to home directory

> guestgroup cg

So, you're setting this up as a guest
account? (That's important news.)

> usr/bin:
> total 120
> -r-xr-xr-x 1 root sys 61116 Aug 31 11:34 ls

You seem to have installed an "ls" in the
right place. Is it the right "ls"? Where
did you get it? The normal "ls"
("/usr/bin/ls") needs a bunch of run-time
libraries, which you don't have in this
chroot file system. The special
(static-linked) "ls" ("/sbin/ls") should work
better.

ls -l /sbin/ls /usr/bin/ls

You want the bigger one. (I believe that
"man ftpd" mentions this.) Did you say
whether this is a PA-RISC or IA64 system?
61116 seems to be too small to be the right
"ls", but its size depends on the hardware,
and I don't have an HP-UX system running
right now, so I can't easily look at mine.

(Or, for extra credit, you could create
"/try/work/proc/usr/lib", and copy into it
all the things needed by the normal "ls", but
that would be the hard way to do it.)
Jorge Olmos
Occasional Advisor

Re: FTP Problem to access to home directory

Thanks steve for your help ... you give me an idea ... the problem was ...

i├В┬┤d copy from /usr/bin/ls to /try/work/proc/usr/bin/ls ... but after your email .. i├В┬┤d copy from /sbin/ls to /try/work/proc/usr/bin/ls ... and all is working now.

Excelente help from you

Case Closed
Jorge Olmos
Occasional Advisor

Re: FTP Problem to access to home directory

Excelent help ...

Thanks
Steven Schweda
Honored Contributor

Re: FTP Problem to access to home directory

Note that with a better description of what
you did, you could have had the same answer
two days sooner.