Re: Samba - Can access /etc can't access /var
- From: Berenger <berenger@xxxxxxxxxxxxxx>
- Date: Thu, 29 Dec 2005 15:57:55 +0000 (UTC)
On 29 Dec 2005 13:29:31 GMT, Antoine EMERIT
<gnagnagna@xxxxxxxxxxxxxxxxx> wrote:
>Berenger <berenger@xxxxxxxxxxxxxx> écrivait
>news:dm03r1dqma0ad0tgoanp5ntl0c7vjqlqlh@xxxxxxx:
>> " \\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
.
- References:
- Samba - Can access /etc can't access /var
- From: Berenger
- Re: Samba - Can access /etc can't access /var
- From: Antoine EMERIT
- Samba - Can access /etc can't access /var
- Prev by Date: Re: Sharing a Printer
- Next by Date: Re: multicast/mrouted question
- Previous by thread: Re: Samba - Can access /etc can't access /var
- Next by thread: ip_conntrack garbage
- Index(es):
Relevant Pages
|