Salut, Lucian!<br><br>La mine nu se reproduce acest comportament. Iata cateva intrebari:<br><br>1) Esti sigur ca ambele ruleaza acelasi pwd? Incearca sa verifici chestia asta. <br>2) Ce distributie folosesti? <br>3) Crezi ca e posibil ca user-ul sub care se manifesta acest comportament sa nu aiba ca shell bash-ul? Poti verifica acest lucru cu echo $BASH - daca e nevid, atunci e bash.<br>
<br>Pana una alta, iata testul meu, facut pe Ubuntu 8.04:<br>aismail@freeland:~/Desktop$ ls -la | grep t1<br>lrwxrwxrwx 1 aismail aismail 14 2009-03-27 10:25 t1 -> path/to/tema/1<br>aismail@freeland:~/Desktop$ cd t1<br>
aismail@freeland:~/Desktop/t1$ pwd<br>/home/aismail/Desktop/t1<br>aismail@freeland:~/Desktop/t1$ ./test<br>/home/aismail/Desktop/t1<br>aismail@freeland:~/Desktop/t1$ cat test.c<br>#include <stdlib.h><br>int main(int argc, char **argv) {<br>
return system("pwd");<br>}<br><br>Spor la teme,<br>-- <br>Andrei Ismail<br>Automatic Control and Computers Faculty<br>Polytechnic University of Bucharest<br>