[comp.unix.aux] FTP changes file ownership?

jsin@CS.UCLA.EDU (12/03/88)

Hello,

I have a factory installed MAC II with A/UX 1.0 on a 80MB hard disk. 
Recently, I installed an ethernet card to hook it upto our local unix
network.  This went fine, and everything worked great.

However, when I "get" a file with FTP, the files are all owned by "root".
Has anyone notice this too, or is it something I did/didn't do?

I'm a fair unix user, but this is my first time administering a unix system,
so assume I don't know anything and tell me even if it's something really
obvious.

Thanks for your help!
John (Jonghoon) Sin       (Above opinions are my own and etc, etc, etc...)
UCLA SEASnet Facilities   InterNet: jsin@seas.ucla.edu
2567 Boelter Hall         UUCP:  ...!(uunet,ucbvax,rutgers)!seas.ucla.edu!jsin
Los Angeles, CA. 90024    VoiceNet: (213) 206-6864

angel@umigw.MIAMI.EDU (angel li) (12/03/88)

In article <18505@shemp.CS.UCLA.EDU> jsin@CS.UCLA.EDU (John Sin) writes:
>
>However, when I "get" a file with FTP, the files are all owned by "root".
>Has anyone notice this too, or is it something I did/didn't do?
>
I've seen A/UX systems where /usr/ucb/ftp has suid privileges. Just
chmod 755 /usr/ucb/ftp to fix this.

-- 
Angel Li
University of Miami/RSMAS

Internet: angel@flipper.miami.edu			UUCP: ncar!umigw!angel

brooks@Apple.COM (Kevin Brooks) (12/06/88)

There is a problem in A/UX 1.0 where ftp is suid root.  Yes I know this is a
major security hole.  I would suggest that everyone running A/UX 1.0 check 
their ftp permissions and change them to 755 instead of 4755.  This will
correct your problem with files being owned by root after you ftp them and will
also correct a security hole present in 1.0.


Kevin Brooks
A/UX Specialist, Apple Computer		   APPLELINK: BROOKS3
UUCP: {mtxinu,sun,nsc,voder}!apple!brooks  DOMAIN: brooks@apple.apple.com
CSNET: brooks@apple.CSNET 		   ARPA: brooks%apple@csnet-relay.ARPA