瀏覽代碼

tor log ownership

Bob Mottram 8 年之前
父節點
當前提交
4646670138
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. 1
    1
      src/freedombone-logging

+ 1
- 1
src/freedombone-logging 查看文件

@@ -85,7 +85,7 @@ if [[ "$1" == "on" || "$1" == "On" || "$1" == "ON" ]]; then
85 85
     if [ -d /etc/tor ]; then
86 86
         if [ ! -f /var/log/tor.log ]; then
87 87
             touch /var/log/tor.log
88
-            chown root:debian-tor /var/log/tor.log
88
+            chown debian-tor:debian-tor /var/log/tor.log
89 89
         fi
90 90
         sed -i 's|#Log notice file.*|Log notice file /var/log/tor.log|g' /etc/tor/torrc
91 91
         sed -i 's|Log notice file.*|Log notice file /var/log/tor.log|g' /etc/tor/torrc