Hello
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
Please help for this issue.