LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 10-20-2006, 04:54 AM   #1
tomekp
LQ Newbie
 
Registered: Jun 2004
Location: Poland
Distribution: Centos, Fedora
Posts: 27

Rep: Reputation: 16
Question samba - some directories not listing any files


hi
i have fc5 and centos4 installed. i have a windows share mounted in both distros. in centos i can access every directory of this share and list files in it. in fc5 strange thing happens. fc5 can't list some directories, centos can. i've noticed that there are numbers of files greater than a hundred in those directories - maybe a coincidence, maybe not. but i actually can access files from those directories, if i know they're names any suggestions? i have disabled selinux and updated samba. i also tried to copy samba configuration files from centos, but it doesn't work. thanks in advance
 
Old 10-20-2006, 06:09 AM   #2
billymayday
Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
Are you really sure SELinux is disabled - it sounds a lot like an issue I had.

use setenforce 0 and restart smb

Last edited by billymayday; 10-20-2006 at 06:11 AM.
 
Old 10-20-2006, 07:12 AM   #3
tomekp
LQ Newbie
 
Registered: Jun 2004
Location: Poland
Distribution: Centos, Fedora
Posts: 27

Original Poster
Rep: Reputation: 16
well, i have it disabled in "security level configuration" (i'm not sure about the name). or maybe this is not enough?
 
Old 10-20-2006, 07:27 AM   #4
billymayday
Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
I'd try

setenforce 0

at the terminal as root and see what happens
 
Old 10-21-2006, 07:06 AM   #5
tomekp
LQ Newbie
 
Registered: Jun 2004
Location: Poland
Distribution: Centos, Fedora
Posts: 27

Original Poster
Rep: Reputation: 16
it didn't help
 
Old 10-22-2006, 05:35 AM   #6
linuxjamil
Member
 
Registered: Dec 2005
Distribution: Fedora Core 5, Sun Solaris 8
Posts: 122

Rep: Reputation: 15
Question

Quote:
Originally Posted by billymayday
Are you really sure SELinux is disabled - it sounds a lot like an issue I had.

use setenforce 0 and restart smb

hi i need to know the location of setenforce 0
 
Old 10-24-2006, 09:55 AM   #7
tomekp
LQ Newbie
 
Registered: Jun 2004
Location: Poland
Distribution: Centos, Fedora
Posts: 27

Original Poster
Rep: Reputation: 16
i switched back to older kernel, 2.6.17 instead of 2.6.18 and now everything works fine. not a really smart solution but it's fine for me
 
  


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
putty display loops on listing directories with many files, through expect script vineet.k Linux - General 5 03-13-2007 10:44 AM
Samba trouble - directories, but no files adityamalik Linux - Networking 2 09-27-2006 01:12 AM
Samba on FC5: Some Files and Directories Missing jpence Linux - Networking 6 09-27-2006 01:10 AM
Display wide listing of files and directories only? northfield Linux - General 3 08-21-2002 07:28 PM
Why can't I see the files in the directories on my Samba-Shares? Asuka Tabi Linux - Software 1 06-21-2001 02:10 PM


All times are GMT -5. The time now is 02:45 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration