about summary refs log tree commit diff
path: root/mdeliver.c
diff options
context:
space:
mode:
Diffstat (limited to 'mdeliver.c')
-rw-r--r--mdeliver.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/mdeliver.c b/mdeliver.c
index c9e00c5..5269929 100644
--- a/mdeliver.c
+++ b/mdeliver.c
@@ -355,7 +355,11 @@ usage2:
 	if (argc != optind+1)
 		goto usage2;
 
-	xpledge("stdio rpath wpath cpath", "");
+	xpledge("stdio rpath wpath cpath fattr", "");
+	if (!preserve_mtime && !Mflag) {
+		/* drop fattr */
+		xpledge("stdio rpath wpath cpath", "");
+	}
 
 	targetdir = argv[optind];