From: Thomas L. <ta...@ec...> - 2001-02-08 11:19:00
|
On Wed, Feb 07, 2001 at 01:58:53PM -0500, Diego Zamboni wrote: > Thomas, > > In the latest CVS, you disallowed .DirIcons and AppIcons to be symbolic > links. > > Maybe we could make it allow those files to be symlinks, as it was before? > For the following reasons: > > - If the user can put a symlink in a directory, he/she could have as well > copied a "nasty file", so I don't see much increase in protection. But, a user can make a symlink /tmp/.DirIcon.png to a root-owned file. Then it would look like root wanted an icon for /tmp... > - I personally prefer not to keep multiple copies of files around, so > whenever possible I link to the icons instead of copying them. But, that breaks the self-contained nature of application directories... > - Some applications (like my Trashcan) which change their icon by linking > AppIcon.xpm to the corresponding file stopped working. I spotted that one... just change 'symlink' to 'link' to create a hard link instead... (only the file's owner can create hard links) -- Thomas Leonard http://rox.sourceforge.net ta...@ec... ta...@us... |