Out of many reasons here are those which i faced
Not enough permission
solution:
$ chmod +x yourFileName
or
$chmod 777 yourFileName
Your compiled binary file is on mounted ntfs partition ,mounted with no +x permission
solution:
mount it with `-o exec` option
$umount /media/yourNtfsPartition
$mount -t ntfs /sda/dev[X] /media/yourNtfsPartition -o exec
Replace [x] with your dev number
eg.
$mount -t ntfs /sda/dev2 /media/myPartition -o exec
Not enough permission
solution:
$ chmod +x yourFileName
or
$chmod 777 yourFileName
Your compiled binary file is on mounted ntfs partition ,mounted with no +x permission
solution:
mount it with `-o exec` option
$umount /media/yourNtfsPartition
$mount -t ntfs /sda/dev[X] /media/yourNtfsPartition -o exec
Replace [x] with your dev number
eg.
$mount -t ntfs /sda/dev2 /media/myPartition -o exec
No comments:
Post a Comment