Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Crans Passwords
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
5
Issues
5
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Nounous
Crans Passwords
Commits
69ca520e
Commit
69ca520e
authored
Jul 29, 2013
by
Vincent Le gallic
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
On ne laisse pas les modes/owner/permissions au hasard
parent
c2d1c879
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
7 deletions
+7
-7
Makefile
Makefile
+7
-7
No files found.
Makefile
View file @
69ca520e
...
...
@@ -34,17 +34,17 @@ rerename:
install
:
@
if
[
"
${cmd_name}
"
!=
"
${cmd_original_name}
"
]
;
then
make
--quiet
rename
;
fi
install
-d
~/bin
install
client.py ~/bin/
${cmd_name}
install
-d
~/.config/
${cmd_name}
install
clientconfig.example.py ~/.config/
${cmd_name}
install
-d
-m
0755
~/bin
install
-m
0755
client.py ~/bin/
${cmd_name}
install
-d
-m
0755
~/.config/
${cmd_name}
install
-m
0644
clientconfig.example.py ~/.config/
${cmd_name}
@
if
[
"
${cmd_name}
"
!=
"
${cmd_original_name}
"
]
;
then
make
--quiet
rerename
;
fi
install-server
:
@
echo
"Création du sudoer-file."
@
echo
"# Autorisation locale d'éxécution de
${cmd_name}
"
>
${sudoer_file_path}
@
echo
" %
${sudoer_group}
ALL=(root) NOPASSWD: /usr/local/bin/
${cmd_name}
-server"
>>
${sudoer_file_path}
install
server.py /usr/local/bin/
${cmd_name}
-server
install
-d
/etc/
${cmd_name}
/
install
serverconfig.example.py /etc/
${cmd_name}
/serverconfig.py
install
-g
root
-o
root
-m
0755
server.py /usr/local/bin/
${cmd_name}
-server
install
-d
-g
root
-o
root
-m
0755
/etc/
${cmd_name}
/
install
-g
root
-o
root
-m
0644
serverconfig.example.py /etc/
${cmd_name}
/serverconfig.py
install
-d
-m
700 /var/lib/
${cmd_name}
/db/
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