rm -fr 로 지워지지 않는 디렉토리...??
글쓴이: ysch0i / 작성시간: 화, 2004/06/08 - 1:28오전
FreeBSD 5.2를 쓰고 있습니다.
포트를 make clean하니
/usr/ports/x11-servers/XFree86-4-FontServer/밑의 work디렉토리를 지울수 없다고 나옵니다.
혹시나 싶어서 직접 가서 삭제...
[root@cyswork:/usr/ports/x11-servers/XFree86-4-FontServer]rm -fr work
rm: work/xc/programs/xkbcomp: Directory not empty
rm: work/xc/programs/xrx: Directory not empty
rm: work/xc/programs/xterm: Directory not empty
rm: work/xc/programs/Xserver: Directory not empty
rm: work/xc/programs: Directory not empty
rm: work/xc: Directory not empty
rm: work: Directory not empty
어허... -fr로 안지워지는 디렉토리가?
그래서 ls -alRF로 work디렉토리를 보아도 디렉토리들 말고는 아무런 파일이 없었습니다.
mc로 지워보려고 했으나...
Directory not empty (66)이런 에러가 나는군요.
도무지 파일이 지워지지가 않습니다.
어떤것이 문제일까요?
그냥 두어도 되겠지만 찝찝해서...
Forums:
혹시 chattr ?:(
혹시 chattr ?
:(
https://nicesj.com
https://blog.nicesj.com
음... chart이 뭔지는 모르겠으나...
잘은 모르겠지만 어디서 sticky?비트라는건 본것 같기는 한데요...
[root@cyswork:/usr/ports/x11-servers/XFree86-4-FontServer]ls -alRF work
work:
total 6
drwxr-xr-x 3 root wheel 512 6 7 21:50 ./
drwxr-xr-x 4 root wheel 512 6 7 19:39 ../
drwxr-xr-x 3 root wheel 512 6 7 21:50 xc/
work/xc:
total 6
drwxr-xr-x 3 root wheel 512 6 7 21:50 ./
drwxr-xr-x 3 root wheel 512 6 7 21:50 ../
drwxr-xr-x 6 root wheel 2048 6 7 21:50 programs/
work/xc/programs:
total 12
drwxr-xr-x 6 root wheel 2048 6 7 21:50 ./
drwxr-xr-x 3 root wheel 512 6 7 21:50 ../
drwxr-xr-x 35 root wheel 1024 6 7 19:40 Xserver/
drwxr-xr-x 13 root wheel 1024 2 28 2003 xkbcomp/
drwxr-xr-x 10 root wheel 512 2 28 2003 xrx/
drwxr-xr-x 5 root wheel 2048 6 7 21:50 xterm/
work/xc/programs/Xserver:
total 4
drwxr-xr-x 35 root wheel 1024 6 7 19:40 ./
drwxr-xr-x 6 root wheel 2048 6 7 21:50 ../
work/xc/programs/xkbcomp:
total 4
drwxr-xr-x 13 root wheel 1024 2 28 2003 ./
drwxr-xr-x 6 root wheel 2048 6 7 21:50 ../
work/xc/programs/xrx:
total 4
drwxr-xr-x 10 root wheel 512 2 28 2003 ./
drwxr-xr-x 6 root wheel 2048 6 7 21:50 ../
work/xc/programs/xterm:
total 4
drwxr-xr-x 5 root wheel 2048 6 7 21:50 ./
drwxr-xr-x 6 root wheel 2048 6 7 21:50 ../
하면 다음과 같습니다. 그 이상한 권한(?)이 되어있는지 어떻게 보는지 모르겠습니다만... 정상 처럼 보이는데... 어떻게 해야되나요?
서명없어요.
ls -loR 해 보세요.혹 schg 플래그가 설정된 파일이나 디
ls -loR 해 보세요.
혹 schg 플래그가 설정된 파일이나 디렉토리가 있으면,
chflags noschg <file/dir명>
하고 지우면 됩니다.
--
익스펙토 페트로눔
흐음... 좋은 정보군요. 체크.
흐음... 좋은 정보군요. 체크.
from bzImage
It's blue paper
댓글 달기