Qnap’ta ._.DS_Store Dosyalarının Oluşmasını Nasıl Engelleyebilirsiniz

I – My Qnap Nas İs Getting Filled with .DS_Store and .Appledouble Files All Over. Any İdea How To Stop That? (Offical Apple Advice)

II – How To Disable Creation of ._.DS_Store Files On Samba Shares

.

I – My Qnap Nas İs Getting Filled with .DS_Store and .Appledouble Files All Over. Any İdea How To Stop That? (Offical Apple Advice)

Hello,

my QNAP NAS is getting filled with .DS_Store and .AppleDouble files all over.

qnap .ds_store generate problem

Any idea how to stop that?

I only found the ff. information as wa “workaround” …. :

http://icesquare.com/wordpress/how-to-remove-ds_store-and-appledouble/

Can you recommend something else / better???

.

Solution;

Open Terminal and type;

defaults write com.apple.desktopservices DSDontWriteNetworkStores true

Those files are created automatically by OS X, so when you delete them, they will reappear, so it looks like that link gives you the solution to the problem

https://discussions.apple.com/thread/4681345?start=0&tstart=0

.

II – How To Disable Creation of ._.DS_Store Files On Samba Shares

Don’t you hate it when your file server is filled with .DS_Store files and .TemporaryItems directories? .DS_Store files are hidden files created by Mac OSX in each directory you access with Finder and stores custom attributes of a folder like icon position and background images. Since they’re ‘custom’ and besides that they’re annoying, you don’t want single suctom settings to be applied to a network share. So let’s disable those.

Open up /etc/samba/smb.conf and add the following lines to each share:

veto files = /._*/.DS_Store/
delete veto files = yes

Now restart samba.

Time to cleanup existing Mac OSX files! You can do that with this command:

find \( -name ".DS_Store" -or -name ".Trashes" -or -name "._*" -or -name ".TemporaryItems" \) -delete

You can also add the command above to a cron, to scan (f.e.) on a weekly base for these files.

Next to that, on your mac client, use this command to prevent any future creation of .DS_Store files on network shares:

defaults write com.apple.desktopservices DSDontWriteNetworkStores true

.https://www.e-rave.nl/disable-creation-of-ds_store-files-on-samba-shares

.

VN:F [1.9.22_1171]
Rating: 9.3/10 (3 votes cast)
VN:F [1.9.22_1171]
Rating: +1 (from 1 vote)
How To Disable Creation of ._.DS_Store Files On Samba Shares on QnapQnap'ta ._.DS_Store Dosyalarının Oluşmasını Nasıl Engelleyebilirsiniz, 9.3 out of 10 based on 3 ratings

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>