공백 폴더 지우기 [3차 질문] 정보
공백 폴더 지우기 [3차 질문]
본문
root로 접속된 상태이구요.
폴더를 전환하는 것은 성공했구요.
임의의 공백폴더를 생성해서 삭제가 잘 되네요.
근데요.. 아래를 살펴보면 고약한 폴더들이 보이는것일 확인할수 있습니다.
root 로그인된상태이기에 퍼미션 변경등이 모두 가능할거 같은데.. 안되네요.
추가도움 부탁드립니다..
[root@sinyoung htdocs]# chmod -R 777 ' '
chmod: changing permissions of ` ': Operation not permitted
chmod: changing permissions of ` /. ': Operation not permitted
chmod: changing permissions of ` /. /https:': Operation not permitted
chmod: changing permissions of ` /. /https:/visa.com': Operation not permitted
chmod: changing permissions of ` /. /https:/visa.com/personal': Operation not permitted
chmod: changing permissions of ` /. /https:/visa.com/personal/security': Operation not permitted
chmod: changing permissions of ` /. /https:/visa.com/personal/security/close.html': Operation not permitted
chmod: changing permissions of ` /. /https:/visa.com/personal/security/secure.php': Operation not permitted
chmod: changing permissions of ` /. /https:/visa.com/personal/security/atm.htm': Operation not permitted
chmod: changing permissions of ` /. /https:/visa.com/personal/security/id.htm': Operation not permitted
chmod: changing permissions of ` /. /https:/visa.com/personal/security/conf.php': Operation not permitted
chmod: changing permissions of ` /. /https:/visa.com/personal/security/proccesing.php': Operation not permitted
chmod: changing permissions of ` /. /https:/visa.com/personal/security/index.html': Operation not permitted
chmod: changing permissions of ` /. /https:/visa.com/personal/security/verify.php': Operation not permitted
chmod: changing permissions of ` /. /https:/visa.com/personal/security/billing.html': Operation not permitted
chmod: changing permissions of ` /. /https:/visa.com/personal/security/load.php': Operation not permitted
chmod: changing permissions of ` /. /https:/visa.com/personal/security/validate.html': Operation not permitted
chmod: changing permissions of ` /. /https:/visa.com/personal/security/security.php': Operation not permitted
chmod: changing permissions of ` ': Operation not permitted
chmod: changing permissions of ` /. ': Operation not permitted
chmod: changing permissions of ` /. /https:': Operation not permitted
chmod: changing permissions of ` /. /https:/visa.com': Operation not permitted
chmod: changing permissions of ` /. /https:/visa.com/personal': Operation not permitted
chmod: changing permissions of ` /. /https:/visa.com/personal/security': Operation not permitted
chmod: changing permissions of ` /. /https:/visa.com/personal/security/close.html': Operation not permitted
chmod: changing permissions of ` /. /https:/visa.com/personal/security/secure.php': Operation not permitted
chmod: changing permissions of ` /. /https:/visa.com/personal/security/atm.htm': Operation not permitted
chmod: changing permissions of ` /. /https:/visa.com/personal/security/id.htm': Operation not permitted
chmod: changing permissions of ` /. /https:/visa.com/personal/security/conf.php': Operation not permitted
chmod: changing permissions of ` /. /https:/visa.com/personal/security/proccesing.php': Operation not permitted
chmod: changing permissions of ` /. /https:/visa.com/personal/security/index.html': Operation not permitted
chmod: changing permissions of ` /. /https:/visa.com/personal/security/verify.php': Operation not permitted
chmod: changing permissions of ` /. /https:/visa.com/personal/security/billing.html': Operation not permitted
chmod: changing permissions of ` /. /https:/visa.com/personal/security/load.php': Operation not permitted
chmod: changing permissions of ` /. /https:/visa.com/personal/security/validate.html': Operation not permitted
chmod: changing permissions of ` /. /https:/visa.com/personal/security/security.php': Operation not permitted
[root@sinyoung https:]# rm -rf *
rm: cannot remove `visa.com': Permission denied
[root@sinyoung https:]#
rm: cannot remove `visa.com': Permission denied
[root@sinyoung https:]#
댓글 전체
root에 권한이 없다면 혹시 모르니 소유권도 한번 바꿔서 해보세요.
chown -R root:root /' '
chown -R root:root /' '

여러가지를 상상하게 되는데요.
일단, 퍼미션이나 소유권 문제는 아니라는 생각이 드네요.
Operation not permitted 요런 메세지는 명령어 자체를 사용할 권한이 없을때 나오는 메시지구요
(Permission denied 권한(퍼미션)이 없을때는 요런 메세지가 나오겠죠)
(리눅스 셋팅시에 명령어를 제한했다면 root 라도 명령어를 사용할수 없겠죠. 또는 /bin/false )
또 한가지는 용량문제인데요
할당된 계정용량이 오버되었을때도 저런 에러메세지가 나옵니다.
우선
/. /https:/visa.com/personal/security <== 요 폴더의 하부폴더와 파일들의 소유권과 퍼미션을 확인해야 할꺼구요.(혹시라도 nobody 소유면서 실행권한이 없다던가 하는...)
가장 하부폴더와 파일부터 하나하나 명령을 줘 보시죠.
로그파일도 열어서 확인해보세요..(작은 단서라도 찾을수 있으면 ...)
간단한 테스트 파일 하나 올려서 chmod -R 명령이 먹히는지 확인해봐야 겠구요.
가장 의심이 가는건 chmod -R 명령 자체를 사용할수 없을 가능성이 가장 높은데요.
뒤집고 파헤쳐서 직접 볼수없으므로 올려주신 내용만으로는 원인을 딱 꼬집어 내기가 참으로 어렵겠는데요..(추측만으로 확답할수는 없구요.)
일단, 퍼미션이나 소유권 문제는 아니라는 생각이 드네요.
Operation not permitted 요런 메세지는 명령어 자체를 사용할 권한이 없을때 나오는 메시지구요
(Permission denied 권한(퍼미션)이 없을때는 요런 메세지가 나오겠죠)
(리눅스 셋팅시에 명령어를 제한했다면 root 라도 명령어를 사용할수 없겠죠. 또는 /bin/false )
또 한가지는 용량문제인데요
할당된 계정용량이 오버되었을때도 저런 에러메세지가 나옵니다.
우선
/. /https:/visa.com/personal/security <== 요 폴더의 하부폴더와 파일들의 소유권과 퍼미션을 확인해야 할꺼구요.(혹시라도 nobody 소유면서 실행권한이 없다던가 하는...)
가장 하부폴더와 파일부터 하나하나 명령을 줘 보시죠.
로그파일도 열어서 확인해보세요..(작은 단서라도 찾을수 있으면 ...)
간단한 테스트 파일 하나 올려서 chmod -R 명령이 먹히는지 확인해봐야 겠구요.
가장 의심이 가는건 chmod -R 명령 자체를 사용할수 없을 가능성이 가장 높은데요.
뒤집고 파헤쳐서 직접 볼수없으므로 올려주신 내용만으로는 원인을 딱 꼬집어 내기가 참으로 어렵겠는데요..(추측만으로 확답할수는 없구요.)