chmod problem

From: Bhavesh Shah (bshah@citadon.com)
Date: Thu Oct 27 2005 - 13:50:45 EDT


Hi Gurus,

I had a problem with chmod on Solaris 2.6. When I try to assign
permission with chmod it says permission denied. When I checked the
permission on chmod itself it doesn't have execute permission. This was
kind of surprising how chmod itself doesn't have execute permission. Now
I can't assign any permission on that box. Unfortunately this is the
only Solaris 2.6 box so I can't even copy from other Server. Any help is
greatly appreciated.

I will summarize.

Regards

B

bash-2.03# ls -l /usr/bin/chmod

-r--r--r-- 1 root bin 18236 Jan 5 2000 /usr/bin/chmod

bash-2.03# ls -l test1

-rw-r--r-- 1 root other 0 Oct 27 10:43 test1

bash-2.03# chmod 755 test1

bash: /bin/chmod: Permission denied

bash-2.03# . /usr/bin/chmod 755 test1

bash: .: /usr/bin/chmod: cannot execute binary file
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:33:48 EDT