Skip to content

Commit dad0044

Browse files
committed
Fix generated chown command (#1151)
1 parent d0d7660 commit dad0044

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/scala/com/typesafe/sbt/packager/debian/DebianPlugin.scala

+1-1
Original file line numberDiff line numberDiff line change
@@ -419,7 +419,7 @@ trait DebianPluginLike {
419419
streams: TaskStreams): (String, String) = {
420420
// how to create the chownCmd. TODO maybe configurable?
421421
def chownCmd(user: String, group: String)(path: String): String =
422-
s"chown $user:$group $path"
422+
s"chown $user:$group '$path'"
423423

424424
val header = "# Chown definitions created by SBT Native Packager\n"
425425
// Check for non root user/group and create chown commands

0 commit comments

Comments
 (0)