ATutor

Learning Management Tools







Pages:1 2 3 4 5 6 7 8 9 10 11 12 13 14 15


File manager folder


  • 2007-11-17 09:42:29

    File manager folder

    What is default folder of ATutor installation in which Filemanager uploads files in Create content part?

    Things to describe:
    operating system - Linux
    version of ATutor - 1.5.5
    versions of php - 4.X
    version of mysq l -
    webserver & version - Apache 1.3x
    web browser being used - Firefox

    Thanks,

    veki

  • 2007-11-18 08:43:23

    Re: File manager folder

    /content/[course_id]

    for example

    /ATutor/content/1/

  • 2007-11-18 10:01:01

    Re: File manager folder

    Thanks, I found those folders, but I noticed that ownership is set that only user can read, write and execute. When I tried to use command chmod and to add ownership for others, I could not do that.

    Since that folder is created by ATutor itself how can I change ownership of that folder?

    Thanks,

    veki

  • 2007-11-18 11:09:01

    Re: File manager folder

    You'd need to be the root user to change permissions.

    Normally the content directory should only be writable by the webserver, otherwise you'd be opening the directory for security breaches.

  • 2007-11-18 17:53:52

    Re: File manager folder

    I understand what you say, but it seems to me that it is out of teh user's control to know how Atutor named the folder and what will be written in URL for respective image that should be inserted in teh course. Respectively, I think that users i.e. instructors should have full control on managing content and names of folders that are subfolders of /content folder.
    If there are a lot of courses it is hard to find out which number is associated to certain instructor's course.

    I have situation that file is uploaded, instructor does not know which number is associated to his/her course and it is hard to gues what is URL to the image.
    One of solutions is that admin use FTP and upload files in /content/images and such a URL is written as link to the image. But, such a procedure is I suppose not default in ATutor.
    please advise.

    Best wishes,

    veki

  • 2007-11-19 03:40:59

    Re: File manager folder

    Actually, the instructor normally never needs to know what is the ID for his/her course.

    If you're familiar with HTML, then when addressing a file in the file manager, you can think of the "<base href=... />" tag as being set to the file manager's root directory withing the course you're in.

    In other words, if you have an image uploaded to "lesson_1" folder in the file manager, you could just write:

    [b]<img src="lesson_1/image_01.gif" />[/b]


    Moreover, putting the full address into the file path is strongly discouraged:
    First, you'll get things broken once having moved to other hosting, copied the course, or just restored from a backup.
    Second, it is recommended for security reasons that the content directory is moved outside the directories handled by the web server. It has been mentioned several times, e.g. http://help.atutor.ca/admin/new_installation.php?en .