The Following User Says Thank You to Holy bible For This Useful Post: | ||
![]() |
2013-02-22
, 13:24
|
Posts: 1,048 |
Thanked: 1,127 times |
Joined on Jan 2010
@ Amsterdam
|
#3
|
![]() |
2013-02-22
, 14:24
|
Posts: 7 |
Thanked: 8 times |
Joined on Feb 2013
|
#4
|
The Following User Says Thank You to Holy bible For This Useful Post: | ||
![]() |
2013-02-22
, 14:36
|
Moderator |
Posts: 6,215 |
Thanked: 6,400 times |
Joined on Nov 2011
|
#5
|
The Following User Says Thank You to thedead1440 For This Useful Post: | ||
![]() |
2013-02-22
, 14:54
|
Posts: 7 |
Thanked: 8 times |
Joined on Feb 2013
|
#6
|
The Following User Says Thank You to Holy bible For This Useful Post: | ||
![]() |
2013-02-22
, 15:17
|
Posts: 1,163 |
Thanked: 1,873 times |
Joined on Feb 2011
@ The Netherlands
|
#7
|
for that is a FAT partition and as such you won't be able to set permissions there.
![]() |
2013-02-22
, 16:34
|
Posts: 1,048 |
Thanked: 1,127 times |
Joined on Jan 2010
@ Amsterdam
|
#9
|
The Following User Says Thank You to anthonie For This Useful Post: | ||
![]() |
2013-02-22
, 20:14
|
Posts: 1,808 |
Thanked: 4,272 times |
Joined on Feb 2011
@ Germany
|
#10
|
But in what is different for example FAT to NTFS or even to Linux EXT4. why you cannot set permission in FAT... this is question
The Following 7 Users Say Thank You to reinob For This Useful Post: | ||
I was trying to do programing in my "new" mobile phone Nokia N900 which runs on Maemo 5 (Linux-based).
Firstly I was following guides how to install GCC on it and I was successful because I installed it and you run it as : gcc-4.2 <source code> or g++-4.2 <source code>
so I made myself a really noobish program just to try how it works.
I work in C so this was the source:
#include <stdio.h>
int main()
{
int i;
for(i=0; i<10; i++)
printf("Hello, world\n");
return 0;
}
just simple hello world. So and where is the problem. I wrote this source by "nano" which i also installed but just by simple method (Maemo "app store" and just downloaded nano program)
so no intricate methods.
Okey I used nano and wrote this code. I saved it as prog.c
Now as in Ubuntu (I got some beginner skills from programing in ubuntu so this is why im putting question) i used gcc to compile it so
gcc-4.2 prog.c
as in Ubuntu it made for me "a.out".
and now. the problem is clear. When i do ---> ./a.out
it returns me: /bin/sh: ./a.out: Permission denied
and I REALLY DON'T KNOW what to do with that problem.
I hope you guys can solve this problem. Thanks a lot in advance