Page 1 of 1

Can not change any folder icon, Icon? 0 byte

PostPosted: Wed Jun 05, 2024 3:06 am
by tonywongfish
hi all

been using openzfs on Mac mini since 2011 til now with Mac mini m2 pro .....for me super lucky I have rarely have any major issues with my setup .

till recently I realise I can not change any folder icon like I do on my MBP ....I wanted to use the free osx app (add folder icon app) to add an icon on each of my pic folder which I have a missive collection 5 - 6T( few hundreds sub folders) . I wanted to have a thumb view for me easily to find my pic album.

I tested, and it only happen on the zfs file system . I also have a 2T nvme permanent attached to my mini and the folder icon there can be change.

I also use the traditional method (copy pic/png and paste on the the "get info" icon ) but same works on the nvme(formatted using APFS and my local ssd (APFS ofocz). but NOT on the zfs file system .

when I did the copy n paste to change the icon it create a system file Icon? with 0 byte . I check all zfs system folder ownership/permission and I have full access to it .

I can't find any where on the google peoples mentioned this issues ( not on zfs file system)

can any point me to the right direction ?


many thx in advance !

am using zfs-macOS-2.2.2 release with latest macOS Sonoma

Re: Can not change any folder icon, Icon? 0 byte

PostPosted: Wed Jun 05, 2024 5:18 am
by jawbroken
i believe changing the folder icon is done using extended attributes, if you're looking for keywords. there have been discussions about issues with extended attributes before on the forums, somewhere

Re: Can not change any folder icon, Icon? 0 byte

PostPosted: Wed Jun 05, 2024 7:18 am
by tonywongfish
just do some search on this forum by key work "icon" "xattr" ....

yea they mentioned successfully change icons but

A they are based on old Intel Mac so maybe the code are different then my m2 ?
B they are discussing other issues which I have no idea what they talked about ;D :roll: sorry

however from what I read from their discussion I figure I try xattr -l my zfsdatatank and it's show :

user@m2pro ~ % xattr -s /Volumes/myzfs/zfs/
org.netatalk.Metadata
org.netatalk.has-Extended-Attributes
com.apple.FinderInfo


also zfs get xattr myzfs/zfs

user@m3pro ~ % zfs get xattr myzfs/zfs
NAME PROPERTY VALUE SOURCE
myzfs/zfs xattr on default


whatever that mean ?

so what should I suppose to change the com.apple.FinderInfo or something ? if anyone know how pls enlighten me ;)

I also wanted to state that ...this 4x disk zfs raidz1 are created by truenas scale and imported into this MacOS. I have been doing that for the last 3 radiz1 ;) and I never had any issues with it ( or I fix it by look at internet ;) )
And .....on smb share of that truenas I also CAN do the folder changing (pic as thumbview)! on zfs file system.

many thx !