Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
| Comment: | Minor cleanup (no change in functionality). |
|---|---|
| Timelines: | family | ancestors | descendants | both | pending-review |
| Files: | files | file ages | folders |
| SHA1: |
b5e09375185ff3e83affb434404c2ed9 |
| User & Date: | andybradford 2014-04-30 07:11:55.454 |
Context
|
2014-04-30
| ||
| 07:54 | On second thought, make this also work for fossil server as well which has the same problem. Closed-Leaf check-in: 644e78cc89 user: andybradford tags: pending-review | |
| 07:11 | Minor cleanup (no change in functionality). check-in: b5e0937518 user: andybradford tags: pending-review | |
| 07:07 | Potential fix to allow fossil ui to be run as root---reopen the database after dropping privileges. check-in: d5432cf6c3 user: andybradford tags: pending-review | |
Changes
Changes to src/main.c.
| ︙ | ︙ | |||
1265 1266 1267 1268 1269 1270 1271 |
fossil_fatal("cannot stat() repository: %s", zRepo);
}
i = setgid(sStat.st_gid);
i = i || setuid(sStat.st_uid);
if(i){
fossil_fatal("setgid/uid() failed with errno %d", errno);
}
| | | 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 |
fossil_fatal("cannot stat() repository: %s", zRepo);
}
i = setgid(sStat.st_gid);
i = i || setuid(sStat.st_uid);
if(i){
fossil_fatal("setgid/uid() failed with errno %d", errno);
}
if( g.db==0 && isUiCmd ){
db_open_repository(zRepo);
}
}
#endif
return zRepo;
}
|
| ︙ | ︙ |