- Timestamp:
- Aug 4, 2011, 2:39:57 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/zoo-kernel/service_internal_ms.c
r297 r298 349 349 char *fpath=(char*) malloc((strlen(sdsName)+strlen(demo[1])+2)*sizeof(char)); 350 350 sprintf(fpath,"%s/%s",sdsName,demo[i]); 351 int f=open(fpath,O_WRONLY|O_CREAT );351 int f=open(fpath,O_WRONLY|O_CREAT,S_IRUSR|S_IWUSR|S_IRGRP|S_IWGRP|S_IROTH|S_IWOTH); 352 352 write(f,vsifcontent,size); 353 353 close(f);
Note: See TracChangeset
for help on using the changeset viewer.