File manager does not follow symlinks | topic started 4/20/2005; 1:09:48 PM last post 7/2/2005; 5:22:13 PM |
|
|
|
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} = [ 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 |