First I am a Windows guy who has inherited some CentOS 5 servers so bear with me.
Hopefully this is easy... essentially I am just trying to grant a new user account read and execute access to a folder and all sub-folders and files. I am logged into the server as root currently. I have run the following commands:
useradd -g appsupport appsupport
chgrp appsupport /usr/local/bin
chmod go+rx -R /usr/local/bin
I can SSH into the server but when I try and open a file with vi I get "Permission Denied".
Permissions on the file are which resides in bin are:
-rwx------ 1 root root 3070 Jul 26 2012 NEW.pl
I even tried adding the user to the "root" group as a test and I still get "Permission Denied"
What am I missing? PS.. Also want to note that it is important that I do not overwrite or change any existing permissions.