Project

General

Profile

Bug #19897

Updated by Peter Amstutz almost 2 years ago

You cannot create a bare file in a Project in the FUSE mount (only in Collections).    If you try, you will get I/O error.    This is disorienting because I/O error usually means something very bad happened.    This should be something else like: 

 EPERM "Operation not permitted" 
 ENOSYS "Function not implemented" 

 Internally it is actually throwing NoImplementedError so catching that exception generally and turning it into ENOSYS would make sense.    However the particular function that tries to create a file in a project could throw EPERM since it is more precise semantics. 

 From discussion: let's go with ENOTSUP "Operation not supported (POSIX.1-2001)." 

Back