All we need is an easy explanation of the problem, so here it is.
What is the difference between chmod 777 and chmod 007? if ‘others’ means everyone, doesn’t that strongly suggest the truth that chmod 777 = chmod 007?
How to solve :
I know you bored from this bug, So we are here to help you! Take a deep breath and look at the explanation of your problem. We have many solutions to this problem, But we recommend you to use the first method because it is tested & true method that will 100% work for you.
It may suggest that, but it isn’t the case.
The first digit is “owner” permissions, the second is “group” permissions – and the owner and group are viewable with
ls -l, and the third is “others”, which literally means those that aren’t either the owner or in the group.
007 means that neither the owner or group members can read, write, or execute the file, while everyone else can do all three.
0007 explicitly denies access by the owner and group, regardless of the other permissions.
If ‘others’ means everyone, then yes. However it does not mean that.
Very briefly it is: User, group, people_not_previous_group
Note: Use and implement method 1 because this method fully tested our system.
Thank you 🙂