Re: Permissions on new files and directories
Date: Wed, 27 Jun 2007 18:47:58 +0200 (CEST)
On Wed, 27 Jun 2007, James Housley wrote:
> I would like to add two new options:
> CURLOPT_NEW_FILE_PERMS - the permissions of new files, defaulting to 0644
> CURLOPT_NEW_DIRECTORY_PERMS - the permissions of new directories, defaulting
> to 0755
> Is this reasonable, or is it adding too much control?
They make good sense to me.
> Are there other protocols that would need this?
As you said, file:// could indeed use them.
-- Commercial curl and libcurl Technical Support: http://haxx.se/curl.htmlReceived on 2007-06-27