Ninlives / relocatable.nix

A nix bundler that produces relocatable deployment script for nix store paths.
60 stars 2 forks source link

Remove deployed app #1

Closed oneingan closed 2 years ago

oneingan commented 2 years ago

I deploy a bundle generated by relocatable.nix in the work directory, I'm trying to remove it but permission denied, same thing if I'm using root. Any hints? I'm wondering if it is nix-daemon related, but AFAIK deployment is Nix installation independent.

Ninlives commented 2 years ago

The bundled app itself has nothing to do with nix, I currently have no idea about the problem. Do you have a screen shot of what happened?

Edit: try to set write permission bits on deployed files before removing.

oneingan commented 2 years ago

Sure!

Write permission solve it. Weird, I dont remember other situation where root cares about user permissions.