diff options
author | Florian Best <best@univention.de> | 2015-05-08 13:39:54 +0200 |
---|---|---|
committer | Benjamin Kellermann <Benjamin.Kellermann@mgm-sp.de> | 2015-11-19 22:55:52 +0100 |
commit | 43f80b6b5d5700ebce89b69071109d2eb30bd565 (patch) | |
tree | 93dc6325f4e3b493ed913d196efce8efd6145229 /access_control.rb | |
parent | 739f2b9fb1918887319ef262776d907d82f967b6 (diff) |
Fix setting of .htdigest permissions
Diffstat (limited to 'access_control.rb')
-rwxr-xr-x | access_control.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/access_control.rb b/access_control.rb index a2b7556..1e24c78 100755 --- a/access_control.rb +++ b/access_control.rb @@ -163,6 +163,7 @@ if $cgi.include?("ac_user") f << line unless line =~ /^#{deleteuser}:/ } } + File.chmod(0600, ".htdigest") write_htaccess(acusers) end end |