DIGIT-ARC read-only archive · snapshot: July 23, 2026

URGENT: File permisson issue

2 posts · originally from https://geek.digit.in/community/threads/urgent-file-permisson-issue.117025/

S
srbharadwaj Original post #1
May 28, 2009 at 10:48 PM
Machine: Solaris 10

There were some scripts and tools installed on the machine under /usr/TEST/bin which had the file permission
Code:
     -r-sr-sr-x   1 root     auto       12864 Sep  3  1998 route
-r-sr-sr-x   1 root     auto      203952 Sep 11  1998 snoop
-r-sr-sr-x   1 root     auto        6948 Sep 11  1998 arp
-r-sr-sr-x   1 root     auto        8788 Oct  5  1999 fgen
By mistake we logged in as root and gave
Code:
chmod 777 *
Due to which all the permission for the files was changes and none of the scripts or tools like snoop present are working

Please let me know tp how to restore the permission back so that we can execute the tools
mediator
May 29, 2009 at 4:04 AM
Execute ...
1. chmod ugo-w *
2. chmod +s *