My computer has two hard disks (1 SSD + 1 HDD). I have installed operating systems in SSD and made HDD as a NTFS drive (named as 'WorkData'; and the location is /media/WorkData
), so that I can work in that HDD from both Ubuntu and Windows.
I have compiled a program (named as 'chem') in 'WorkData' and tried executing it by ./chem
command. However, I am getting the error 'bash: ./chem
: Permission denied'.
I tried following ways to fix it:
- Used,
chmod u+x chem
=> No use. - Tried the option in the link => No use.
- Tried the option in the link => No use.
Can some one help me in this regard?
chmod o+x chem
does that fix it?