[SunHELP] Strange file permission after upload with ftp

james jdickens at ameritech.net
Wed Sep 11 07:27:09 CDT 2002


On Wednesday 11 September 2002 04:32 am, Simon Jespersen wrote:
> Hi fellow solaris folks!
>
> I have this strange problem on my ftp server running solaris 8, with the
> proftpd server.
>
> the proftpd server runs as the nobody user by default.
> i created a ellentft user.
>
> When this user uploads files the uploaded file is owned by a third user
> called bb and har member of group users, whch is used for the bigbrother
> monitoring system.
>
> There is no configuration sisue in the proftpd regarding this!
> the umask for this ftp client is set to 222
>
>
> my passwd file looks like this
>
> root:x:0:1:Super-User:/:/sbin/sh
> daemon:x:1:1::/:
> bin:x:2:2::/usr/bin:
> sys:x:3:3::/:
> adm:x:4:4:Admin:/var/adm:
> lp:x:71:8:Line Printer Admin:/usr/spool/lp:
> uucp:x:5:5:uucp Admin:/usr/lib/uucp:
> nuucp:x:9:9:uucp Admin:/var/spool/uucppublic:/usr/lib/uucp/uucico
> listen:x:37:4:Network Admin:/usr/net/nls:
> nobody:x:60001:60001:Nobody:/:
> noaccess:x:60002:60002:No Access User:/:
> nobody4:x:65534:65534:SunOS 4.x Nobody:/:
> mosaic:x:100:100:mosaic user:/opt/mosaic:/bin/ksh
> sybase:x:101:100:sybase user:/opt/sybase:/bin/ksh
> ellentoft:x:102:100:Ellentoft user:/opt/ellentoft:/bin/ksh
> oracle:x:1001:101:Oracle ejer:/opt/oracle:/bin/ksh
> ittie:x:10:0::/:/bin/sh
> ittolo:x:1002:1::/home/ittolo:/bin/sh
> mos4:x:1003:101:Mosaic 4.3-3 bruger:/opt/mos4:/bin/ksh
> ciroot:x:0:1:Super-User:/opt/ciroot:/usr/bin/tcsh
> ci:x:1111:1111:cidentigo-User:/Local/Users/ci:/usr/bin/tcsh
> ftpuser:x:1004:102:test user for ftp server:/export/home/ftpuser:/bin/ksh
> shj:x:1005:102:test user for ftp server:/export/home/shj:/bin/ksh
> ftp:x:1006:103:anonymous ftp user:/export/home/anonymous:/bin/ksh
> alfa:x:1007:101:Alfa mediastore:/opt/alfa:/bin/ksh
> dennis:x:500:1:Dennis:/opt/dennis:/bin/ksh
> ftp-pub:x:1112:100:ftp user for maintaince of
> data:/export/home/anonymous/pub:/bin/ksh
> bb:x:1008:100:bigbroher server user:/usr/local/bb/bb18b3:/bin/ksh
> ftp_ellentoft:x:1007:100:anonymous ftp user for
> ellentoft:/hosting/ellentoft/ftp_out:/bin/ksh
> ellentft:x:1008:102:user for ellentoft:/hosting/ellentoft/InetMan/:/bin/ksh
> bash-2.03#
>

Hi

Notice that both

> bb:x:1008:100:bigbroher server user:/usr/local/bb/bb18b3:/bin/ksh
> ellentft:x:1008:102:user for ellentoft:/hosting/ellentoft/InetMan/:/bin/ksh

have the same userid 1008 the computer sees the userid bb first so that is why
they come up as owned as bb

>
> my group file looks like this
>
> root::0:root
> other::1:dennis
> bin::2:root,bin,daemon
> sys::3:root,bin,sys,adm
> adm::4:root,adm,daemon,mosaic,bb
> uucp::5:root,uucp
> mail::6:root
> tty::7:root,tty,adm
> lp::8:root,lp,adm
> nuucp::9:root,nuucp,bb
> staff::10:oracle,mos4,alfa
> daemon::12:root,daemon
> sysadmin::14:
> nobody::60001:
> noaccess::60002:
> nogroup::65534:
> mosaic::100:bb
> dba::101:
> ci::1111:
> users::102:ftpuser,shj
> ftp::103:ftp
> bash-2.03#
>
>
> Does anyone have an idea of what is happening here.
>
> Simon Jespersen
> Project engineer
> Pine Tree Systems A/S
> Damhaven 5d
> DK-7100 Vejle
> Email: shj at pine.dk
> Phone: +4575724477
> _______________________________________________
> SunHELP maillist  -  SunHELP at sunhelp.org
> http://www.sunhelp.org/mailman/listinfo/sunhelp



More information about the SunHELP mailing list