[Samba] Unable to set Windows permissions on share

Bruno Martins bmartins at galileu.pt
Mon Sep 26 08:57:45 MDT 2011

-----Original Message-----
From: TAKAHASHI Motonobu [mailto:monyo at monyo.com] 
Sent: segunda-feira, 26 de Setembro de 2011 14:10
To: Bruno Martins
Cc: samba at lists.samba.org
Subject: Re: [Samba] Unable to set Windows permissions on share

From: Bruno Martins <bmartins at galileu.pt>
Date: Mon, 26 Sep 2011 07:50:31 +0000

> >From the logs, I can see this:
> [2011/09/26 08:37:56.009063,  1] smbd/service.c:1070(make_connection_snum)
> ( connect to service Direccao initially as user GALILEU-F\bmartins (uid=100001, gid=100000) (pid 2194)
> [2011/09/26 08:37:59.325243,  0] param/loadparm.c:8686(process_usershare_file)
>   process_usershare_file: stat of /var/lib/samba/usershares/dropbo failed. Permission denied


> However, 'dropbox' folder is under /home/joe... I'm gonna investigate this.

Have you set "usershare max shares" other than 0 ?
What does "net usershare list" show?

The path looks like a share created as an usershare.
TAKAHASHI Motonobu <monyo at samba.gr.jp>

Hello mate,

I haven't set 'usershare max shares' parameter. I had changed this parameter to 10 and it didn't work.

'net usershare list' returns nothing.

It seems like Samba interprets shares under /home like usershares, but this is not. And the correct path for the share is not /var/lib...

Thanks for the patience.

Best regards,

Bruno Martins

More information about the samba mailing list