Signed-off-by: Tobias Ulmer <tu@emlix.com>
return true
end
+local _pp_warn = true
+
--- push a file to a server: cache and writeback
-- @param c a cache table
-- @param sourcefile where to store the file locally
return false, e:cat(re)
end
+ if _pp_warn and not ce.flags.push_permissions then
+ e2lib.warnf("WOTHER", "push_permissions for server %s not set, "..
+ "file permissions may be wrong", server)
+ _pp_warn = false
+ end
+
if cache.cache_enabled(c, server, flags) then
-- cache is enabled:
-- push the file from source to cache and from cache to