Networking Forums

Networking Forums > Computer Networking > Linux Networking > Samba - Can access /etc can't access /var

Reply
Thread Tools Display Modes

Samba - Can access /etc can't access /var

 
 
Berenger
Guest
Posts: n/a

 
      12-27-2005, 05:46 PM
I a trying to set up a Linux server to host and test web pages whilst
they are being developed.

For this I am developing the pages within Dreamweaver (Win XP) and
need to save the pages to a Linux server running apache.

Apache is running and serving pages
samba is running and I can access the folder /etc from windows XP and
see all the files and folders under /etc
The permissions are set identically for /var /etc /misc

However the folder I need to get to is /var/www/html but from windows
XP all I get is

" \\Linuxbox\var is not accessible. You might not have permission to
use this network resource. Contact the administrator of this server to
find out if you have access permissions" not matter what combination
of
/var , /var/www , /var/www/html I use (though the message above
changes to reflect this)

The same is true if I try to share /misc

Can anyone tell me what I (probably) need to do to access /var and the
folders/files below it or what information (and how to find it) I need
to supply for someone to make an informed decision.

Thanks

Fedora Core 4
samba 3
 
Reply With Quote
 
 
 
 
Antoine EMERIT
Guest
Posts: n/a

 
      12-29-2005, 12:29 PM
Berenger <(E-Mail Removed)> écrivait
news:(E-Mail Removed):
> " \\Linuxbox\var is not accessible. You might not have permission to
> use this network resource. Contact the administrator of this server to
> find out if you have access permissions" not matter what combination
> of
> /var , /var/www , /var/www/html I use (though the message above
> changes to reflect this)
>
> The same is true if I try to share /misc
>
> Can anyone tell me what I (probably) need to do to access /var and the
> folders/files below it or what information (and how to find it) I need
> to supply for someone to make an informed decision.


Give your smb.conf file, and ls -l on /var.

Regards
 
Reply With Quote
 
Berenger
Guest
Posts: n/a

 
      12-29-2005, 02:57 PM
On 29 Dec 2005 13:29:31 GMT, Antoine EMERIT
<(E-Mail Removed)> wrote:

>Berenger <(E-Mail Removed)> écrivait
>news:(E-Mail Removed) :
>> " \\Linuxbox\var is not accessible. You might not have permission to
>> use this network resource. Contact the administrator of this server to
>> find out if you have access permissions" not matter what combination
>> of
>> /var , /var/www , /var/www/html I use (though the message above
>> changes to reflect this)
>>
>> The same is true if I try to share /misc
>>
>> Can anyone tell me what I (probably) need to do to access /var and the
>> folders/files below it or what information (and how to find it) I need
>> to supply for someone to make an informed decision.

>
>Give your smb.conf file, and ls -l on /var.
>

Thanks for replying

the ls -l and smb.conf are below.

I have kept the smb.conf as simple as possible to try and solve this.
I also have two network storage devices (Trendnet and Dlink) on the
network running embedded samba servers. Could this be causing a
conflict?

David

ls -l /var
total 188
drwxr-xr-x 2 root root 4096 Nov 7 00:35 account
drwxr-xr-x 9 root root 4096 Nov 7 00:40 cache
drwxr-xr-x 3 netdump netdump 4096 Nov 7 00:35 crash
drwxr-xr-x 2 root root 4096 Apr 20 2005 cvs
drwxr-xr-x 3 root root 4096 Nov 7 00:35 db
drwxr-xr-x 3 root root 4096 Nov 7 00:35 empty
drwxr-xr-x 3 root root 4096 Nov 7 01:10 ftp
drwxrwx--T 2 root gdm 4096 Dec 29 15:46 gdm
drwxr-xr-x 26 root root 4096 Nov 7 01:17 lib
drwxr-xr-x 2 root root 4096 May 23 2005 local
drwxrwxr-x 5 root lock 4096 Dec 29 04:02 lock
drwxr-xr-x 13 root root 4096 Dec 27 07:58 log
lrwxrwxrwx 1 root root 10 Nov 7 00:31 mail -> spool/mail
drwxr-x--- 4 root named 4096 Nov 7 00:35 named
drwxr-xr-x 2 root root 4096 May 23 2005 nis
drwxr-xr-x 2 root root 4096 May 23 2005 opt
drwxr-xr-x 2 root root 4096 May 23 2005 preserve
drwxr-xr-x 2 root root 4096 Mar 28 2005 racoon
drwxr-xr-x 20 root root 4096 Dec 27 18:06 run
drwxr-xr-x 17 root root 4096 Nov 7 01:11 spool
drwxrwxrwt 3 root root 4096 Nov 8 00:15 tmp
drwx------ 2 root root 4096 Apr 20 2005 tux
drwxr-xr-x 8 root root 4096 Nov 7 00:37 www
drwxr-xr-x 3 root root 4096 Nov 7 00:35 yp



smb.conf
# This is the main Samba configuration file.
[global]
workgroup = 99clonmore
security = share
server string =
; encrypt passwords = yes
guest ok = yes
; guest account = nobody
debug timestamp = no
log level = 3
max log size = 20000
log file = /var/log/samba/%m.log

[var]
path = /var
; writeable = no
guest ok = Yes

[etc]
path = /etc
; writeable = no
guest ok = Yes

[misc]
path = /misc
; writeable = no
browseable = yes
guest ok = yes
writeable = yes

 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Samba W2K access problem Gérard Linux Networking 9 01-05-2008 09:35 AM
Access samba shares via VPN from outside? Tom Muller Linux Networking 0 05-04-2007 03:22 PM
XP can see Samba but cannot access share JimBean Linux Networking 0 02-18-2005 05:48 PM
Samba Access Denied to OS/2 Felix Miata Linux Networking 1 12-25-2003 05:03 PM
Samba+XP No access to profiles Tobias Schenk Linux Networking 0 09-21-2003 05:47 PM



1 2 3 4 5 6 7 8 9 10 11