PDA

View Full Version : Permission denied in client and server program



sanda199
December 19th, 2012, 08:25 AM
Hi everyone, I need your valuable help. I tried to write client and server program in 2 ubuntu computers. After I run both program, I got permission denied at the terminal. If anyone have experience of this, can u pls help me?


Thanks for your help.

Tony Flury
December 27th, 2012, 10:09 PM
Permission denied errors should be easy to fix.

you need to make sure :

You have execution permission on the drive (you should have in most directories in a standard install)
The executable is owned by you , or a group you belong too - try using the groups command - and the "ls -l" to check whether you own it
Check that the file has the right execute bit set.

To help - post the results of the following commands :


groups

and


ls -l

in the relevant directory of course.

remember to add code tags round your output.