Skip to content

Update fixperms.sh - #19

Open
Remarkable-Guille wants to merge 1 commit into
PeachFlame:masterfrom
remarkablecloud:master
Open

Update fixperms.sh#19
Remarkable-Guille wants to merge 1 commit into
PeachFlame:masterfrom
remarkablecloud:master

Conversation

@Remarkable-Guille

Copy link
Copy Markdown

Gemini said
Update fixperms to support modern +132 cPanel directory scopes

Switched to recursive grep (grep -ri) in /var/cpanel/userdata/ to locate documentroot entries nested in scope subdirectories (main, ssl, etc.).

Added sort -u to subdomain discovery to prevent redundant processing of dual HTTP/HTTPS configurations.

Refined hidden file handling and added safety checks for directory existence before applying permissions.

Gemini said
Update fixperms to support modern cPanel directory scopes

Switched to recursive grep (grep -ri) in /var/cpanel/userdata/ to locate documentroot entries nested in scope subdirectories (main, ssl, etc.).

Added sort -u to subdomain discovery to prevent redundant processing of dual HTTP/HTTPS configurations.

Refined hidden file handling and added safety checks for directory existence before applying permissions.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant