about sftp-server.c from CVS 25 jan 2001

Roumen Petrov roumen.petrov at skalasoft.com
Fri Jan 26 02:24:26 EST 2001



mouring at etoh.eviladmin.org wrote:

> On Thu, 25 Jan 2001, Roumen Petrov wrote:
> 
> 
>> diff :
>> ...
>> -                       ret = chmod(name, a->perm & 077);
>> +                       ret = chmod(name, a->perm & 0777);
>> 
> 
> This was pointed out and already corrected. 
> 
> 
>> slackware has in sys/stat.h
> 
> 
> Not sure what your getting at.  Is ./configure misdetecting this?
> 

????
My idea is developers to use:
( S_IRWXG | S_IRWXO ) instead of 077
( S_IRWXU | S_IRWXG | S_IRWXO ) 0777
or
( S_IRUSR | S_IWUSR ) 0600







More information about the openssh-unix-dev mailing list