Article View: comp.security.misc
Article #5Re: default umask settings when ftp'ing a file
From: Brian Fitzgerald
Date: Tue, 27 Oct 1992 19:53
Date: Tue, 27 Oct 1992 19:53
17 lines
1139 bytes
1139 bytes
Jeff Edelheit writes: >I've been doing some poking around and have found a problem that I >can't quite figure out how to fix. I have a 027 umask set in my >.cshrc, so any files I create have a permission set of rw-r-----. >However, if I ftp a file, the permission set on the ftp'ed file >is rw-rw-rw-. What and where do I have to set something so that the >ftp'ed file comes up with the same permission set as a file I create >from a cshell? The file is created by a root-owned or daemon-owned ftpd process. Your .cshrc has no effect on ftpd. You need for ftpd to be started with the umask that you want. log_tcp by Wietse Venema does this, and is available by anon ftp from uunet or cert. Brian
Technical Details
Message-ID:
<9--1bxk@rpi.edu>Path:
arc1-ca.pugleaf.net!sparky!uunet!hela.iti.org!usc!rpi!fitzgbReferences:
<1992Oct27.150453.507@linus.mitre.org>Show Full Headers
Complete Article Headers
Newsgroups: comp.security.misc Path: arc1-ca.pugleaf.net!sparky!uunet!hela.iti.org!usc!rpi!fitzgb From: fitzgb@mml0.meche.rpi.edu (Brian Fitzgerald) Subject: Re: default umask settings when ftp'ing a file Message-ID: <9--1bxk@rpi.edu> Nntp-Posting-Host: mml0.meche.rpi.edu Organization: Rensselaer Polytechnic Institute, Troy, NY References: <1992Oct27.150453.507@linus.mitre.org> Date: Tue, 27 Oct 1992 19:53:44 GMT Lines: 17