Forum archive 2000-2006

 Davide P. Cervone - Re: File manager does not follow symlinks  7/2/2005; 5:22:13 PM (reads: 1574, responses: 0) I have just updated the File Manager to make it possible to follow symbolic links in a controlled way. You can get the latest copy via CVS, but note that it also includes a change to global.conf, so you need to get that, too. There are two new features: first, if a symbolic link is to a file or directory within your course, it can be followed automatically. For other symbolic links, you can set the $webworkDirs{valid_symlinks} variable in the global.conf file to an array of directories that are allowed to be linked to by the File Manager. For example, $webworkDirs{valid_symlinks} = [ "\$webworkDirs{courses}/commonCourse/templates", "/ww2/common/sets", ]; would allow the File Manager to follow symbolic links that point to either of the two directories listed (or to any of their subdirectories). This way, the system administrator can allow professors to have access to limited portions of the system outside their course directories. Note that there still must be a symbolic link within the course hierarchy to one of the allowed directories in order for the File Manager to be able to follow it. Note that these directories will be accessible to the professors using the server's permissions, so if the server has write access to those directories, professors will be able to change their contents. So if you want to have a shared directory of set.def files, for example, make sure it is write protected against the server. Hope that clears up the problem you were having. Davide <| Post or View Comments |>