Commit 38f50e68eadaaca4550734a64150f2d612591ae0
1 parent
b355eea2
Exists in
master
and in
54 other branches
Using files attr to set user/group
Signed-off-by: Matheus Fernandes <msfernandes@gmail.com> Signed-off-by: Sergio Oliveira <sergio@tracy.com.br> Signed-off-by: Rodrigo Siqueira <rodrigosiqueiramelo@gmail.com>
Showing
1 changed file
with
1 additions
and
5 deletions
Show diff stats
colab/colab.spec
... | ... | @@ -97,7 +97,7 @@ rm -rf %{buildvenv} |
97 | 97 | |
98 | 98 | /usr/lib/colab |
99 | 99 | #/var/lib/colab # XXX: remove if doesnt break |
100 | -/var/lib/colab/assets | |
100 | +%attr(-, colab, colab) /var/lib/colab/assets | |
101 | 101 | %attr(-, colab, colab) /var/lib/colab/celery |
102 | 102 | %attr(-, colab, colab) /var/log/colab |
103 | 103 | %{_bindir}/* |
... | ... | @@ -213,10 +213,6 @@ EOF |
213 | 213 | chmod 0640 /etc/colab/settings.py |
214 | 214 | fi |
215 | 215 | |
216 | -install -d -m 0750 -o root -g colab /etc/colab/settings.d | |
217 | - | |
218 | -install -d -m 0755 -o colab -g colab /var/lib/colab-assets | |
219 | - | |
220 | 216 | # If nginx is available serve assets using it |
221 | 217 | if [ -d /usr/share/nginx ]; then |
222 | 218 | ln -s /var/lib/colab/assets /usr/share/nginx/colab | ... | ... |