LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 05-21-2006, 12:55 PM   #1
O(V)eGA_l2el)
Member
 
Registered: May 2005
Distribution: Fedora & Debian
Posts: 56

Rep: Reputation: 15
SMB directories not accessible


2.6.16-1.2108_FC4 i686 athlon i386 GNU/Linux
Permissions for both directories discussed below are the same.

I can not access the "Classic" directory via SMB, but I can access the "Shares" directory with no problem. Both users' login information work for "Shares," but not "Classic." I tested nmblookup and testparm commands, both are successful. Accessing "Shares" from Windows boxes is successful, but attempting to access "Classic" fails with the following message:
"Path not accessible. Check permissions...blah blah"

If I run the following command via root in Linux,
smbclient //localhost/Classic -U user1, the following message is displayed: "tree connect failed: NT_STATUS_BAD_NETWORK_NAME"

Below is a part of smb.conf.

[Shares]
path = /var/ftp/Shares
; writeable = no
browseable = yes
valid users = user1, user2
; writeable = no

[Classic]
path = /extra/Stuff/Classic
; writeable = no
browseable = yes
valid users = user1, user2
; writeable = no

Note:
The smb service, server, and client were restarted.

Last edited by O(V)eGA_l2el); 05-21-2006 at 12:57 PM.
 
Old 05-21-2006, 01:25 PM   #2
Brian1
LQ Guru
 
Registered: Jan 2003
Location: Seymour, Indiana
Distribution: Distribution: RHEL 5 with Pieces of this and that. Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700

Rep: Reputation: 65
Set the permissions on the directory to all. Use this command as root.
chmod 777 /extra/Stuff/Classic

edit: Didn't read your post correctly. This may not help.
Is this directory a seperate partition on the drive, a second drive, or external drive?

Brian1

Last edited by Brian1; 05-21-2006 at 01:27 PM.
 
Old 05-21-2006, 02:18 PM   #3
O(V)eGA_l2el)
Member
 
Registered: May 2005
Distribution: Fedora & Debian
Posts: 56

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by Brian1
Is this directory a seperate partition on the drive, a second drive, or external drive?
Brian1
Yes, this is one of three hard drives installed (/dev/hdd1) /extra. ext3 file system is used. var/ftp is on the second hard drive and is accessible with no problems, as stated in first post.
 
Old 05-21-2006, 02:27 PM   #4
Brian1
LQ Guru
 
Registered: Jan 2003
Location: Seymour, Indiana
Distribution: Distribution: RHEL 5 with Pieces of this and that. Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700

Rep: Reputation: 65
If it automounts compare the lines for them in /etc/fstab.
Also umount each and compare permissions and then when they are mounted.

Brian1
 
Old 05-21-2006, 04:49 PM   #5
O(V)eGA_l2el)
Member
 
Registered: May 2005
Distribution: Fedora & Debian
Posts: 56

Original Poster
Rep: Reputation: 15
fstab info below:

LABEL=/var /var ext3 defaults 1 2

/dev/hdd1 /extra ext3 defaults 1 1

permissions:
ls -la /extra/
total 16
755 2 root root 4096 May 8 22:52 .
755 24 root root 4096 May 21 13:58 ..


ls -la /extra/Stuff/Classic
total 80
777 10 root root 4096 May 18 19:05 .
755 3 root root 4096 May 21 13:19 ..


ls -la /var
total 212
755 25 root root 4096 Mar 26 20:11 .
755 24 root root 4096 May 21 13:58 ..


ls -la /var/ftp/Shares
total 4598920
777 14 root root 4096 May 21 14:28 .
755 4 root root 4096 May 5 00:56 ..
 
  


Reply



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
Searching multiple directories and sub directories for a file jeep99899 Linux - Newbie 2 10-13-2005 12:23 PM
SMB: More then one Windows user/ smb account? 1veedo Linux - Networking 2 03-15-2005 04:16 PM
public SMB directories thw Linux - Networking 2 03-24-2004 02:26 PM
Creating a SSL connection from smb clients to a smb server scottpioso General 0 11-17-2003 02:33 PM
making smb shares viewable from smb client via web browser scottpioso General 3 11-10-2003 04:25 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 06:54 PM.

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
Open Source Consulting | Domain Registration