summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Sulfrian <alex@spline.inf.fu-berlin.de>2016-06-21 21:44:03 +0200
committerAlexander Sulfrian <alex@spline.inf.fu-berlin.de>2016-06-21 21:44:03 +0200
commit2288aafdd8db6e1950af2eb2f34ae8bf610c21fa (patch)
tree2d504a5fc7497dfcbbe4e63c6d3dd6a9bd2fbd28
parent9871df4963670f7a2627d4e8d59515055ae803d6 (diff)
downloadsrs-2288aafdd8db6e1950af2eb2f34ae8bf610c21fa.tar.gz
srs-2288aafdd8db6e1950af2eb2f34ae8bf610c21fa.tar.bz2
srs-2288aafdd8db6e1950af2eb2f34ae8bf610c21fa.zip
Do not set user/group
The socket file should not change permissions
-rwxr-xr-xsrs4
1 files changed, 0 insertions, 4 deletions
diff --git a/srs b/srs
index de993bc..31fe56d 100755
--- a/srs
+++ b/srs
@@ -21,10 +21,6 @@ use lib $FindBin::Bin;
$config_file = $ENV{HOME} . $config_file if $UID != 0;
$defaults->{conf_file} = $config_file if -e $config_file;
- # Default to current user (if not root)
- $defaults->{user} = $EUID if $EUID != 0;
- $defaults->{group} = $EGID if $EGID != 0;
-
return $defaults;
}
}