Just can't figure this out

Running Sabayon (latest version) and I'm trying to setup the home network using samba (so I can use Steam in-home game streaming), but when I open the samba client, it gives the message "Error: cannot open /etc/samba/smb.conf" and I can't do anything. 

The file is there, it does exist (I can open/edit it in bash). I've tried uninstalling samba and re-installing it manually but the issue still remains.

I've tried tweaking the network and firewall settings, but no luck. I've tried searching for other people with the same error message, but in those cases, the file doesn't exists. Can't seem to find relevant information or any solution.

If anyone has any ideas or suggestions, I'm all ears.  

 

Thanks.

permission problem? 

My user account is designated as admin. Will double check permissions tonight and see, but as far as I know I have permission.

Yup, it's a permission problem. Check your groups!

Sabayon is a little weird, i had all sorts of permission problems. I for some reason I didn't own my home directory and a few other strange things. I once installed Sabayon and couldn't fix permission problems at all i went about adding the user to /bin/bash but it didn't work. in the end i re-installed as it was a new install anyway.  

 

 

I've also had problems with samba; I just gave up honestly it is a nightmare in Sabayon for some reason. Even once i got the errors worked out it just won't share anything. 

If I re-install again, it'll be the 3rd re-install I've done.  Somehow I don't think that will solve the problem if it didn't work the last 2 times. ;) But if there is some way to change some setting on install, maybe that's a possible solution...

When I go through the install process, it doesn't give you a whole lot of options or choices. It allow you to customize the partitions, select your time zone, choose your user name, password, and root password, but that's about it. Everything else is automatic. 

To make sure it installed the proprietary GPU drivers I had to edit the command line in the grub menu "advanced options" then boot from the USB in safe mode. Perhaps there's something else I need to edit in that command line that would correct this permissions problem?

Just thinking out loud...

"Error: cannot open /stc/samba/smb.conf"


As others have mentioned, the error you're getting is usually a permission issue from non-valid samba user or setting a samba user, ie; smbpasswd file. So, in other words; smbpasswd -a root

shouldnt it be etc not stc? - /etc/samba/smb.conf

Yes, "etc". Thanks for catching that. OP fixed. 

Thanks, I will give that a try.

Ok, I typed in smbpasswd -a root and it then asked me to create a password - which I did.

Still getting the same error.

I ran systemctl but did not see "smb" or "samba" anywhere on the list of services... So am I correct in assuming it's not running?

Maybe try forcing permissions through Swat - I have no idea if it will work on Sabayon, I've never used Gentoo or Arch based distro's.

http://www.samba.org/samba/docs/man/manpages-3/swat.8.html

Alright, so the initial issues I was dealing with was getting the proprietary GPU drivers installed (got that figured out and fixed), getting steam in-home streaming to work and getting netflix to work. I've spent several weeks now on trying to remedy the netflix and streaming only to have made no progress at all. I've learned a lot and greatly appreciate all the help I've received. But one can only work on something for so long without finding a solution.

Earlier today I decided to try out a few other distros in virtual box on my windows PC and see if I could get everything working as it should with one of them. Manjaro Open Box turned out to be the ticket. Still had to set some things up manually, but it's all working as intended with no surprises. So, I ended up wiping Sabayon and installing Manjaro on the HTPC instead. The GPU proprietary drivers installed without a hitch and everything else works just as it did in the VM. Finally!!!

Sabayon is still a great distro and while I'm sure any well-experienced linux user could have had everything working just fine within minutes, I just couldn't figure it out and had spent enough time on it already. I'm not one to just give up on something and I don't blame the distro - only my own inexperience. Perhaps Sabayon wasn't the best distro for a beginner to jump into right off the bat...

Anyways, everything's finally working and the solution, as it turns out, was to simply use a different distro. I would like to know what was wrong and how to fix it, but it was time to move on. 

Thanks anyways for the help. :)