web folders owned by root, .. and root has no access to them?

Discussion in 'General' started by LaKing, May 6, 2013.

  1. LaKing

    LaKing New Member

    I recently updated my OS, fedora 18, and my ISPConfig. I noticed now a strange permission problem.

    [[email protected] client_2]# ls -l
    drwxr-xr-x   9 root   root    4096 May  6 14:46 web_535
    drwxr-xr-x   9 root   root    4096 May  6 14:52 web_536
    [[email protected] client_2]# cd web_536
    [[email protected] web_536]# echo "hello" > test.txt
    bash: test.txt: Permission denied
    Web fodlers used to be owned by clients before. Are they now owned by root on purpose?

    How can it be that root can not create files and folders?
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Yes. The folders have to be owned by root.

    The folders are protected with the immutable attribute. If you want to upload files as root, then remove the attribute with chattr command first. But dont forget to enable immuntable bit again when you are finished.

Share This Page