[Building Sakai] Resources-within-Filesystem on Windows -- howto?

Adams, David da1 at vt.edu
Wed May 20 09:27:10 PDT 2009


Jim Eng wrote:
> > Does the location "T:\resources" exist on the server, and
> > does sakai have permission to read/write files in that
> > folder?

Will Trillich wrote:
> Yes and yes. It's just a local folder on the C: drive, mapped (via
> 'subst') to look like a T: drive for testing. Sakai is running as
> 'administrator'. Can't have much more permission than that!

Does it work if you give the C: path? Assuming subst works like network
drives, the mapped drive exists only in a user session. If Tomcat is
running as a service, it may not be able to see drives you've mapped
with subst. If you ran subst as a different user than Tomcat is running
as, then it definitely won't be able to see it.

If you're planning on using a network share to host the content, then
mapping drives won't be an option unless you plan to log in and run
tomcat by hand, so you'll need to be testing using the
\\servername\sharename format anyway (you could share the folder from
the local machine and test it that way). Of course, then you'll run into
cross-machine authorization complexities...

-dave



More information about the sakai-dev mailing list