rm -fr 로 지워지지 않는 디렉토리...??

ysch0i의 이미지

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)이런 에러가 나는군요.

도무지 파일이 지워지지가 않습니다.

어떤것이 문제일까요?

그냥 두어도 되겠지만 찝찝해서...

sjpark의 이미지

ysch0i의 이미지

잘은 모르겠지만 어디서 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 ../

하면 다음과 같습니다. 그 이상한 권한(?)이 되어있는지 어떻게 보는지 모르겠습니다만... 정상 처럼 보이는데... 어떻게 해야되나요?

서명없어요.

cjh의 이미지

ls -loR 해 보세요.

혹 schg 플래그가 설정된 파일이나 디렉토리가 있으면,

chflags noschg <file/dir명>

하고 지우면 됩니다.

--
익스펙토 페트로눔

dhunter의 이미지

흐음... 좋은 정보군요. 체크.

from bzImage
It's blue paper

댓글 달기

Filtered HTML

  • 텍스트에 BBCode 태그를 사용할 수 있습니다. URL은 자동으로 링크 됩니다.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>
  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.

BBCode

  • 텍스트에 BBCode 태그를 사용할 수 있습니다. URL은 자동으로 링크 됩니다.
  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param>
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.

Textile

  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • You can use Textile markup to format text.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>

Markdown

  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • Quick Tips:
    • Two or more spaces at a line's end = Line break
    • Double returns = Paragraph
    • *Single asterisks* or _single underscores_ = Emphasis
    • **Double** or __double__ = Strong
    • This is [a link](http://the.link.example.com "The optional title text")
    For complete details on the Markdown syntax, see the Markdown documentation and Markdown Extra documentation for tables, footnotes, and more.
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>

Plain text

  • HTML 태그를 사용할 수 없습니다.
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.
  • 줄과 단락은 자동으로 분리됩니다.
댓글 첨부 파일
이 댓글에 이미지나 파일을 업로드 합니다.
파일 크기는 8 MB보다 작아야 합니다.
허용할 파일 형식: txt pdf doc xls gif jpg jpeg mp3 png rar zip.
CAPTCHA
이것은 자동으로 스팸을 올리는 것을 막기 위해서 제공됩니다.