Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
N
nexpie-grafana-theme
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Registry
Registry
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kornkitt Poolsup
nexpie-grafana-theme
Commits
a958965e
Commit
a958965e
authored
Jul 08, 2015
by
David Gillies
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
set mode 0640 and group grafana on /etc/grafana/grafana.ini
parent
5d7c4859
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
packaging/deb/control/postinst
+2
-2
packaging/rpm/control/postinst
+2
-2
No files found.
packaging/deb/control/postinst
View file @
a958965e
...
@@ -43,9 +43,9 @@ case "$1" in
...
@@ -43,9 +43,9 @@ case "$1" in
chmod 755 /var/log/grafana /var/lib/grafana
chmod 755 /var/log/grafana /var/lib/grafana
# configuration files should not be modifiable by grafana user, as this can be a security issue
# configuration files should not be modifiable by grafana user, as this can be a security issue
chown
-Rh
root:
root
/etc/grafana/
*
chown
-Rh
root:
$GRAFANA_GROUP
/etc/grafana/
*
chmod 755 /etc/grafana
chmod 755 /etc/grafana
find /etc/grafana
-type
f
-exec
chmod 64
4
{}
';'
find /etc/grafana
-type
f
-exec
chmod 64
0
{}
';'
find /etc/grafana
-type
d
-exec
chmod 755
{}
';'
find /etc/grafana
-type
d
-exec
chmod 755
{}
';'
# if $2 is set, this is an upgrade
# if $2 is set, this is an upgrade
...
...
packaging/rpm/control/postinst
View file @
a958965e
...
@@ -43,9 +43,9 @@ if [ $1 -eq 1 ] ; then
...
@@ -43,9 +43,9 @@ if [ $1 -eq 1 ] ; then
chmod 755 /var/log/grafana /var/lib/grafana
chmod 755 /var/log/grafana /var/lib/grafana
# configuration files should not be modifiable by grafana user, as this can be a security issue
# configuration files should not be modifiable by grafana user, as this can be a security issue
chown
-Rh
root:
root
/etc/grafana/
*
chown
-Rh
root:
$GRAFANA_GROUP
/etc/grafana/
*
chmod 755 /etc/grafana
chmod 755 /etc/grafana
find /etc/grafana
-type
f
-exec
chmod 64
4
{}
';'
find /etc/grafana
-type
f
-exec
chmod 64
0
{}
';'
find /etc/grafana
-type
d
-exec
chmod 755
{}
';'
find /etc/grafana
-type
d
-exec
chmod 755
{}
';'
if
[
-x
/bin/systemctl
]
;
then
if
[
-x
/bin/systemctl
]
;
then
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment