![]() |
|
|
Googleのunix.com
|
|||||||
| Sun Solaris Solarisオペレーティングシステムは、通常、単にとしてのSolarisは、自由なUnixベースのオペレーティングシステムのSun Microsystemsの導入知られています。 |
その他のUNIXおよびLinuxフォーラムトピックは参考にすること
|
||||
| スレッド | スレッドスターター | フォーラム | 返信 | 最後の投稿 |
| 親シェル子シェルを待っている | ruchirmayank | シェルプログラミングとスクリプティング | 0 | 2008年5月6日 05:08午前 |
| 2つのディレクトリには、ユーザーのアクセスを制限するだけ | vikas027 | レッドハット | 10 | 2008年5月3日 11:26午前 |
| 現在、サブディレクトリ内のファイルのコンテンツを検索 | tiger99 | シェルプログラミングとスクリプティング | 4 | 2008年1月23日 03:11午前 |
| ディレクトリへのアクセスpermisions問題 | bishnu.bhatta | UNIXの詳細&エキスパートのためのユーザー | 1 | 2007年5月16日 10:24午後 |
| は、現在の作業ディレクトリを"コマンドの" lsを使用するにはディレクトリ一覧 | igandu | UNIXのダミー質問と回答のため | 2 | 2006年5月12日 05:47午前 |
![]() |
|
|
LinkBack | スレッドツール | このスレッドを検索 | スレッドを評価 | 表示モード |
|
|
|
||||
|
シェル初期化:現在のディレクトリを取得できませんでした: getcwd :親ディレクトリにアクセスできない
こんにちは コード:
root@ne-ocadev-1:/root/scripts>su espos -c find /a35vol100/ESPOS/oracle/db/9.2.0/oradata/ESPOS/archive -type f -atime +10 -exec ls {}
shell-init: could not get current directory: getcwd: cannot access parent directories: Permission denied
find: insufficient number of arguments
find: path-list predicate-list
root@ne-ocadev-1:/root/scripts>su espos -c find /a35vol100/ESPOS/oracle/arc -type f -atime +10 -exec ls {}
shell-init: could not get current directory: getcwd: cannot access parent directories: Permission denied
find: insufficient number of arguments
find: path-list predicate-list
root@ne-ocadev-1:/root/scripts>id
uid=0(root) gid=1(other)
root@ne-ocadev-1:/root/scripts>su espos -c find /ESPOS/oracle/arc -type f -atime +10 -exec ls {};
shell-init: could not get current directory: getcwd: cannot access parent directories: Permission denied
find: insufficient number of arguments
find: path-list predicate-list
root@ne-ocadev-1:/root/scripts>id
uid=0(root) gid=1(other)
root@ne-ocadev-1:/root/scripts>su - espos
Sun Microsystems Inc. SunOS 5.9 Generic May 2002
You have new mail.
ne-ocadev-1(on ) DB:ESPOS User:espos
/ESPOS/oracle/db/9.2.0> cd ..
ne-ocadev-1(on ) DB:ESPOS User:espos
/ESPOS/oracle/db> cd ..
ne-ocadev-1(on ) DB:ESPOS User:espos
/ESPOS/oracle> cd arc/
ne-ocadev-1(on ) DB:ESPOS User:espos
/ESPOS/oracle/arc> ls -lrt | wc -l
885
ne-ocadev-1(on ) DB:ESPOS User:espos
/ESPOS/oracle/arc> pwd
/ESPOS/oracle/arc
ne-ocadev-1(on ) DB:ESPOS User:espos
/ESPOS/oracle/arc> su - root
Password:
Sun Microsystems Inc. SunOS 5.9 Generic May 2002
root@ne-ocadev-1:/root>su espos -c find //ESPOS/oracle/arc -type f -atime +10 -exec ls {}
shell-init: could not get current directory: getcwd: cannot access parent directories: Permission denied
find: insufficient number of arguments
find: path-list predicate-list
この問題のために役立ちます。 |
|
||||
|
引用:
Mmmmm 、されることがあります 親ディレクトリにアクセスできない ユーザーによるespos ? ![]() またはこのdir.checkを読むことは、きっとそれを実行rigthている: 障害者 はls -ラ 場合は、このようになります drwx ------ (唯一のルートまたはディレクトリのマスター) 、別のユーザーがこのディレクトリを読み取ることができません いつの'秀espos ' esposのユーザIDを取得する唯一の効果的な書き込みは、ディレクトリ内のどこにいるの滞在(しかし、このディレクトリ内のユーザespos )を読み取ることができません 私は推測する必要がある、このテスト ス- espos - c 'にして下さい/ ESPOS /オラクル/アーク- atimeがタイプF - 10の- exec ls ( ) \ ; ' 秀'ダッシュ'ユーザ |