Changeset 18899 in vbox for trunk/src/libs/xpcom18a4/ipc/ipcd/daemon
- Timestamp:
- Apr 15, 2009 8:16:44 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/libs/xpcom18a4/ipc/ipcd/daemon/src/ipcdUnix.cpp
r16382 r18899 131 131 if (st.st_uid != getuid() && st.st_uid != geteuid()) 132 132 { 133 printf("Wrong owner (%d) of '%s'.\n", st.st_uid, baseDir); 133 printf("Wrong owner (%d) of '%s'", st.st_uid, baseDir); 134 if ( !stat("/tmp", &st) 135 && (st.st_mode & 07777) != 01777) 136 printf(" -- check /tmp permissions (%o should be 1777)\n", 137 st.st_mode & 07777); 138 printf(".\n"); 134 139 return ELockFileOwner; 135 140 } … … 137 142 if (st.st_mode != (S_IRUSR | S_IWUSR | S_IXUSR | S_IFDIR)) 138 143 { 139 printf("Wrong mode (%o) of '%s'.\n", st.st_mode, baseDir); 144 printf("Wrong mode (%o) of '%s'", st.st_mode, baseDir); 145 if ( !stat("/tmp", &st) 146 && (st.st_mode & 07777) != 01777) 147 printf(" -- check /tmp permissions (%o should be 1777)\n", 148 st.st_mode & 07777); 149 printf(".\n"); 140 150 return ELockFileOwner; 141 151 }
Note:
See TracChangeset
for help on using the changeset viewer.