Branch: Tag:

1998-06-04

1998-06-04 21:09:45 by David Hedbor <david@hedbor.org>

Added the umask command.

Rev: server/modules/filesystems/filesystem.pike:1.42
Rev: server/protocols/ftp2.pike:1.52

8:   inherit "roxenlib";   inherit "socket";    - constant cvs_version= "$Id: filesystem.pike,v 1.41 1998/05/26 08:41:08 per Exp $"; + constant cvs_version= "$Id: filesystem.pike,v 1.42 1998/06/04 21:09:45 neotron Exp $";   constant thread_safe=1;      
429:       privs = 0;    if (code) { +  chmod(f, 0777 & ~(id->misc->umask || 022));    TRACE_LEAVE("MKDIR: Success");    TRACE_LEAVE("Success");    return http_string_answer("Ok");
493:    TRACE_LEAVE("Failure");    return 0;    } -  +  chmod(f, 0666 & ~(id->misc->umask || 022));    putting[id->my_fd]=id->misc->len;    if(id->data && strlen(id->data))    {