Jump to content

Как заменить массово права доступа только на папки и только на файлы (например для cPanel 775 для папок и 644 для php файлов)?!


support

Recommended Posts

support
find /var/www/html -type d -exec chmod 755 {} \;
find /var/www/html -type f -exec chmod 644 {} \;

 

Link to post
Share on other sites
support

Изменение владельца файлов, директорий, команда chown, рекурсивно:

chown -R user:group ./

 

Link to post
Share on other sites
×
×
  • Create New...