Operating System - HP-UX
1753326 Members
4913 Online
108792 Solutions
New Discussion юеВ

ownership of file is not correct after ftp

 
Santhosh.c
Advisor

Re: ownership of file is not correct after ftp

FYI please,

dmocoi $ grep dfsdsftp /etc/passwd
dfsdsftp:*:2764:493:FID - ftp only:/imsfeeds1/ftp/home/dfsdsftp/./:/usr/bin/false
dmocoi $
dmocoi $ grep 2764 /etc/passwd
dfsdsftp:*:2764:493:FID - ftp only:/imsfeeds1/ftp/home/dfsdsftp/./:/usr/bin/false
dmocoi $
dmocoi $ ypcat passwd
ypcat: the NIS domain name hasn't been set on this machine
dmocoi $
dmocoi $
dmocoi $ grep bcmkftp /etc/passwd
bcmkftp:*:2525:493:FTP only FID:/imsfeeds1/ftp/home/bcmkftp/./:/usr/bin/false
dmocoi $

Thanks,
Santhosh
santhosh
Steven Schweda
Honored Contributor

Re: ownership of file is not correct after ftp

It would be nice to know if the problem is
with ftpd or the parent directory (or
something else). You might try giving that
user a real shell, and then trying that
"mkdir" interactively.

Any ACLs here?
Santhosh.c
Advisor

Re: ownership of file is not correct after ftp

There is no shell for this user. Here is the /etc/passwd entry
dfsdsftp:*:2764:493:FID - ftp only:/imsfeeds1/ftp/home/dfsdsftp/./:/usr/bin/false
santhosh
OldSchool
Honored Contributor

Re: ownership of file is not correct after ftp

You said: "There is no shell for this user..."


But what Steven suggested was: "You might try giving that user a real shell, and then trying that "mkdir" interactively."
Santhosh.c
Advisor

Re: ownership of file is not correct after ftp

It is working fine from shell.
Thanks,
Santhosh
santhosh