19897: Return ENOTSUP when the user tries to make a file in a project
authorBrett Smith <brett.smith@curii.com>
Mon, 30 Jan 2023 23:24:12 +0000 (18:24 -0500)
committerBrett Smith <brett.smith@curii.com>
Mon, 30 Jan 2023 23:24:12 +0000 (18:24 -0500)
commit60146acf7ae62f4d24f75d22c0bc19537d8d26b3
tree7d54913cdab4fe6b2ce0b3c63983f38ae40d3eaf
parent0acc3185deb4f2215f36dcbbe66ac24b4c0ecd4a
19897: Return ENOTSUP when the user tries to make a file in a project

Before this commit, the NotImplementedError is propagating up to
catch_exceptions, which turns it into EIO. "I/O error" sounds like a
problem with the underlying systems and stresses out users. "Operation
not supported" should better communicate to the user that they're doing
something unexpected and should double-check their work.

Arvados-DCO-1.1-Signed-off-by: Brett Smith <brett.smith@curii.com>
services/fuse/arvados_fuse/__init__.py
services/fuse/tests/test_mount.py