[Samba] recycle bin (set) icon
Nick Couchman
nick.e.couchman at gmail.com
Wed Nov 3 20:28:50 UTC 2021
On Wed, Nov 3, 2021 at 4:17 PM Rowland Penny via samba <
samba at lists.samba.org> wrote:
> On Wed, 2021-11-03 at 21:10 +0100, Pol Hallen via samba wrote:
> > Howdy folks :-)
> >
> > I don't understand (similarly QNAP) how set the icon on samba
> > recycle
> > bin folder
> >
> > from win client, when I see a shared folder on QNAP, the recycle bin
> > has
> > the icon of trash (same the local recycle bin)
> >
> > is it possible set also on samba recycle bin?
> >
> > thanks
>
> Sorry, but that would be a question for your OS, Samba just provides
> the recycle bin facility, it doesn't provide any GUI's.
>
> Rowland
>
>
I suspect that it has something to do with a desktop.ini file that
QNAP/Synology/etc. put within that folder that queues Windows to display a
certain icon. See:
https://docs.microsoft.com/en-us/windows/win32/shell/how-to-customize-folders-with-desktop-ini
https://superuser.com/questions/149728/how-can-i-make-desktop-ini-work-on-network-locations/1085558#1085558
https://superuser.com/questions/685732/set-custom-folder-icon-for-a-network-folder-in-windows-file-explorer
So, desktop.ini needs to be marked as a system file within the shared
folder, and then have the correct options put in it to make it a recycle
folder. I suspect if you look closely enough on the QNAP/Synology device
you'll see the desktop.ini file.
-Nick
More information about the samba
mailing list