Results 1 to 7 of 7

Thread: 12.04 lts file permissions

  1. #1
    Join Date
    Aug 2013
    Beans
    46

    12.04 lts file permissions

    I messed up my file permissions all in public_html yesterday via win scp, i set them all to 755 " set group, owner and permissions recursively" now i get http error 500 when viewing my forum. If i set them all to 777, everything returns. I know i cannot use that long term as its a security risk. I need to help to get the file permissions correct please.

    I am running unbuntu 12.04 lts
    Nuke evolution extreme forum

    Any helps appreciated, cheers

  2. #2
    Join Date
    May 2006
    Location
    Switzerland
    Beans
    2,907
    Distro
    Ubuntu 20.04 Focal Fossa

    Re: 12.04 lts file permissions

    Ubuntu 12.04 has been "end of life" and "end of support" for years. You were basically begging to be hacked at this point.

    Please install a current release.

  3. #3
    Join Date
    May 2010
    Beans
    1,885

    Re: 12.04 lts file permissions

    +1 for the upgrade

    I suggest you wipe Ubuntu off and do a clean install of Focal (Ubuntu 20.04) which is LTS and supported until April 2025. You should then restore your user data from your backups. What you have posted is like posting on a Windows forum. "Hi, I have Windows 95.... please help with my issue".

  4. #4
    Join Date
    Aug 2013
    Beans
    46

    Re: 12.04 lts file permissions

    fair one mate, nicely put can anyone help with permissions untill i work on a plan for OS. not sure my vps server spec is upto 20.04

  5. #5
    Join Date
    Jun 2014
    Beans
    6,357

    Re: 12.04 lts file permissions

    I messed up my file permissions all in public_html yesterday via win scp,

    I would suggest in the future when you are making changes to a Linux system, you do it from Linux although I don't know that is part of this problem.

    set group, owner and permissions recursively
    You forgot to post what user/group you changed to. The user/group I have in my public_html directory is my user name. I wouldn't base much on this as I didn't even realize I had files there but I do and have no problem accessing them. A question, did this all work prior to your making these changes and second, why did you make these changes. You can use the ls -l command on that directory to post the user/group and permissions.i

    Did you make any changes to your apache configuration files? Googling that 500 error on apache should give a lot of results to read any suggestions to try.
    Last edited by yancek; October 11th, 2021 at 01:44 PM.

  6. #6
    Join Date
    Aug 2013
    Beans
    46

    Re: 12.04 lts file permissions

    The owner/group has not changed. Yes it all worked before, i thought i was improving security , DOH! If i change the file permissions all to 777, everything returns and works. No changes were made to apache. Thanks
    Last edited by joe672; October 11th, 2021 at 02:39 PM.

  7. #7
    Join Date
    Aug 2013
    Beans
    46

    Re: 12.04 lts file permissions

    fixed, got the correct permissions , cheers

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •