[Server-devel] [XSCE] Fwd: XSCE links to filesfrom Moodle
George Hunt
georgejhunt at gmail.com
Wed Jun 26 14:56:50 EDT 2013
David,
It sounds like moodle (a php application running under the httpd server,
which is itself running as the user "apache") does not have read permission
on the files you would like to serve. I checked my instance of XSCE. My
/library folder has root:root user and group with read and execute
permissions for (owner,group,world) -- (rwxr-xr-x). All the folders in the
path from the root directory to the content you want to serve must have the
"x", and the files you want to serve must have permissions "rw-r--r--"
(readable by world- or you could change group to apache, and make them
readable by group).
You can insure that the files themselves are readable by world with the
command "chmod o+r *"
I'm guessing that you did not put your content at the root level of
/library, but that you created a /library/content directory. If so, you
might need to make the /library/content directory executable, as well as
readable by world -- "rwxr-xr-x" which is achieved by "chmod 755
/library/content"
Pardon, if I made the incorrect assumptions, or said things you have
already tried,
George
On Wed, Jun 26, 2013 at 1:19 AM, Adam Holt <holt at laptop.org> wrote:
> Anna, any clues if you're awake??
>
>
> From: David Leeming <david at leeming-consulting.com>
> Date: Wed, Jun 26, 2013 at 12:36 AM
> Subject: [Server-devel] XSCE links to filesfrom Moodle
> To: server-devel <server-devel at lists.laptop.org>
>
>
> Hi,****
>
> ** **
>
> With the XS 0.7 we add links to Moodle pages that map to locations in the
> storage folder /library using aliases and html.conf file****
>
> ** **
>
> I have gone through the exact process as we used to use with the XSCE and
> all good in the set up, but when I try to access those resources with a
> connected laptop or authenticated moodle account t it tells me that I don’t
> have permission to view the folder.****
>
> ** **
>
> A missing step I think...****
>
> ** **
>
> *David Leeming*
>
> Solomon Islands ****
>
> 24419 (h)****
>
> www.rurallink.com.sb****
>
> ** **
>
> _______________________________________________
> Server-devel mailing list
> Server-devel at lists.laptop.org
> http://lists.laptop.org/listinfo/server-devel
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.laptop.org/pipermail/server-devel/attachments/20130626/a17b3ed1/attachment.html>
More information about the Server-devel
mailing list