$ more /etc/release Solaris 10 10/09 s10s_u8wos_08a SPARC Copyright 2009 Sun Microsystems, Inc. All Rights Reserved. Use is subject to license terms. Assembled 16 September 2009 $ su - root $ cd /MYFILE $ ls -ld /MYFILE/ drwx------ 2 myuser myuser 512 Jul 6 13:11 /myuserFILE/proc/bin/ $ echo xyz > xyz.txt $ chmod 600 xyz.txt $ ls -la drwx------ 2 myuser myuser 512 Jul 6 13:10 . drwx------ 5 myuser myuser 512 Jun 28 11:14 .. -rw------- 1 root root 4 Jul 6 13:10 xyz.txt
$ su - myuser $ cd /MYFILE $ cat xyz.txt cat: cannot open xyz.txt $ rm -f xyz.txt $ ls -la drwx------ 2 myuser myuser 512 Jul 6 13:11 . drwx------ 5 myuser myuser 512 Jun 28 11:14 ..
chmod 1777 /MYFILE