Hi there,
i'm writing to a log file using open:
as i understand it 0644 means owner can read and write, group and all can read only.Code:log_file = open(log, O_RDWR | O_CREAT | O_APPEND, 0644);
why then, when the file is created, do it's permissions read as:
any ideas?Code:---x-w-r-x 1 user user 120 Nov 8 10:17 logfile.log



LinkBack URL
About LinkBacks


