https://lakefs.io/ logo
Title
r

Robin Moffatt

03/15/2023, 7:09 PM
$ lakectl fs rm <lakefs://drones02/main/drone-registrations/Registations-RecFlyer-Active-2015.parquet>

cannot write to protected branch
I get that a deletion is not a read operation and so
write
kinda makes sense - but it also kinda doesn't. I wonder if we should adopt something more akin to what linux says:
$ rm /tmp/foo
rm: remove write-protected regular empty file '/tmp/foo'? y
rm: cannot remove '/tmp/foo': Operation not permitted
So then the lakeFS error would be something like
operation not permitted. branch is protected.
WDYT?