aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorStefan Kangas <skangas@skangas.se>2011-03-04 09:02:30 +0100
committerStefan Kangas <skangas@skangas.se>2011-03-04 09:02:30 +0100
commit9b64f70d2cb1bb8e19fc8f80e365fc758090973d (patch)
treefbb50ed9fabc90ea94e9aecca20dca54f5de9207 /Makefile
parent16ef99ffd946ea94a8e90b664cae5203c4d03123 (diff)
Make rsync update file permissions, too.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 08f617e..ff8501c 100644
--- a/Makefile
+++ b/Makefile
@@ -12,7 +12,8 @@ fripost-web: # creates home page
find publish -name "*~" -delete
send: # sends to fripost.org for publication
- rsync -ruvp publish/ fripost@fripost.org:fripost.org/
+ umask 022
+ rsync -ruvp --chmod=Dugo+rx,Fugo+r publish/ fripost@fripost.org:fripost.org/
clean:
rm *~*; rm test test.d/test; rmdir test.d