Permissions are broken into three groups: Owner Group World, except the first character which denotes what type of file it is. For examples, directories have the first character set to 'd'.
Anyways, with your permissions you have: read-write for Owner, read for Group, and read for World. There is no execute bit set.
To fix this, you need to change the permissions of the file using 'chmod'. For example, 'chmod 777' gives rwx permissions to Owner, Group, and World.
These numbers are created from adding up whatever permissions you want.
r = 4
w = 2
x = 1
So, if you want Owner to have rwx, Group to have rx, and World to have to read, you would do 'chmod 754'
You can see the owner and group per file from an ls -l like you did. The first name is the user, and the second is the group. For you, they are both named the same here.
Hopefully this gave you at least a basic understanding of file permissions. If not, I'm sorry. I was watching Parks and Recreation as I wrote this :)
Hi all
Permission Denied Error In Dev-c History
I am a noob to C++ and I was getting some source code off the web and this is the second time it has happened, when I compile (Blood Shed Dev) I get a message in the compiler 'permission denied'
'Id returned 1 exit status'
Can anybody help me and tell me what is going wrong please?
Feb 01, 2009 cannot open output file learndx.exe. This is the file you are compiling. This usually happens if the previous build is still running. Close any previous instance first. I have the Eclipse IDE and I am also facing this same problem. And I tried as I mentioned as follows, it works: Select your source code that you have compiled - then click CLEAN PROJECT - the source build will be repeated. Then you may be get r.
Many thanks
HLA91
- 8 Contributors
- forum 12 Replies
- 1,875 Views
- 5 Years Discussion Span
- commentLatest Postby gracevilleLatest Post
Nick Evan4,005
Don't know about Bloodshed, but what is the code suppose to do? Could you show it? What OS are you using?