diff options
author | Nicholas Chammas <nicholas.chammas@gmail.com> | 2015-02-06 11:38:39 +0000 |
---|---|---|
committer | Josh Rosen <joshrosen@databricks.com> | 2015-02-06 10:51:52 -0800 |
commit | 3638216fc54a902505a48660216cf2e08a39dbdb (patch) | |
tree | f43bbf88e9014611dee3f21c0772f5dcde1ba7d9 /assembly/pom.xml | |
parent | f6613fc3fcf349e863d8e04e4754fe74b9397f98 (diff) | |
download | spark-3638216fc54a902505a48660216cf2e08a39dbdb.tar.gz spark-3638216fc54a902505a48660216cf2e08a39dbdb.tar.bz2 spark-3638216fc54a902505a48660216cf2e08a39dbdb.zip |
[Build] Set all Debian package permissions to 755
755 means the owner can read, write, and execute, and everyone else can just read and execute. I think that's what we want here since without execute permissions others cannot open directories.
Inspired by [this comment on a separate PR](https://github.com/apache/spark/pull/3297#issuecomment-63286730).
Author: Nicholas Chammas <nicholas.chammas@gmail.com>
Closes #4277 from nchammas/patch-1 and squashes the following commits:
da77fb0 [Nicholas Chammas] [Build] Set all Debian package permissions to 755
Diffstat (limited to 'assembly/pom.xml')
-rw-r--r-- | assembly/pom.xml | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/assembly/pom.xml b/assembly/pom.xml index 1bb5a671f5..301ff69c2a 100644 --- a/assembly/pom.xml +++ b/assembly/pom.xml @@ -39,7 +39,7 @@ <deb.pkg.name>spark</deb.pkg.name> <deb.install.path>/usr/share/spark</deb.install.path> <deb.user>root</deb.user> - <deb.bin.filemode>744</deb.bin.filemode> + <deb.bin.filemode>755</deb.bin.filemode> </properties> <dependencies> @@ -280,7 +280,7 @@ <user>${deb.user}</user> <group>${deb.user}</group> <prefix>${deb.install.path}/conf</prefix> - <filemode>744</filemode> + <filemode>${deb.bin.filemode}</filemode> </mapper> </data> <data> @@ -302,7 +302,7 @@ <user>${deb.user}</user> <group>${deb.user}</group> <prefix>${deb.install.path}/sbin</prefix> - <filemode>744</filemode> + <filemode>${deb.bin.filemode}</filemode> </mapper> </data> <data> @@ -313,7 +313,7 @@ <user>${deb.user}</user> <group>${deb.user}</group> <prefix>${deb.install.path}/python</prefix> - <filemode>744</filemode> + <filemode>${deb.bin.filemode}</filemode> </mapper> </data> </dataSet> |