From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fa528,ab3363e75b641082 X-Google-Attributes: gidfa528,public From: mooney@dogbert.cc.ndsu.NoDak.edu (Tim Mooney) Subject: Re: ftp rights on tru64 Date: 2000/11/29 Message-ID: <903tma$7um$1@news.ndsu.nodak.edu>#1/1 X-Deja-AN: 699277723 Content-Transfer-Encoding: 7bit References: <9034sn$uu1$03$1@news.t-online.com> Content-Type: text/plain; charset=US-ASCII X-Complaints-To: abuse@nodak.edu X-Trace: news.ndsu.nodak.edu 975534602 8150 134.129.106.23 (29 Nov 2000 21:50:02 GMT) Organization: North Dakota Higher Education Computing Network (NDHECN) Mime-Version: 1.0 NNTP-Posting-Date: 29 Nov 2000 21:50:02 GMT Newsgroups: comp.unix.tru64 Originator: mooney@dogbert.cc.ndsu.NoDak.edu (Tim Mooney) In article <9034sn$uu1$03$1@news.t-online.com>, w.koehler wrote: > hello > > i have a small problem > > i use tru64 4.0F on ES40 > when i send files by ftp from WindowsMSDOS-BOX > to my alpha all files will created with 644 . but i need 664 . I'm not sure if the stock ftp daemon supports `site umask ...' as issued from the client (doubt it), but since an ftp session never starts a shell for you, it doesn't read any personal init files so setting your umask there won't work. In general the way to fix this is to change the default umask that ftpd uses, see the man page for ftpd to learn about the `-u' flag. Note that this is a system-wide setting though. Remember to HUP or restart inetd after you modify the line for ftpd, so inetd sees any changes you've made. Tim -- Tim Mooney mooney@dogbert.cc.ndsu.NoDak.edu Information Technology Services (701) 231-1076 (Voice) Room 242-J1, IACC Building (701) 231-8541 (Fax) North Dakota State University, Fargo, ND 58105-5164