https://lakefs.io/ logo
#dev
Title
# dev
r

Robin Moffatt

03/15/2023, 7:09 PM
Copy code
$ 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:
Copy code
$ 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?
3 Views