4838: Set +x on all StreamReaderFiles
[arvados.git] / services / fuse / arvados_fuse / __init__.py
index 148a9a654b1cb3aa4e4627548a11b0c42e5005b6..b68574c53d55436b27396576699c29fbdcddcb63 100644 (file)
@@ -768,6 +768,8 @@ class Operations(llfuse.Operations):
         entry.st_mode = stat.S_IRUSR | stat.S_IRGRP | stat.S_IROTH
         if isinstance(e, Directory):
             entry.st_mode |= stat.S_IXUSR | stat.S_IXGRP | stat.S_IXOTH | stat.S_IFDIR
+        elif isinstance(e, StreamReaderFile):
+            entry.st_mode |= stat.S_IXUSR | stat.S_IXGRP | stat.S_IXOTH | stat.S_IFREG
         else:
             entry.st_mode |= stat.S_IFREG