projects
/
openwrt
/
svn-archive
/
packages.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
86599b9
)
tor: better log directory permissions
author
Stephen Walker
<stephendwalker@gmail.com>
Sat, 15 May 2010 11:33:57 +0000
(11:33 +0000)
committer
Stephen Walker
<stephendwalker@gmail.com>
Sat, 15 May 2010 11:33:57 +0000
(11:33 +0000)
SVN-Revision: 21451
net/tor/files/tor.init
patch
|
blob
|
history
diff --git
a/net/tor/files/tor.init
b/net/tor/files/tor.init
index 2b62945425ad6f659166118573770af9272d08c5..40d4ecf0a1f98b1fd93969fa6f009fa6272835f2 100644
(file)
--- a/
net/tor/files/tor.init
+++ b/
net/tor/files/tor.init
@@
-13,7
+13,7
@@
RUN_GROUP=$BIN
start() {
[ -f $DEFAULT ] && . $DEFAULT
- [ -d $LOG_D ] || ( mkdir -m 07
00
-p $LOG_D && chown $RUN_USER:$RUN_GROUP $LOG_D )
+ [ -d $LOG_D ] || ( mkdir -m 07
55
-p $LOG_D && chown $RUN_USER:$RUN_GROUP $LOG_D )
[ -d $LIB_D ] || ( mkdir -m 0700 -p $LIB_D && chown $RUN_USER:$RUN_GROUP $LIB_D )
[ -d $RUN_D ] || mkdir -p $RUN_D
[ -f $PID_F ] || ( touch $PID_F && chown $RUN_USER:$RUN_GROUP $PID_F )