[Samba] autogen.sh failing over samba share

George Sapountzis gsapountzis at gmail.com
Tue Dec 1 18:52:41 MST 2009


On Wed, Dec 2, 2009 at 3:11 AM, Jeremy Allison <jra at samba.org> wrote:
> On Tue, Dec 01, 2009 at 03:44:12AM +0200, George Sapountzis wrote:
>> On Sun, Nov 29, 2009 at 11:45 AM, Volker Lendecke
>> <Volker.Lendecke at sernet.de> wrote:
>> > On Sun, Nov 29, 2009 at 03:22:26AM +0200, George Sapountzis wrote:
>> >> - configure is not created with +x permission
>> >
>> > Could that be the "create mask" setting?
>> >
>>
>> Yes, using 0744 (default value) for "create mask" sets the x bit for
>> configure bit. However, it also sets the x bit for all(?) new/modified
>> files. This creates other problems. For example the source code is in
>> a mercurial repo, so whenever I do an update/checkout, files are
>> checked out with the x bit set and mercurial spuriously thinks that
>> the files are modified.
>>
>> So, I guess the question is how do I configure samba so that
>> permission bits from the client are set the same as if the operation
>> was performed at the server ?
>
> create mask = 0777
> directory create mask = 0777
> security mask = 0777
> directory security mask = 0777
>
> Jeremy.
>

Unfortunately, this does not work either. For mercurial repo:
rm -rf *
hg checkout -C
hg status

similar for git:
rm -rf *
git checkout -f
git status -a

The status commands show all files changing permissions.

regards,
George.


More information about the samba mailing list