Fernando Rowies wrote:
>
> Logged as a regular user, trying to compile the file test.cpp I receive
> the following error msg:
>
> $ g++ test.cpp
> /usr/bin/ld: cannot open output file a.out: Permission denied
> collect2: ld returned 1 exit status
>
> However if I compile as root it's ok.
> How
Logged as a regular user, trying to compile the file test.cpp I receive
the following error msg:
$ g++ test.cpp
/usr/bin/ld: cannot open output file a.out: Permission denied
collect2: ld returned 1 exit status
However if I compile as root it's ok.
How can I modify permissions if this is the prob