summaryrefslogtreecommitdiff
path: root/doc/forum/isCopyOf_does_not_work_on_nfs_filesystem/comment_1_b1ffea063d9928889df17d9a8f3e8a5d._comment
diff options
context:
space:
mode:
authorJoey Hess2019-10-08 16:59:28 -0400
committerJoey Hess2019-10-08 16:59:28 -0400
commit09e97fa5f5e51b599b0ce9b263b82dd61fce0ba5 (patch)
tree587bfdbc0584d48f9766243618f1a69db2df9bb0 /doc/forum/isCopyOf_does_not_work_on_nfs_filesystem/comment_1_b1ffea063d9928889df17d9a8f3e8a5d._comment
parenta820c5c9ed876c70cf18c141cd6be471313dad65 (diff)
parentc97619e860a09606e56a3da27b4984ea329ef063 (diff)
Merge branch 'master' into joeyconfig
Diffstat (limited to 'doc/forum/isCopyOf_does_not_work_on_nfs_filesystem/comment_1_b1ffea063d9928889df17d9a8f3e8a5d._comment')
-rw-r--r--doc/forum/isCopyOf_does_not_work_on_nfs_filesystem/comment_1_b1ffea063d9928889df17d9a8f3e8a5d._comment22
1 files changed, 22 insertions, 0 deletions
diff --git a/doc/forum/isCopyOf_does_not_work_on_nfs_filesystem/comment_1_b1ffea063d9928889df17d9a8f3e8a5d._comment b/doc/forum/isCopyOf_does_not_work_on_nfs_filesystem/comment_1_b1ffea063d9928889df17d9a8f3e8a5d._comment
new file mode 100644
index 00000000..935b23b9
--- /dev/null
+++ b/doc/forum/isCopyOf_does_not_work_on_nfs_filesystem/comment_1_b1ffea063d9928889df17d9a8f3e8a5d._comment
@@ -0,0 +1,22 @@
+[[!comment format=mdwn
+ username="joey"
+ subject="""comment 1"""
+ date="2019-10-01T14:06:35Z"
+ content="""
+Your NFS server must have root squash enabled then. So any propellor
+properties that try to set the owner will fail (File.ownerGroup).
+
+It's entirely reasonable for properties to need to set the owner of a file.
+Many properties make files owned by a specific user and having them
+squashed to "nobody" would break their purpose.
+
+There's only one property in propellor that currently uses File.isCopyOf,
+and that property is in fact installing a user's configuration file, which
+needs to be owned by that user. So changing that property's behavior is
+out.
+
+So your options are, disable the NFS root squash, or avoid using propellor
+properties that set file ownership. If you wanted to make a variant of
+isCopyOf that didn't preserve permissions, we could perhaps look at adding
+that to propellor.
+"""]]