dholland
562a53e657
/usr/sbin/chown -> /sbin/chown
...
(not sure why these need explicit paths at all, but whatevs)
2015-07-03 18:36:54 +00:00
mjf
d4a648c345
Implement a new magic string for magic symlinks, @ruid, which exapnds to the
...
real user id of the process and use this magic string for per-user tmp.
This should fix PR/35687
Kernel parts reviewed by wrstuden@
2007-12-04 22:09:01 +00:00
tron
8704d644d4
Remove unnessary "if [ X"$foo" ... ]" hack which is not necessary if
...
you quote things properly which this script does.
2007-02-15 13:27:35 +00:00
xtraeme
6092e365cb
Add missing quotes in readlink to compare with ${per_user_tmp_dir}/@uid,
...
to avoid an error about missing operator.
2007-02-15 08:44:34 +00:00
elad
97d944e80d
Use 0555 for the real tmp dir for now.
2007-02-06 16:54:27 +00:00
elad
d488983ed2
Only override /tmp if needed. From perry@.
2007-02-05 01:47:48 +00:00
xtraeme
a5c172888b
Use mkdir -p to create ${per_user_tmp_dir}, otherwise if /private (this is
...
the default) doesn't exist there won't be any error.
2007-02-04 18:28:26 +00:00
elad
5e2e282f9c
Add support for per-user /tmp.
...
Enabled via per_user_tmp in /etc/rc.conf (default off).
See security(8) and rc.conf(5) for more details.
Lots of input from thorpej@ & christos@, thanks!
2007-02-04 08:19:26 +00:00