folder and file permission !

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • ionezation
    New Member
    • Apr 2014
    • 8

    folder and file permission !

    Hi friends

    I am not able to give permission to /var/www/html folder when I right click->properties it says you have no permission because you are not owner. I have put these commands but nothing works for me

    use chmod 777 -R /var/www/html/projectDirector y

    in nautilis it says "You are not the owner, so you cannot change the permissions"

    I have logged in as root by su - then my password
    but nothing goes well :S please help I am learning PHP !
  • Luuk
    Recognized Expert Top Contributor
    • Mar 2012
    • 1043

    #2
    What does the screen say when you go to a terminal prompt, and do:
    Code:
    su - 
    cd /var/www/html
    chmod -R 777 projectDirectory

    Comment

    • ionezation
      New Member
      • Apr 2014
      • 8

      #3
      it says nothing just another prompt ... I have see the permissions options from LL command and I have permission but I cant see the result of my script :S

      Comment

      • Luuk
        Recognized Expert Top Contributor
        • Mar 2012
        • 1043

        #4
        that's OK, because the result can be that you changed the persmission of A LOT OF files.......

        But when you do not get an error, everything should be OK

        to check you could do this (from the html directory):
        Code:
        ls -lR | more
        or
        Code:
        ls -lR | less

        Comment

        • ionezation
          New Member
          • Apr 2014
          • 8

          #5
          thank you very much for it bro !

          Comment

          Working...