[Thunar-dev] linking root paths

Brian J. Tarricone bjt23 at cornell.edu
Sat Nov 4 11:48:01 CET 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hey Benny,

xfdesktop allows the user to drag (for example) the 'File System' icon
from the thunar path bar to the desktop, or to a folder icon on the
desktop, if for some reason they want to make a symlink to '/'.
However, thunar-vfs seems to explicitly disallow this, and throws a
critical warning.

The culprit seems to be line 258 of thunar-vfs-io-ops.c, in
_thunar_io_ops_link_file():

_thunar_vfs_return_val_if_fail (!thunar_vfs_path_is_root (source_path),
                                FALSE);

Is there any reason for this?  I can easily do "ln -s / ~/file-system"
from a terminal; why doesn't thunar-vfs allow it?

	-brian

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)

iD8DBQFFTG/g6XyW6VEeAnsRAiJ7AKCcsJMGuRuIz0pgRcLBoD3vc0VwkACgzaKg
DJ6CCmnEo0ZQsCs+k4wR/qs=
=gO80
-----END PGP SIGNATURE-----



More information about the Thunar-dev mailing list