Welcome to Centmin Mod Community
Register Now

Folder permissions rwxr-sr-x

Discussion in 'System Administration' started by pamamolf, Oct 8, 2014.

  1. pamamolf

    pamamolf Premium Member Premium Member

    3,361
    318
    83
    May 31, 2014
    Ratings:
    +598
    Local Time:
    5:10 AM
    Nginx-1.17.x
    MariaDB 10.3.x
    Hi

    After moving from an old server to Centminmod i don't know how but i end up with my folders as rwxr-sr-x and the s is set GID for group...

    I don't know now if this is ok for a forum or not and how to change it all at once plus subfolders to normal 755 :(

    Also when i create a new folder i am getting the same permissions....

    Any help please?

    Thanks
     
    Last edited: Oct 8, 2014
  2. eva2000

    eva2000 Administrator Staff Member

    40,661
    9,034
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +13,908
    Local Time:
    12:10 PM
    Nginx 1.15.x
    MariaDB 5.5/10.x
    that is normal and default permissions set by Centmin Mod is 100% fine as it ensures new directories created within each Nginx vhost directory structure at /home/nginx/domains/domain.com/* are created with group permissions set to nginx group.
     
    • Like Like x 1
  3. omjo

    omjo New Member

    14
    1
    3
    Oct 11, 2014
    Ratings:
    +1
    Local Time:
    3:10 AM
    Im with a identical problem with wordpress uploading images say cannot move to the upload directory.. also change to 777 wpcontent folders and nothing... any ideias ?
     
    style="display:inline-block;min-width:400px;max-width:970px;width:95%;height:90px" data-ad-client="ca-pub-6669518204467592" data-ad-slot="4024536743" data-ad-format="auto">
  4. rdan

    rdan Well-Known Member

    4,549
    1,090
    113
    May 25, 2014
    Ratings:
    +1,591
    Local Time:
    10:10 AM
    Mainline
    10.2
    chown -R nginx:nginx *
    On your wordpress public directory.
     
    • Like Like x 1
  5. omjo

    omjo New Member

    14
    1
    3
    Oct 11, 2014
    Ratings:
    +1
    Local Time:
    3:10 AM
    yep ... works