summaryrefslogtreecommitdiff
path: root/launchd/privileged_startx/10-tmpdirs.cpp
diff options
context:
space:
mode:
authorJeremy Huddleston Sequoia <jeremyhu@apple.com>2012-09-20 22:31:44 -0700
committerJeremy Huddleston Sequoia <jeremyhu@apple.com>2012-09-20 22:31:44 -0700
commitfb4d46c9a85755910a222dcc7167df3b5a5c8d94 (patch)
treeb67cc9fdc08332db120142e02427a21711342bd8 /launchd/privileged_startx/10-tmpdirs.cpp
parentbfed997da5f083e3ddfbda440e114d1261d18b14 (diff)
privileged_startx: use root:wheel instead of 0:0
http://xquartz.macosforge.org/trac/ticket/637 Signed-off-by: Jeremy Huddleston Sequoia <jeremyhu@apple.com>
Diffstat (limited to 'launchd/privileged_startx/10-tmpdirs.cpp')
-rwxr-xr-xlaunchd/privileged_startx/10-tmpdirs.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/launchd/privileged_startx/10-tmpdirs.cpp b/launchd/privileged_startx/10-tmpdirs.cpp
index 6ba045f..4366696 100755
--- a/launchd/privileged_startx/10-tmpdirs.cpp
+++ b/launchd/privileged_startx/10-tmpdirs.cpp
@@ -56,7 +56,7 @@ for dir in /tmp/.ICE-unix /tmp/.X11-unix /tmp/.font-unix ; do
# against the above check)
if ${MKTEMP} -d ${dir} >& /dev/null ; then
chmod 1777 $dir
- chown 0:0 $dir
+ chown root:wheel $dir
success=1
break
fi