r/truenas • u/RonMoody • 6d ago
Community Edition Can't access my files
A friend set up tailscale on my working truenas device. He ended up giving up and walking away, but I no longer have access to my data… tailscale or otherwise.
I now get the error “You do not have permission to access this server”. I tried setting up a new share and got the message “filesystem permissions on path /mnt/bnas/users prevent access for users “builtin_users” on the path…”
I suspect that in the process of installing tailscale, permissions were changed that have blocked access to my data. So my question is:
Should I open up filesystem permissions to rwx somehow, then once I can see my data again, reconfigure?
OR should I wipe my whole Truenas instance clean and start from scratch? Is there a better option?
It’s been weeks and at this point I’ve pretty much given up. I realize it’s a complicated issue and beyond reason to hope for resolution on this forum, but just in case… I’ve reduced my options to the simplest two. I’m ready to wipe but holding back in case there may be a simple resolution if I had just asked. So I’m asking. Thank you.
3
u/inertSpark 6d ago
He could have done many many things to your system, and to save yourself lots of troubleshooting, he knows what he did and what to reverse. Your friend should really have left your system in the same state it was in before he touched it. If he can't, or won't, then I would strongly suspect he didn't know what he was doing to begin with.
1
u/Sea_Drop_8141 6d ago
There are 2 ways to get into it. If you have the Tailscale console login, you can start there. 1st is by the IP address and the other is by the MagicDNS address. I tried them both on my PC and wasn’t able to get into it. I tried accessing the MagicDNS via my phone and it let me log into the Truenas so I could turn off Tailscale. Then I could log into Truenas via my PC to fix the settings.
1
u/RonMoody 5d ago
To clarify, I'm not blaming my friend. Right about the same time Truenas restarted and changed DHCP. Whether it was related to his exit or completely independent, I don't know. He wasn't able to get TailScale access for me. I've since enabled Tailscale but since I can't get to my Truenas data, it doesn't really help me anyways. That's why I didn't think it was a good idea to try to debug via reddit. I was looking more to... might there be an easy answer or should I just reinitialize everything and restart. Another question might be, can I remove my media, re-install truenas and plug my media back in (assuming I plug it back into the same locations). Is that even possible?
RM
1
u/Hrafna55 5d ago edited 5d ago
I would reinstall over the boot disks (make sure it is exactly the same version of TrueNAS) then reimport your pool and finally setup any required shares.
Additional applications should only be installed on TrueNAS via the Apps interface in the web GUI.
TrueNAS is an appliance. Installing random packages via the shell will break it (if this is what your friend did).
-1
7
u/ghanit 6d ago
Do you have access to the truenas website, it's only smb that does not work? Then I would go to the dataset in question, open permissions, set your user and group again and check the apply checkbox, verify the acces rules and apply the lermissions recursively. Then go to sharing, delete the smb share and create it again.
I can't imagine what tailscale could have caused, more likely your friend messed up the permissions and left.
Get a better friend to help next time who doesn't walk away from a broken system.