Thread: GCC Permissions
View Single Post
  #1  
Old 22nd November 2005, 15:14
asgozzi asgozzi is offline
Junior Member
 
Join Date: Nov 2005
Location: Stanford, CA
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default GCC Permissions

hi.
my problem is probably quite simple, but I have no clue of how to solve it.
following this site's outstanding tutorials I set up a small debian server to run at home.ssh, apache and pure-ftpd are up and running really well.
i obviously have root access but I created also a user account for my friends to come and design/compile their software on it (via ssh).
the trouble is I can't make the gcc compiler to work for them - it seems the they don't have the rights to use it.the directory is chmodded 7 for the account so it shouldn't be a file output problem.

this is when i try to compile it with the remote account:

Code:
tester@amoeba:~/ROMEO/C$ gcc -Wall -o LCS2b LCS2b.c
/usr/bin/ld: cannot open output file LCS2b: Permission denied
collect2: ld returned 1 exit status
and this is when the root's doing it:

Code:
amoeba:/home/tester/ROMEO/C# gcc -Wall -o LCS2b LCS2b.c
amoeba:/home/tester/ROMEO/C# ls
LCS2b  LCS2b.c  LCS2.c

does anybody have a clue of how to fix this?

tnx (and sorry for my shameful english)
__________________
technical@andreagozzi.com
Reply With Quote
Sponsored Links