Hi,probably not right forum,but not sure where to put it in.Its sort of security.
I want to use sshfs to run a program from a central server on remote boxes.That works fine.I mounted the file system of the server,using sshfs and i can see the file and execute it,but i dont want any of the users on the remote boxes to be able to read the file,in other words,just execute it.On the remote box,here's the settings
Code:
chmod 711 file
ls -l
total 4
-rwx--x--x 1 usergroup test 37 Jul 10 09:39 file
711 means that only root can read it,does n't it?all the other ones can execute it,but not read it...
But,if i log in as test on the box and do a vim file,i can read it.How can I get this user to be able to execute the file(its a php script) but not be able to read it,in other words see the source code?
Thanks