Quote:
Originally Posted by
Corona688
He can hardly run find if he can't run anything else. Whether he has a session open already doesn't matter.
Your advice is suspect in any case. There's many very important things in /bin/ which will not work with 755 permissions, such as logins.
This is all very true but there
might be a (slim) chance even in the case "$INSTALLDIR" was in fact
/bin: it will depend on which system exactly it is and which binaries are located in
/usr/bin and
/usr/sbin respectively (supposing
/usr/bin is NOT a link to
/bin or vice versa, which is customary these days, but not with all systems). There might also be a second set of system binaries, like with SunOS'
/usr/xpg4/bin with a usable
chmod binary.
There is an additional chance if "$INSTALLDIR" was not "/bin" and the system is AIX: if you have TCB (trusted computing base) switched on you can restore the file permissions of system files quite easily. See the TCB documentation for details.
I hope this helps.
bakunin