I have a permission error in a Rancher container's shell when accessing certain directory, but the permissions are correctly set. Then I noticed that the link count for said directory is zero, as shown:
But for any directory, the minimum amount of links is 2, self
. and parent
... So why would it show a 0 here? I don't get it. Right now I don't have access to this shell to check which inode it's pointing to (ls -i), but I guess it would be empty (I don't really know, TBH).
I'll try removing and then
mkdiring it again to see if that solves it, but I'd really like to understand why this is happening.
PS: I don't know if it being a Rancher container affects in any way.
..links (I believe
btrfsis one such filesystem). So, what was the command, and what was the error?
rm -rf /backupbut didn't work. It says that "the resource is busy".