Set permissions for the upload folder
This commit is contained in:
parent
0e379644c5
commit
b45430f63a
@ -103,6 +103,13 @@ execute "systemctl daemon-reload" do
|
|||||||
action :nothing
|
action :nothing
|
||||||
end
|
end
|
||||||
|
|
||||||
|
directory "/var/www/xmpp.kosmos.org/uploads" do
|
||||||
|
owner "ejabberd"
|
||||||
|
group "ejabberd"
|
||||||
|
mode 0750
|
||||||
|
recursive true
|
||||||
|
end
|
||||||
|
|
||||||
service "ejabberd" do
|
service "ejabberd" do
|
||||||
action [:enable, :start]
|
action [:enable, :start]
|
||||||
end
|
end
|
||||||
|
Loading…
x
Reference in New Issue
Block a user