Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Marvin1973
g15daemon
open-missing-mode.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File open-missing-mode.patch of Package g15daemon
diff --git a/g15daemon/utility_funcs.c b/g15daemon/utility_funcs.c index c93d164..b92d246 100644 --- a/g15daemon/utility_funcs.c +++ b/g15daemon/utility_funcs.c @@ -356,7 +356,7 @@ int uf_conf_write(g15daemon_t *list,char *filename) config_items_t * item=NULL; char line[1024]; - config_fd = open(filename,O_CREAT|O_RDWR|O_TRUNC); + config_fd = open(filename,O_CREAT|O_RDWR|O_TRUNC, 0700); if(config_fd){ snprintf(line,1024,"# G15Daemon Configuration File\n# any items entered before a [section] header\n# will be in the Global config space\n# comments you wish to keep should start with a semicolon';'\n"); write(config_fd,line,strlen(line));
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor