Hi. I'm testing samba 4.2.0 vfs_fruit on Fedora Server 22-alpha. I confirmed that ResourceFork and FinderInfo are compatible with Netatalk 3.1.7. However, EAs are incompatible. The character ":" in EA name is wrong. The EAs are not seen from clients. smb.conf: [test2] path = /export/test2 writable = yes vfs objects = catia fruit streams_xattr fruit:locking = netatalk streams_xattr:prefix = user. streams_xattr:store_stream_type = no kernel oplocks = no On OS X: $ cd ~/test $ xattr ICONandEA.txt com.apple.FinderInfo com.apple.ResourceFork com.apple.TextEncoding com.apple.metadata:kMDItemFinderComment Copy from OS X to Fedora via Netatalk. On Fedora: $ cd /export/test2 $ ls -a1 ./ ../ .DS_Store ._ICONandEA.txt ICONandEA.txt $ getfattr ICONandEA.txt # file: ICONandEA.txt user.com.apple.TextEncoding user.com.apple.metadata:kMDItemFinderComment user.org.netatalk.Metadata Copy from OS X to Fedora via Samba. On Fedora: $ cd /export/test2 $ ls -a ./ ../ .DS_Store ._ICONandEA.txt ICONandEA.txt $ getfattr ICONandEA.txt # file: ICONandEA.txt user.com.apple.TextEncoding user.com.apple.metadata kMDItemFinderComment user.org.netatalk.Metadata The character ":" is wrong. On OS X via Samba: $ cd /Volumes/test2 $ xattr ICONandEA.txt com.apple.FinderInfo com.apple.ResourceFork The EAs are not seen from clients. How can I handle EAs? -- HAT
Hi HAT! Nice to meet you over here... ;) On Wed, Mar 11, 2015 at 11:30:45PM +0900, HAT wrote:> Hi. > I'm testing samba 4.2.0 vfs_fruit on Fedora Server 22-alpha. > I confirmed that ResourceFork and FinderInfo are compatible with > Netatalk 3.1.7. However, EAs are incompatible. > The character ":" in EA name is wrong. > The EAs are not seen from clients. > > smb.conf: > [test2] > path = /export/test2 > writable = yes > vfs objects = catia fruit streams_xattr > fruit:locking = netatalk > streams_xattr:prefix = user. > streams_xattr:store_stream_type = no > kernel oplocks = no > > On OS X: > $ cd ~/test > $ xattr ICONandEA.txt > com.apple.FinderInfo > com.apple.ResourceFork > com.apple.TextEncoding > com.apple.metadata:kMDItemFinderComment > > Copy from OS X to Fedora via Netatalk. > On Fedora: > $ cd /export/test2 > $ ls -a1 > ./ > ../ > .DS_Store > ._ICONandEA.txt > ICONandEA.txt > $ getfattr ICONandEA.txt > # file: ICONandEA.txt > user.com.apple.TextEncoding > user.com.apple.metadata:kMDItemFinderComment > user.org.netatalk.Metadata > > Copy from OS X to Fedora via Samba. > On Fedora: > $ cd /export/test2 > $ ls -a > ./ > ../ > .DS_Store > ._ICONandEA.txt > ICONandEA.txt > $ getfattr ICONandEA.txt > # file: ICONandEA.txt > user.com.apple.TextEncoding > user.com.apple.metadata kMDItemFinderComment > user.org.netatalk.Metadata > > The character ":" is wrong. > > On OS X via Samba: > $ cd /Volumes/test2 > $ xattr ICONandEA.txt > com.apple.FinderInfo > com.apple.ResourceFork > > The EAs are not seen from clients. > > How can I handle EAs?not sure, but the colon in xattr names is probably not handled correctly at this point. Can you please file a bugreport so we can track this? -Ralph -- SerNet GmbH, Bahnhofsallee 1b, 37081 G?ttingen phone: +49-551-370000-0, fax: +49-551-370000-9 AG G?ttingen, HRB 2816, GF: Dr. Johannes Loxen http://www.sernet.de,mailto:kontakt at sernet.de
> not sure, but the colon in xattr names is probably not handled > correctly at this point. Can you please file a bugreport so we can > track this?Bug 11162 https://bugzilla.samba.org/show_bug.cgi?id=11162 -- HAT
Hi, I'm testing samba 4.3.3 vfs_fruit on Fedora rawhide. The EAs are not seen from clients yet. smb.conf: path = /export/test1/ writable = yes vfs objects = catia fruit streams_xattr fruit:locking = netatalk fruit:encoding = native streams_xattr:prefix = user. streams_xattr:store_stream_type = no On OS X: $ cd ~/test $ xattr ICONandEA.txt com.apple.FinderInfo com.apple.ResourceFork com.apple.TextEncoding com.apple.metadata:kMDItemFinderComment Copy from OS X to Fedora via Samba. On Fedora: $ cd /export/test1 $ ls -a ./ ../ .DS_Store ._ICONandEA.txt ICONandEA.txt $ getfattr ICONandEA.txt # file: ICONandEA.txt user.com.apple.TextEncoding user.com.apple.metadata:kMDItemFinderComment user.org.netatalk.Metadata On OS X via Samba: $ cd /Volumes/test1 $ xattr ICONandEA.txt com.apple.FinderInfo com.apple.ResourceFork The EAs are not seen from clients. How can I handle EAs? -- HAT
On 26/12/15 17:08, HAT wrote:> Hi, > I'm testing samba 4.3.3 vfs_fruit on Fedora rawhide. > > The EAs are not seen from clients yet. > > smb.conf: > path = /export/test1/ > writable = yes > vfs objects = catia fruit streams_xattr > fruit:locking = netatalk > fruit:encoding = native > streams_xattr:prefix = user. > streams_xattr:store_stream_type = noIs that your entire smb.conf or just the share ? Rowland> > On OS X: > $ cd ~/test > $ xattr ICONandEA.txt > com.apple.FinderInfo > com.apple.ResourceFork > com.apple.TextEncoding > com.apple.metadata:kMDItemFinderComment > > Copy from OS X to Fedora via Samba. > On Fedora: > $ cd /export/test1 > $ ls -a > ./ > ../ > .DS_Store > ._ICONandEA.txt > ICONandEA.txt > $ getfattr ICONandEA.txt > # file: ICONandEA.txt > user.com.apple.TextEncoding > user.com.apple.metadata:kMDItemFinderComment > user.org.netatalk.Metadata > > On OS X via Samba: > $ cd /Volumes/test1 > $ xattr ICONandEA.txt > com.apple.FinderInfo > com.apple.ResourceFork > > The EAs are not seen from clients. > > How can I handle EAs? >