Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I just realized that once my girlfriend (against all my advice...) gets her new Mac, these fuckers will show up on our NFS server, huh?

Does anyone know how to prevent that from happening? It's a non-auth NFS, so anyone on the network is supposed to see and use it. So a server-side solution would be preferable, but client-side will do in a pinch.



Client side: https://osxdaily.com/2010/02/03/how-to-prevent-ds_store-file...

There’s always been a hidden setting to stop Finder from generating these on a server, but the downside is that it won’t remember things like your girlfriend’s view preferences on the server (window position, sort options, text size, view type e.g. list or icon view).

That setting is also per user account, so if you have a user account for yourself on the same computer you would have to set it for yourself as well.


Samba has a setting to forbid creation of that shit, I don't know about NFS though.


iptables can forbid her to access the NFS. I have a script to delete them with cron scanning the entire drive, since I have the same weakness for Mac users as you.




Consider applying for YC's Summer 2026 batch! Applications are open till May 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: