httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "William A. Rowe, Jr." <wr...@rowe-clan.net>
Subject Ensuring umask 002 on ssh uploads
Date Fri, 23 Dec 2005 22:59:03 GMT
> --On December 23, 2005 1:56:03 PM -0800 "Roy T. Fielding" 
> <fielding@gbiv.com> wrote:
>
>> [...]  However, you do need to remember to check the
>> file permissions after uploading the files.  They need to be
>>
>>     chmod 664 *
>>
>> I fixed them myself the last time, but don't have time right now.
> 
> His umask is probably incorrect.  It needs to be 002.  -- justin

Instead of setting this in .profile, .login etc, it's safter to set this
default in your .bashrc, .cshrc, .zshrc, or .shrc file as appropriate.

We uncovered recently that ssh will respect the overrides in your .rc file
but won't perform any login script actions in .login, .profile etc.

Bill

Mime
View raw message