Hi, I have the source tree of a project exported with samba. autogen.sh on the host filesystem (ext4) runs fine while it fails on the samba share with: autoreconf: Entering directory `.' autoreconf: configure.ac: not using Gettext autoreconf: running: aclocal -I m4 Use of uninitialized value $msg in concatenation (.) or string at /usr/bin/autom4te line 1038. unknown channel m4trace:configure.ac:154: -1 at /usr/share/autoconf/Autom4te/Channels.pm line 634 Autom4te::Channels::msg('m4trace:configure.ac:154: -1', undef, 'warning: ') called at /usr/bin/autom4te line 1038 aclocal: autom4te failed with exit status: 1 autoreconf: aclocal failed with exit status: 1 The above fails even in the simple case of mounting the samba share on the same machine that exports it. This is on ubuntu 9.10 with stock samba: samba 2:3.4.0-3ubuntu5 options for share from smb.conf: ea support = yes read only = no browseable = no guest ok = no valid users = sap create mask = 0644 directory mask = 0755 The host filesystem is ext4 (i enabled extended attributed as a blind shot to fix this, it fails with and without extended attributes) Thanks, George
On Sun, Nov 29, 2009 at 12:14:38AM +0200, George Sapountzis wrote:> I have the source tree of a project exported with samba. autogen.sh on > the host filesystem (ext4) runs fine while it fails on the samba share > with: > > autoreconf: Entering directory `.' > autoreconf: configure.ac: not using Gettext > autoreconf: running: aclocal -I m4 > Use of uninitialized value $msg in concatenation (.) or string at > /usr/bin/autom4te line 1038. > unknown channel m4trace:configure.ac:154: -1 at > /usr/share/autoconf/Autom4te/Channels.pm line 634 > Autom4te::Channels::msg('m4trace:configure.ac:154: -1', undef, > 'warning: ') called at /usr/bin/autom4te line 1038 > aclocal: autom4te failed with exit status: 1 > autoreconf: aclocal failed with exit status: 1 > > The above fails even in the simple case of mounting the samba share on > the same machine that exports it. > > This is on ubuntu 9.10 with stock samba: > samba 2:3.4.0-3ubuntu5Can this be https://bugzilla.samba.org/show_bug.cgi?id=6898 ? Volker -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available URL: <http://lists.samba.org/pipermail/samba/attachments/20091128/30fd239e/attachment.pgp>
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.