@mreddy86 said in problem with smb.config permission:

if i try with sudo "sudo: no command found"

dude, you're root, why sudo ? lol
And yes, you need to follow the wiki @pepe pointed you to