Commit Graph

11 Commits

Author SHA1 Message Date
Iruatã Souza 88ebfd13b6 wstat: update opath after a rename
so we truncate the correct file after it
2020-09-05 13:38:44 +02:00
Charles Forsyth 9639caf117 define this and that to answer warnings 2020-03-11 16:42:21 +00:00
Charles Forsyth 210be38e4d use conventional user 'nobody' if user 'none' is not defined 2016-03-29 16:13:36 +01:00
Charles Forsyth 844c96ed07 forward declaration of groupchange 2015-10-04 21:43:49 +01:00
Charles Forsyth f163dcf6f9 declare sysfatal as lib function 2015-10-04 21:37:23 +01:00
Charles Forsyth e14502a03f use snprint, not snprintf 2015-10-04 21:25:11 +01:00
Charles Forsyth 0e4c01a2f7 sadly, older AIX xlc needs it spelt out after all 2015-03-18 13:25:38 +00:00
Charles Forsyth dcc06ad4b8 use C9x syntax for u9fs initialiser 2015-03-17 19:43:36 +00:00
Charles Forsyth f7faf7651c close log fd after dup2 to 2 2015-03-17 19:42:33 +00:00
Steven Stallion e5eb212843 fix chroot and default user behavior
Use of chroot causes complications when a root is specified; chroot requires
/etc/^(passwd group) and friends be copied to the new root. This is
uneccessary, and is obviated by use of a new function named rootpath.

Files created with a default user are owned by the user of the process rather
than the default user. This is addressed by issuing a chown after create to
reinstate proper permission.
2015-03-16 17:27:33 -05:00
charles forsyth 44b904efbb 20110512-2206 2011-05-12 22:06:54 +01:00