Comment 17 for bug 6671

Revision history for this message
ideasman42 (ideasman42) wrote : Re: insecure file access (breezy, dapper, edgy, gutsy, hardy)

regarding "ln -s /home/bob/thesis.tex /tmp/0001.jpg"

Should this problem be resolved by first removing the file before writing?
That or checking if the file is a symlink, if so remove the symlink?