Closed NickGeek closed 2 years ago
Hi, I installed Nix with nix-user-chroot and I'm wanting to delete my .nix directory. The issue is I get permission denied errors when deleting it. I do not have root on this machine so sudo is not available to help here.
.nix
sudo
Have you tried running chmod -R u+w .nix before trying to delete the directory? I think rm -f doesn't delete directories that don't have the writable bit set.
chmod -R u+w .nix
rm -f
That worked! Thanks.
Hi, I installed Nix with nix-user-chroot and I'm wanting to delete my
.nix
directory. The issue is I get permission denied errors when deleting it. I do not have root on this machine sosudo
is not available to help here.