accessing a subdirectory

Discussion in 'General' started by resnostyle, Nov 3, 2006.

  1. resnostyle

    resnostyle New Member

    i am currently using a program to upload images to my server. currently the program places the images into folders based on the users rights.

    right now when the files is uploaded you are unable to view the picture.

    i believe this is because file permissions. although ispconfig says all files are allowing access... i have set chmod to 777.
  2. falko

    falko Super Moderator ISPConfig Developer

    What's the output of
    ls -la /path/to/image_directory
    ? (Replace /path/to/image_directory with your real path.)
  3. resnostyle

    resnostyle New Member

    ok.. i think this may be it. if i enter
    chmod 777 users
    it will change it but if i enter
    chmod 777 /users
    no such file or directory

    this is the result of your request
    [email protected]:~/web$ ls -la /users
    ls: /users: No such file or directory
    [email protected]:~/web$ ls -la users
    total 16
    drwxrwxrwx  4 web2_br web2    4096 2006-11-01 16:17 .
    drwxrwxrwx  7 web2_br web2    4096 2006-11-02 04:00 ..
    drwxrwxrwx  2 web2_br web2    4096 2006-11-03 15:43 public
    drwxrwxrwx  2 www-data    www-data 4096 2006-11-02 00:08 resnostyle
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    Thaere is no image in that directory, thats why you cant see it. Please make sure that you upload your image to the correct directory.
  5. resnostyle

    resnostyle New Member

    if i ftp that directory i can see images though.
  6. falko

    falko Super Moderator ISPConfig Developer

    ISPConfig doesn't create web sites in the /users directory! :confused:

Share This Page