LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   samba server does not let my windows machine to see files but directories are visible (https://www.linuxquestions.org/questions/linux-networking-3/samba-server-does-not-let-my-windows-machine-to-see-files-but-directories-are-visible-731797/)

linux hates me 06-09-2009 08:19 PM

samba server does not let my windows machine to see files but directories are visible
 
I have a samba server that has a share visible to my windows computers. I can see all the file folders in the share but all the files are invisible. they are on the linux and I have set the chmod to 777 for all files and directories. I also belive that the user and groups have been set correctly. I have browsable = yes in the smb.conf file.

does anyone know what my problem is?

thanx

billymayday 06-09-2009 08:26 PM

Try it without SELinux for a moment (setenforce 0) and report back

What is the share path?

linux hates me 06-09-2009 08:40 PM

IT WORKS!!!!

thanks alot

billymayday 06-09-2009 08:47 PM

That's not a permanent solution though (unless you want to disable SELinux altogether). The easiest fix is probably to disable SELinux for samba, which from (vague) memory is in the security settings somewhere (if you run gnome), or there will be a boolean you can set in /selinix/booleans, something like "setsebool -P samba_enable_home_dirs true"

Depends what you are sharing though.


All times are GMT -5. The time now is 10:03 PM.