streamlets: recover an old comment v_0
authorFrantišek Kučera <franta-hg@frantovo.cz>
Sun, 19 Jan 2020 18:41:32 +0100
branchv_0
changeset 51 841845ccf06d
parent 50 22ed5647b235
child 52 fea625f0a096
streamlets: recover an old comment
src/StreamletAttributeFinder.h
--- a/src/StreamletAttributeFinder.h	Sun Jan 19 18:18:06 2020 +0100
+++ b/src/StreamletAttributeFinder.h	Sun Jan 19 18:41:32 2020 +0100
@@ -74,7 +74,7 @@
 		if (streamletPathChars) {
 			for (string_t path : splitBySeparator(convertor.from_bytes(streamletPathChars))) {
 				fs::path file = fs::path(path) / fs::path(field.name);
-				if (fs::exists(file) && ::access(file.c_str(), X_OK) == 0) return file.wstring();
+				if (fs::exists(file) && ::access(file.c_str(), X_OK) == 0) return file.wstring();  // n.b. must be set executable using e.g. chmod – files executable through only ACL, are actually not executable
 			}
 			throw RelpipeWriterException(L"Streamlet „" + field.name + L"“ was not found at $RELPIPE_IN_FILESYSTEM_STREAMLET_PATH");
 		} else {