On 01/08/12 14:54, Michael B. Trausch wrote:
On 08/01/2012 03:59 AM, NdK wrote:
Il 30/07/2012 09:40, NdK ha scritto:
Seems I can't find the root cause of $subj.
When I store a file on my "home", it gets chmodded ugo+x ...
Any hints?
See the documentation for "map archive".[0]
Essentially, the DOS/Windows "archive" bit is mapped to the POSIX user
execute bit. This makes it possible for DOS/Windows backup software to
be able to use the archive bit.
It might behoove Samba to implement DOS/Windows file attributes in user
extended attributes, or in a database file, as opposed to (ab)using the
owner execute bit for this purpose. However, it has been this way for a
long time, and I would expect that inertia will overcome the desire for
change here. I could be (and hopefully am) wrong.
You are wrong, mount your file system with extended attributes enabled
and then add the following to your smb.conf
# store DOS attributes in extended attributes
ea support = yes
store dos attributes = yes
map readonly = no
map archive = no
map system = no
JAB.
--
Jonathan A. Buzzard Email: jonathan (at) buzzard.me.uk
Fife, United Kingdom.
--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/options/samba