Want to subscribe to topics you're interested in?
Become a Member

Beta Branch add tools/backup-perm.sh

Discussion in 'Centmin Mod Github Commits' started by eva2000, Mar 4, 2016.

  1. Jimmy

    Jimmy Well-Known Member

    1,724
    367
    83
    Oct 24, 2015
    East Coast USA
    Ratings:
    +932
    Local Time:
    12:08 AM
    1.17.x
    MariaDB 10.3.x
    Do we need to change the permissions / ownership on the tools folder created in domain.com? Didn't see any mention of that in this thread.

    Code:
    drwxr-s---   7 nginx nginx   92 May  2 21:12 .
    drwxr-s---. 20 nginx nginx 4.0K May  2 17:00 ..
    drwxr-s---   2 nginx nginx    6 Apr 23 02:05 backup
    drwxr-s---   2 nginx nginx  130 May  2 02:51 log
    drwxr-s---   2 nginx nginx    6 Apr 23 02:05 private
    drwxr-s---   2 nginx nginx 4.0K Apr 23 02:05 public
    drwxr-sr-x   2 root  nginx    6 May  2 21:12 tools
    

     
  2. eva2000

    eva2000 Administrator Staff Member

    45,991
    10,448
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +16,210
    Local Time:
    3:08 PM
    Nginx 1.19.x
    MariaDB 5.5/10.x
    not really since you are running the script as root user anyway