asgozzi
22nd November 2005, 14:14
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:
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:
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) :cool:
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:
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:
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) :cool: