We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d0d7660 commit dad0044Copy full SHA for dad0044
src/main/scala/com/typesafe/sbt/packager/debian/DebianPlugin.scala
@@ -419,7 +419,7 @@ trait DebianPluginLike {
419
streams: TaskStreams): (String, String) = {
420
// how to create the chownCmd. TODO maybe configurable?
421
def chownCmd(user: String, group: String)(path: String): String =
422
- s"chown $user:$group $path"
+ s"chown $user:$group '$path'"
423
424
val header = "# Chown definitions created by SBT Native Packager\n"
425
// Check for non root user/group and create chown commands
0 commit comments