./set_permissions.sh domaindir all domain

vacancy

Verified User
Joined
Jul 5, 2019
Messages
30
./set_permissions.sh domaindir domain.com

How can we use the command for all domains?

I think a bash script needs to be written.
 
No bash script needs to be written.
When you just use ./set_permissions.sh you will see all options, and in the beginning it says:
Code:
DirectAdmin File Permission/Ownership script

Usage:
  ./set_permissions.sh all

  ./set_permissions.sh da_files
  ./set_permissions.sh user_homes
etc.

So either use ./set_permissions.sh all or if it's only for the homedirse, use ./set_permissions.sh user_homes.
 
No bash script needs to be written.
When you just use ./set_permissions.sh you will see all options, and in the beginning it says:
Code:
DirectAdmin File Permission/Ownership script

Usage:
  ./set_permissions.sh all

  ./set_permissions.sh da_files
  ./set_permissions.sh user_homes
etc.

So either use ./set_permissions.sh all or if it's only for the homedirse, use ./set_permissions.sh user_homes.

./set_permissions.sh domaindir domain.com
./set_permissions.sh all

The functions of the 2 commands are different.

some permissions that the first command cannot correct are corrected with the second command.
 
That should not be the case.

But doesn't
./set_permissions.sh user_homse
do the same as ./set_permissions.sh domaindir domain.com?

What exactly does it different?
What is not happening what you need to happen?
 
Back
Top