![소유권 변경 권한 거부](https://linux55.com/image/20761/%EC%86%8C%EC%9C%A0%EA%B6%8C%20%EB%B3%80%EA%B2%BD%20%EA%B6%8C%ED%95%9C%20%EA%B1%B0%EB%B6%80.png)
폴더와 모든 콘텐츠의 소유권을 변경하려고 하는데 www-data
변경 권한이 거부되었습니다. 나는 뿌리입니다. 사용해 보았지만 sudo
아무것도 작동하지 않습니다.
eyedea@eyedea-ER912AA-ABA-SR1810NX-NA620:/var/www$ chown -R www-data.www-data /var/www/drupal/
chown: changing ownership of `/var/www/drupal/scripts/run-tests.sh': Operation not permitted
chown: changing ownership of `/var/www/drupal/scripts/code-clean.sh': Operation not permitted
chown: changing ownership of `/var/www/drupal/scripts/drupal.sh': Operation not permitted
답변1
/var/www/drupal
NFS 설치이고 rootquash가 활성화된 경우 다음과 유사한 오류가 발생합니다. NFS 서버에서 직접 또는 해당 파일의 루트가 아닌 기존 소유자로서 이 변경을 수행해야 합니다.
오류가 발생한 파일에 쓰기 권한이 활성화되어 있지 않을 수도 있습니다. 최소한 파일 소유자의 쓰기 비트를 뒤집어야 합니다.