Is the file permission system in Linux based systems a RESTRICTIVE permission based system, or a RELAXED permission based system for user:group access considerations only?
By this I mean does the kernel go by the most restrictive access a user:group has to gain appropriate access to the file in question, or does it go by the permission that gives the most access?
The reason I'm asking is as follows;
I've just setup a minimal install of Ubuntu and have a basic LAMPS system. I've been fighting with Samba, reconfiguring it, setting permissions to all out 777 permissions for both file and directory, but I just could NOT convince it to allow me to create files and directories via the share. However, I noted that I could change files if they already existed.
So I looked at the directory permission where the root samba share is and found that it was set for 570 with the appropriate user setup I want. I changed the permission to 777, which allowed me to create a directory. I then changed it to 770, and still was able to create a directory. However, when I went back to 570, I got permission failures.
I don't seem to have a samba "user" otherwise I would have given full permissions for that user and then given the group read only access.
The thing that strikes me really odd is that I'm not blocked because of the no access for the "other" permission.
Can anyone shed some light on what is going on with this?
-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=
NEVER send the boss to do a techs job
By this I mean does the kernel go by the most restrictive access a user:group has to gain appropriate access to the file in question, or does it go by the permission that gives the most access?
The reason I'm asking is as follows;
I've just setup a minimal install of Ubuntu and have a basic LAMPS system. I've been fighting with Samba, reconfiguring it, setting permissions to all out 777 permissions for both file and directory, but I just could NOT convince it to allow me to create files and directories via the share. However, I noted that I could change files if they already existed.
So I looked at the directory permission where the root samba share is and found that it was set for 570 with the appropriate user setup I want. I changed the permission to 777, which allowed me to create a directory. I then changed it to 770, and still was able to create a directory. However, when I went back to 570, I got permission failures.
I don't seem to have a samba "user" otherwise I would have given full permissions for that user and then given the group read only access.
The thing that strikes me really odd is that I'm not blocked because of the no access for the "other" permission.
Can anyone shed some light on what is going on with this?
-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=
NEVER send the boss to do a techs job