[Samba] Unable to set Windows permissions on share

Bruno Martins bmartins at galileu.pt
Mon Sep 26 01:50:31 MDT 2011


>From the logs, I can see this:

[2011/09/26 08:37:56.009063,  1] smbd/service.c:1070(make_connection_snum)
  192.168.0.123 (192.168.0.123) 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
[2011/09/26 08:37:59.326713,  0] param/loadparm.c:8686(process_usershare_file)
  process_usershare_file: stat of /var/lib/samba/usershares/dropbo failed. No such file or directory
[2011/09/26 08:37:59.328189,  0] param/loadparm.c:8686(process_usershare_file)
  process_usershare_file: stat of /var/lib/samba/usershares/dropbo failed. No such file or directory

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

-----Original Message-----
From: samba-bounces at lists.samba.org [mailto:samba-bounces at lists.samba.org] On Behalf Of Bruno Martins
Sent: segunda-feira, 26 de Setembro de 2011 08:34
To: 'TAKAHASHI Motonobu'
Cc: samba at lists.samba.org; António Moreira
Subject: Re: [Samba] Unable to set Windows permissions on share

-----Original Message-----
From: TAKAHASHI Motonobu [mailto:monyo at monyo.com]
Sent: domingo, 25 de Setembro de 2011 16:03
To: Bruno Martins
Cc: samba at lists.samba.org; António Moreira
Subject: Re: [Samba] Unable to set Windows permissions on share

From: Bruno Martins <bmartins at galileu.pt>
Date: Sun, 25 Sep 2011 13:23:07 +0000

> Good evening guys,
> 
> I'm being unable to set a certain Samba share's permissions through 
> Windows properties dialogue box, using the Security tab.

You really mean **share**'s permission or files's permission in the share?


> I'm trying to perform this action as a member of "Domain Users"
> Active Directory group.

If former, simply to grant full control to "Domain Users" by Administartor from Windows or using sharesec command.

If latter, "dos filemode = yes" may help you.

Other comments...

> [dropbox]
>         inherit owner = Yes
>         inherit permissions = Yes
>         map acl inherit = Yes
>         writable = Yes
>         path = /home/joe/Dropbox
>         acl group control = Yes
>         comment = Partilha das Galileus
>         inherit acls = Yes
>         write list = "@domain users"
>         browseable = Yes

"inherit permissions" takes precedence over "inherit acls" so in your conf, "inherit acls" is ignored.

I think that "map acl inherit" is too buggy to use in production.
See https://bugzilla.samba.org/show_bug.cgi?id=6841

---
TAKAHASHI Motonobu <monyo at samba.gr.jp>

Hello mate,

I really mean share's permissions, as Unix permissions are set to 777 just for testing. I may have to check this out later too. ;-)

I've corrected the inheritance thing you told me, although it didn't help that much.


--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


More information about the samba mailing list