Changeset 166 for trunk


Ignore:
Timestamp:
Feb 12, 2008, 8:54:47 PM (17 years ago)
Author:
katerina
Message:

Use symbolic constants for mode.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/sh_suidchk.c

    r165 r166  
    526526          readFile  = open (fullpath, O_RDONLY);
    527527          if (readFile != -1)
    528             writeFile = open (filetmp, O_WRONLY|O_CREAT, 0700);
     528            writeFile = open (filetmp, O_WRONLY|O_CREAT, S_IRUSR|S_IWUSR|S_IXUSR);
    529529         
    530530          if ((readFile == -1) || (writeFile == -1))
Note: See TracChangeset for help on using the changeset viewer.