LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 06-09-2009, 09:19 PM   #1
linux hates me
Member
 
Registered: May 2009
Distribution: fedora 14 and CentOS 5.5
Posts: 71

Rep: Reputation: 15
Question 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
 
Old 06-09-2009, 09:26 PM   #2
billymayday
LQ Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
Try it without SELinux for a moment (setenforce 0) and report back

What is the share path?
 
Old 06-09-2009, 09:40 PM   #3
linux hates me
Member
 
Registered: May 2009
Distribution: fedora 14 and CentOS 5.5
Posts: 71

Original Poster
Rep: Reputation: 15
IT WORKS!!!!

thanks alot
 
Old 06-09-2009, 09:47 PM   #4
billymayday
LQ Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
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.

Last edited by billymayday; 06-09-2009 at 09:48 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Copy directories/files from Fedora 8 machine to SuSE 10.3 machine r-t Linux - Newbie 6 03-11-2008 08:54 AM
How to use samba implementing some files can visible and some files can not visible willie118 Linux - Server 7 09-18-2007 01:27 AM
samba server visible for linux but invisible for windows morgwai Linux - Networking 7 08-22-2005 09:40 AM
samba: home directories not visible flipboi Linux - Networking 1 05-28-2004 12:06 AM
Samba not sharing files with Windows machine GreenerLinux Linux - Networking 3 12-03-2003 02:51 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 03:06 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration