Commit 5134b082 authored by Sylvain's avatar Sylvain

perms en absotute path

parent 4fac83b3
...@@ -7,6 +7,7 @@ if [[ $EUID -ne 0 ]]; then ...@@ -7,6 +7,7 @@ if [[ $EUID -ne 0 ]]; then
fi fi
FILENAME="wrapper" FILENAME="wrapper"
SCRIPT_PATH=`dirname $0`
chown root:root ${FILENAME} chown root:root ${SCRIPT_PATH}/${FILENAME}
chmod u=rwx,go=xr,+s ${FILENAME} chmod u=rwx,go=xr,+s ${SCRIPT_PATH}/${FILENAME}
\ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment