By default, the ColdFusion built in Server shows .DS_Store files on MacOS. Is there a setting to hide these?
Asked
Active
Viewed 93 times
0
-
The directory listing is not so much a part of ColdFusion as Tomcat. Have you tried [specifying a security constraint (tomcat 7, thus javaee6)](https://docs.oracle.com/cd/E19798-01/821-1841/bncbk/index.html) for `*/.DS_store` in web.xml? – Andrew Domaszek Nov 27 '14 at 20:09
1 Answers
1
DS_Store files are automatically created by Mac OSX Finder in browsed directories. These files contain information about system configuration. Read here.
Here is how you can remove it
- Select Applications > Utilities to launch Terminal.
- Enter the following UNIX command: sudo find / -name ".DS_Store" -depth -exec rm {} \;
- When prompted for a password enter your Mac OS X Administrator password.

Anit Kumar
- 368
- 1
- 10
-
I don't want to remove them, I just don't want them served by the web server – James A Mohler Dec 18 '14 at 05:27