BLAG

BLAG Forums
It is currently Thu Dec 18, 2014 7:31 pm

All times are UTC




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: Permission Denied...
PostPosted: Tue Sep 08, 2009 4:26 pm 
Offline

Joined: Fri Mar 10, 2006 6:40 am
Posts: 35
So im developing an application in Eclipse using c++, I have all the files on a seperate drive (mounted to /media/disk ) which is an ntfs file system. Up until recently it worked fine... But now, it all works fine, it compiles and links and generates the executable. But then when i go to run the program i get this error.

Code:
.../Debug$ ./WarTornlinux
bash: ./WarTornlinux: Permission denied


not sure if it has anything to do with it, but the drive gets mounted as root (owner and group) but i get the same error message even if i try to run it as root. I tried chowning it but that didnt work either. (it stayed as root and still wouldnt run)... any other ideas?[/code]


Top
 Profile  
 
 Post subject:
PostPosted: Wed Sep 09, 2009 1:38 am 
Offline

Joined: Fri Mar 10, 2006 6:40 am
Posts: 35
oh and the permissions are -rwxrwxrwx


Top
 Profile  
 
 Post subject:
PostPosted: Tue Sep 22, 2009 9:51 pm 
Offline
Site Admin

Joined: Wed Mar 17, 2004 6:17 pm
Posts: 1340
Location: London, UK
can you run the comand `stat /path/to/file` and past it here? example:-
Code:
 stat info.txt                                                                                                                                             
  File: `info.txt'
  Size: 19              Blocks: 8          IO Block: 4096   regular file

Device: 801h/2049d      Inode: 46391811    Links: 1
Access: (0644/-rw-r--r--)  Uid: (  512/    koji)   Gid: (  512/    koji)
Access: 2009-09-17 21:08:37.000000000 +0100
Modify: 2009-07-22 12:14:15.000000000 +0100
Change: 2009-08-20 21:11:12.000000000 +0100 

_________________
BLAG 'em up!


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group