Samba server inside termux
I have recently tried to make a samba server inside termux. I have installed the "samba" pkg, configured it, but I am getting some sort of "permission denied" error. I have tried to do the same on another, rooted phone and I am still getting the same error. I have also tried to setup samba inside a proot distro like ubuntu. There, I get no permission denied, but the smbd service won't start. I run "service smbd start/restart" and I get a confirmation dialog like you would get on a normal working samba server on a PC or something, but when I run "service smbd status", it is turned off. So I haven't been able to run a samba server inside termux. Is there anyone who has managed to do it? Am I doing something wrong, or what is the problem here?