Changeset 542


Ignore:
Timestamp:
Apr 24, 2011, 10:33:45 AM (12 years ago)
Author:
Sam Hocevar
Message:

imlib: do not set the executable flag on files we create.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • abuse/trunk/src/imlib/specs.cpp

    r540 r542  
    282282void fast_load_start_recording(char *filename)
    283283{
    284     fast_load_fd = ::open(filename,O_CREAT|O_RDWR,S_IRWXU | S_IRWXG | S_IRWXO);
     284    fast_load_fd = ::open(filename,O_CREAT|O_RDWR,S_IRUSR | S_IWUSR | S_IRGRP | S_IWGRP | S_IROTH | S_IWOTH);
    285285    fast_load_mode = 1;
    286286}
     
    331331    flags|=O_CREAT|O_RDWR;
    332332
    333     fd=open(tmp_name,flags,S_IRWXU | S_IRWXG | S_IRWXO);
     333    fd=open(tmp_name,flags,S_IRUSR | S_IWUSR | S_IRGRP | S_IWGRP | S_IROTH | S_IWOTH);
    334334  } else
    335335    fd=open(tmp_name,flags);
Note: See TracChangeset for help on using the changeset viewer.