solaris 에서 /home 에 디렉토리를 못만드네요.

brandon의 이미지

안녕하세요

SPARC solaris7 에서요.
ROOT로 로그인해도 /home 아래에 디렉토리를 생성하려고 하면,
"디렉토리 생성 실패, 해당 작동이 아님"

이런 메시지가 뜨는데, ls -al 해서 보니까.

dr-xr-xr-x 1 root root 1 10월 28일 ./

이렇게 나오네요. 쓰기 권한이 없어요..
어쩌죠? 이거 퍼미션 조정도 못하는거 아닌가요?

trashq의 이미지

'ls -l'의 결과가 '/'에서 인가요?

아니면 '/home'에서의 결과인가요? :?:

'/home'에서의 결과시라면
chmod 755 /home
하시고 해보세요.

'/'에서의 결과라면 저는 잘 모르겠네요... :(

세상이 뭐라하든... :)

eminency의 이미지

솔라리스에서는 /export/home을 홈디렉토리로 쓰지 않나요..?

노루가 사냥꾼의 손에서 벗어나는 것 같이, 새가 그물치는 자의 손에서 벗어나는 것 같이 스스로 구원하라 -잠언 6:5

kevinhan의 이미지

솔라리스에서는 /home 디렉토리를 automountd 라는 데몬이 담당(?)하기 때문에

사용자가 임의로 /home 디렉토리를 건드릴 수 없습니다.(/net, /xfn 도 마찬가지)

/export/home 이런식의 디렉토리를 만들어 사용하시거나

automountd 를 내리시고 사용하시거나

/etc/auto_master 파일에서 /home 부분을 주석(#)처리하시고 사용하시면 됩니다.

quid pro quo

trashq의 이미지

Quote:
bash-2.03# uname -a
SunOS iie 5.8 Generic_108528-19 sun4u sparc SUNW,Ultra-250
bash-2.03# pwd
/home/a

제가 접속한 서버에서는 잘 되는데요.
solaris 8이라서 그런가요?
참고로 '/etc/auto_master'의 내용과
Quote:
# Master map for automounter
#
+auto_master
/net -hosts -nosuid,nobrowse
/home auto_home -nobrowse
/xfn -xfn

'mount' 실행결과입니다.

Quote:
bash-2.03# mount
/ on /dev/dsk/c0t0d0s0 read/write/setuid/intr/largefiles/onerror=panic/dev=800000 on 월 10월 20 17:34:33 2003
/proc on /proc read/write/setuid/dev=45c0000 on 월 10월 20 17:34:32 2003
/dev/fd on fd read/write/setuid/dev=4680000 on 월 10월 20 17:34:34 2003
/etc/mnttab on mnttab read/write/setuid/dev=4780000 on 월 10월 20 17:34:35 2003
/var/run on swap read/write/setuid/dev=1 on 월 10월 20 17:34:35 2003
/home on /dev/dsk/c0t8d0s6 read/write/setuid/intr/largefiles/onerror=panic/dev=80003e on 월 10월 20 17:34:38 2003
/home1 on /dev/dsk/c0t9d0s6 read/write/setuid/intr/largefiles/onerror=panic/dev=800046 on 월 10월 20 17:34:38 2003
/home2 on /dev/dsk/c0t10d0s6 read/write/setuid/intr/largefiles/onerror=panic/dev=80004e on 월 10월 20 17:34:38 2003
/tmp on swap read/write/setuid/dev=2 on 월 10월 20 17:34:38 2003

'/home' 에 'read/write'요놈이 붙어서 그런가요?

세상이 뭐라하든... :)

brandon의 이미지

아마 위분 말씀대로 auto_master 에서 설정이 그렇게 되있나 봅니다.

아무튼 /export/home 을 사용자 디렉토리로 해서 잘 쓰고 있습니다.

감사합니다.

hi ~

댓글 달기

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
이것은 자동으로 스팸을 올리는 것을 막기 위해서 제공됩니다.