Changeset 239 for trunk/libtransmission


Ignore:
Timestamp:
Apr 24, 2006, 4:42:38 PM (16 years ago)
Author:
titer
Message:

Ooops

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/inout.c

    r238 r239  
    215215            {
    216216                /* Folder doesn't exist yet */
    217                 mkdir( path, 0755 );
     217                mkdir( path, 0777 );
    218218            }
    219219            else if( ( sb.st_mode & S_IFMT ) != S_IFDIR )
     
    231231        {
    232232            /* File doesn't exist yet */
    233             if( ( file = open( path, O_WRONLY|O_CREAT|O_TRUNC ) ) < 0 )
     233            if( ( file = open( path, O_WRONLY|O_CREAT|O_TRUNC, 0666 ) ) < 0 )
    234234            {
    235235                tr_err( "Could not create `%s' (%s)", path,
Note: See TracChangeset for help on using the changeset viewer.