chore: normalize file permissions across repository

- Remove executable permissions from configuration files (.editorconfig, .env.example, .gitignore)
- Remove executable permissions from documentation files (README.md, LICENSE, SECURITY.md)
- Remove executable permissions from web assets (HTML, CSS, JS files)
- Remove executable permissions from data files (JSON, SQL, YAML, requirements.txt)
- Remove executable permissions from source code files across all apps
- Add executable permissions to Python
This commit is contained in:
AITBC System
2026-03-08 11:26:18 +01:00
parent 36a540166b
commit b033923756
987 changed files with 5251 additions and 1433 deletions

22
scripts/quick-fix.sh Executable file
View File

@@ -0,0 +1,22 @@
#!/bin/bash
# Quick Permission Fix for AITBC Development
echo "🔧 Quick AITBC Permission Fix..."
# Fix ownership
sudo chown -R oib:aitbc /opt/aitbc
# Fix directory permissions
sudo find /opt/aitbc -type d -exec chmod 2775 {} \;
# Fix file permissions
sudo find /opt/aitbc -type f -exec chmod 664 {} \;
# Make scripts executable
sudo find /opt/aitbc -name "*.sh" -exec chmod +x {} \;
sudo find /opt/aitbc -name "*.py" -exec chmod +x {} \;
# Set SGID bit
sudo find /opt/aitbc -type d -exec chmod g+s {} \;
echo "✅ Permissions fixed!"