> On Sat, Jun 12, 2010 at 12:45:40PM +0200, Martin Kopta wrote: > >On Sat, Jun 12, 2010 at 10:48:27AM +0200, Jakub Lach wrote: > >> > $ ls -d .* | wc -l > >> > 37 > >> > $ ls -ld $HOME > >> > dr-x------ 27 dum8d0g users ... > >> >=20 > >> >=20 > >>=20 > >> $ ls -d .* | wc -l > >> 47 > >> $ ls -ld $HOME > >> drwxrwx--- 40 user ... > >>=20 > > > >How do you prevent dotfiles/dotdirs beeing created? > > My guess would be either rm(1) or not using crappy apps=20 > (although admittedly some of the least crappy apps clutter your=20 > home directory with them). Even with cleaning out useless=20 > dot-files every few months, I still wind up with hundreds,=20 > though.
Someone on this list already proposed to set ~ read only. Bad apps will either fail completely, acceptable ones will output a warning or ignore the missing permissions and good ones won't write any garbage anyway. It also makes much sense for me, since I sometimes tend to use ~ the way other people use /tmp.