[PATCH] Maintain DOS attributes of externally copied file
Gerald Carter
gcarter at valinux.com
Mon Aug 6 14:05:12 GMT 2001
On Mon, 6 Aug 2001, ZINKEVICIUS,MATT (HP-Loveland,ex1) wrote:
> As it stands, if you copy a file to samba it loses all DOS attributes
> (read-only, etc). This changes that:
I just quickly looked and I think this should be handled by the
'map archive' smb.conf option applied by unix_mode() which is called
a few lines up. Have you tried playing with these options first?
map archive
map system
map hidden
? Granted we need a better way to handle storing DOS attributes
that the 'x' bits.
cheers, jerry
---------------------------------------------------------------------
www.valinux.com VA Linux Systems gcarter_at_valinux.com
www.samba.org SAMBA Team jerry_at_samba.org
www.plainjoe.org jerry_at_plainjoe.org
--"I never saved anything for the swim back." Ethan Hawk in Gattaca--
More information about the samba-technical
mailing list