Changeset 23329
- Timestamp:
- 08/06/07 08:24:48 (16 months ago)
- Files:
-
- 1 modified
-
trunk/launchd/src/StartupItems.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/launchd/src/StartupItems.c
r23079 r23329 230 230 r = false; 231 231 } 232 if ((aStatBuf.st_mode & ALLPERMS) & ~(S_IRWXU | S_IRGRP | S_IXGRP | S_IROTH | S_IXOTH)) { 233 syslog(LOG_WARNING, "\"%s\" failed security check: permissions", aPath); 232 if (aStatBuf.st_mode & S_IWOTH) { 233 syslog(LOG_WARNING, "\"%s\" failed security check: world writable", aPath); 234 r = false; 235 } 236 if (aStatBuf.st_mode & S_IWGRP) { 237 syslog(LOG_WARNING, "\"%s\" failed security check: group writable", aPath); 234 238 r = false; 235 239 }

