[Samba] One share works, one doesn't

Gordon Charrick gordonmc at cox.net
Mon Dec 4 20:13:20 GMT 2006

I'm using FC6 and Windows XP Pro. I have two shares defined as such:

    comment = My documents
    path = /home/gmc/for_backup
    read only = no
    public = no
    valid users = gmc
    path = /vmware
    read only = yes
    public = no
    valid users = gmc

The directories look like this:

[root at gmc for_backup]# ls -ld /home/gmc/for_backup /vmware
drwxr-xr-x 19 gmc gmc 4096 Dec  2 11:51 /home/gmc/for_backup
drwxr-xr-x  8 gmc gmc 1024 Dec  3 00:09 /vmware

I get the following messages when connecting to the shares:

[2006/12/04 11:50:28, 0] smbd/service.c:make_connection_snum(911)
   '/home/gmc/for_backup' does not exist or permission denied when connecting to [docs] Error was Permission denied
[2006/12/04 12:08:10, 1] smbd/service.c:make_connection_snum(941)
   gordonxpc ( connect to service vmware initially as user gmc (uid=500, gid=500) (pid 4898)

Why can I connect to vmware, which is read-only, but not docs, which is rw? The connection to vmware shows it's using 
user gmc which has rw permissions on the directory. I'm using user level security. I don't think anything else in the 
global section matters here.

More information about the samba mailing list