chmod problem

Discussion in 'HOWTO-Related Questions' started by Hellbound, Dec 23, 2006.

  1. Hellbound

    Hellbound New Member

    hi guys,
    I have installed joomla on my website using ISPConfig.
    the rss feed gives this error:

    Code:
    Error creating feed file, please check write permissions.
    I've checked that it needs write permission to /cache folder but it is already 777 and the owner is web6_root (ispconfig user perhaps).

    so how can I fix it? or should I change the owner? if so how can I do that?

    thanks
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Has the cache folder any subdirectorioes or files inside, that are not changed to 777 ?
     
  3. Hellbound

    Hellbound New Member

    Till,
    thanks for your reply.
    no it does not and there is no sub directory.

    I'm very confused
     
  4. falko

    falko Super Moderator ISPConfig Developer

    What's the output of
    Code:
    ls -la /path/to/cache
    ? (Please replace /path/to/cache with the real path.)

    And are you sure that cache is the correct directory that Joomla needs to write to?
     
  5. Hellbound

    Hellbound New Member

    here it is:
    Code:
    [[email protected] cache]# ls -la /var/www/web6/web/cache/
    total 516
    drwxrwxrwx   2 web6_root root  4096 Dec  7 12:38 .
    drwxrwxr-x  17 web6_root web6  4096 Dec  9 11:19 ..
    -rwxrwxrwx   1 web6_root root  4561 Dec  6 09:13 atom03.xml
    -rwxrwxrwx   1 web6_root root  1941 Dec  6 23:08 cache_94afbfb2f291e0bf253fcf222e9d238e_0245fc9678feb5b58fb04302d9a6ff46
    -rwxrwxrwx   1 web6_root root 10066 Dec  6 23:09 cache_94afbfb2f291e0bf253fcf222e9d238e_02a1f259bfc57b251e0fadb909a80485
    -rwxrwxrwx   1 web6_root root  6751 Dec  6 23:02 cache_94afbfb2f291e0bf253fcf222e9d238e_11b871fe7d13e111cc6b9cb4aa587317
    -rwxrwxrwx   1 web6_root root  2367 Dec  6 22:11 cache_94afbfb2f291e0bf253fcf222e9d238e_17267f1438404692df7e43100b31f3a8
    -rwxrwxrwx   1 web6_root root  1022 Dec  6 22:11 cache_94afbfb2f291e0bf253fcf222e9d238e_1a93a84983ddf476b99c2ec861ac5b10
    -rwxrwxrwx   1 web6_root root 11103 Dec  6 23:08 cache_94afbfb2f291e0bf253fcf222e9d238e_1dbe0719d162a14f2562b4099cfdd81d
    -rwxrwxrwx   1 web6_root root  6751 Dec  6 23:02 cache_94afbfb2f291e0bf253fcf222e9d238e_247bb5a8f5f09c5781ca4fbc57bc3a13
    -rwxrwxrwx   1 web6_root root  1149 Dec  6 23:06 cache_94afbfb2f291e0bf253fcf222e9d238e_24ec52cd0e59694c384847d45e3eafb9
    -rwxrwxrwx   1 web6_root root  1701 Dec  6 23:03 cache_94afbfb2f291e0bf253fcf222e9d238e_26149fb96bb6ab4748a5b0edc8dbf52a
    -rwxrwxrwx   1 web6_root root 51677 Dec  6 23:21 cache_94afbfb2f291e0bf253fcf222e9d238e_2754a83358f96f130f62a10e413fa616
    -rwxrwxrwx   1 web6_root root 17354 Dec  6 22:57 cache_94afbfb2f291e0bf253fcf222e9d238e_2c7adc3c49eca5ccbdae00bc2a240cc2
    -rwxrwxrwx   1 web6_root root  1874 Dec  6 23:03 cache_94afbfb2f291e0bf253fcf222e9d238e_2e7a4d94f8c3e5981e8048947cebbabd
    -rwxrwxrwx   1 web6_root root  1912 Dec  6 23:05 cache_94afbfb2f291e0bf253fcf222e9d238e_3051330ada2368618a5df13b8d2b5d82
    -rwxrwxrwx   1 web6_root root   770 Dec  6 23:06 cache_94afbfb2f291e0bf253fcf222e9d238e_3cd85dc610deea05a14a83f5b47be55e
    -rwxrwxrwx   1 web6_root root  8234 Dec  6 23:35 cache_94afbfb2f291e0bf253fcf222e9d238e_4a84b218fe3eed38e7e8428675f5209d
    -rwxrwxrwx   1 web6_root root 10066 Dec  6 23:09 cache_94afbfb2f291e0bf253fcf222e9d238e_54f8edb1026bb3ab3e870c9f823b5532
    -rwxrwxrwx   1 web6_root root 35508 Dec  6 23:06 cache_94afbfb2f291e0bf253fcf222e9d238e_5d92769fce6cdc534a18393b4fab0707
    -rwxrwxrwx   1 web6_root root  5798 Dec  6 23:04 cache_94afbfb2f291e0bf253fcf222e9d238e_744b0901a0ce939d4f023c58c7ed337a
    -rwxrwxrwx   1 web6_root root  6949 Dec  6 22:11 cache_94afbfb2f291e0bf253fcf222e9d238e_7c273fb83057c7b53866c10b8b7b9538
    -rwxrwxrwx   1 web6_root root  2009 Dec  6 23:06 cache_94afbfb2f291e0bf253fcf222e9d238e_7cbe90d0fd7b26ab66b71b6adf9a3eb9
    -rwxrwxrwx   1 web6_root root 13456 Dec  6 23:06 cache_94afbfb2f291e0bf253fcf222e9d238e_805fe0cbd3aa361f1ffc9422cd4dc23e
    -rwxrwxrwx   1 web6_root root 11103 Dec  6 23:08 cache_94afbfb2f291e0bf253fcf222e9d238e_858071403fb55f387aa3193cee899655
    -rwxrwxrwx   1 web6_root root  1047 Dec  6 22:11 cache_94afbfb2f291e0bf253fcf222e9d238e_8b9d95ded24491affc5d9bd147fad12c
    -rwxrwxrwx   1 web6_root root  1864 Dec  6 23:35 cache_94afbfb2f291e0bf253fcf222e9d238e_8e00658266a9c4bcc4a0f18a38e39c12
    -rwxrwxrwx   1 web6_root root  1801 Dec  6 23:02 cache_94afbfb2f291e0bf253fcf222e9d238e_92c3c46329395248367853b0cd751118
    -rwxrwxrwx   1 web6_root root  1730 Dec  6 23:05 cache_94afbfb2f291e0bf253fcf222e9d238e_956735d048ad26c259a71bccf677df68
    -rwxrwxrwx   1 web6_root root  1880 Dec  6 22:57 cache_94afbfb2f291e0bf253fcf222e9d238e_a15fc97d476e50f35f7007eefb7a32fa
    -rwxrwxrwx   1 web6_root root   764 Dec  6 23:06 cache_94afbfb2f291e0bf253fcf222e9d238e_a35becf3af262da65af166780ddfa95a
    -rwxrwxrwx   1 web6_root root  1813 Dec  6 23:04 cache_94afbfb2f291e0bf253fcf222e9d238e_a644b8a1941f1baa4d4627b11faaf7ac
    -rwxrwxrwx   1 web6_root root 17354 Dec  6 22:57 cache_94afbfb2f291e0bf253fcf222e9d238e_b1c7a91fabcb10e468fa7158b5bfefd5
    -rwxrwxrwx   1 web6_root root  1616 Dec  6 23:03 cache_94afbfb2f291e0bf253fcf222e9d238e_b35bfce25594a7cd0d134eb8901f7699
    -rwxrwxrwx   1 web6_root root 13456 Dec  6 23:06 cache_94afbfb2f291e0bf253fcf222e9d238e_c263ee40b3a0c51c21aeb3050e88c0aa
    -rwxrwxrwx   1 web6_root root  2019 Dec  6 23:21 cache_94afbfb2f291e0bf253fcf222e9d238e_c4edec35ab3ac533be3eab5b8fcd3f0d
    -rwxrwxrwx   1 web6_root root  1045 Dec  6 22:11 cache_94afbfb2f291e0bf253fcf222e9d238e_c63c14031bb7893a0f1d2200d7beebeb
    -rwxrwxrwx   1 web6_root root  1002 Dec  6 22:11 cache_94afbfb2f291e0bf253fcf222e9d238e_c6e8084c515e1e829e755022a017a525
    -rwxrwxrwx   1 web6_root root  1616 Dec  6 23:05 cache_94afbfb2f291e0bf253fcf222e9d238e_d3128ee12c39b5cd834515f35f3036c5
    -rwxrwxrwx   1 web6_root root  5798 Dec  6 23:04 cache_94afbfb2f291e0bf253fcf222e9d238e_d492e4b7a411851fd2a481fdc7f21e1b
    -rwxrwxrwx   1 web6_root root  1902 Dec  6 23:06 cache_94afbfb2f291e0bf253fcf222e9d238e_d7e891c55da4303464e84cc3ea64f4f1
    -rwxrwxrwx   1 web6_root root  1113 Dec  6 22:11 cache_94afbfb2f291e0bf253fcf222e9d238e_dc87808dc23cb9949ac9feaf62199d1e
    -rwxrwxrwx   1 web6_root root 51677 Dec  6 23:21 cache_94afbfb2f291e0bf253fcf222e9d238e_e5c0dd4ae81c6c430b98a14b58949956
    -rwxrwxrwx   1 web6_root root 35508 Dec  6 23:06 cache_94afbfb2f291e0bf253fcf222e9d238e_e6fa8431e7a9a4ef06c1bc3db88dfc41
    -rwxrwxrwx   1 web6_root root  1011 Dec  6 22:11 cache_94afbfb2f291e0bf253fcf222e9d238e_e8d420d42c0b804caa6f2c3a295b7c0c
    -rwxrwxrwx   1 web6_root root  1907 Dec  6 23:09 cache_94afbfb2f291e0bf253fcf222e9d238e_e96a65436f1e432011da6615088ccd89
    -rwxrwxrwx   1 web6_root root   761 Dec  6 23:06 cache_94afbfb2f291e0bf253fcf222e9d238e_f1948ba0e1cd897eb86e042a6be7701c
    -rwxrwxrwx   1 web6_root root   954 Dec  6 22:11 cache_94afbfb2f291e0bf253fcf222e9d238e_f7d96d03bfe21ae6202eaf08d3acc3e1
    -rwxrwxrwx   1 web6_root root  8234 Dec  6 23:35 cache_94afbfb2f291e0bf253fcf222e9d238e_faaee1347c35ad452cfb094585391785
    -rwxrwxrwx   1 web6_root root    44 Nov 13 01:38 index.html
    -rwxrwxrwx   1 web6_root root  1232 Dec  4 17:26 opml.xml
    -rwxrwxrwx   1 web6_root root  2615 Dec  4 17:26 rss091.xml
    -rwxrwxrwx   1 web6_root root  3411 Dec  4 17:26 rss10.xml
    -rwxrwxrwx   1 web6_root root  4543 Dec  6 21:39 rss20.xml
    [[email protected] cache]#
    
    should the apache be the owner or what? I'm very confused. how to set the owner if I have to change it?
    thanks
     
  6. falko

    falko Super Moderator ISPConfig Developer

    Yes, try this:
    Code:
    chown [I]apache_user[/I] /var/www/web6/web/cache/
     

Share This Page