Skip to main content

Check correct file system ownership and permission

Comments

3 comments

  • 24x7server
    Hi, Where exactly you did see the wrong permission on your system? Is it in the /home or other location of the server? You can refer to the below script documentation that cPanel has provided and look for things you want to accomplish.. WHM Scripts - Documentation - cPanel Documentation
    0
  • cPWilliamL
    Hi, It may be easiest to spin up a fresh server to compare; however, if the file is managed by a package, you can verify if user/group ownership differs from the default with the 'rpm -V' command. For example:
    # rpm -V -qf /etc/redhat-release .....UG.. /etc/centos-release
    We can see the User and Group differ from the default. Thanks,
    0
  • leonep
    thanks i will check with fresh install !
    0

Please sign in to leave a comment.