.I have a font file which I created using a python script from Github. The owner and group are root. I don't actually know what this means... I can guess what owner means, and I can guess that a group is a group permission that can be used to determine access but I'm not entirely clear on the difference between the group being root and the owner being root. Or how one even creates a group.
Anyway the permissions for "Other" is read only, and when I try to install the font using the font viewer I am denied based on permissions.
I also want to transfer this file to my windows machine and to other friends etc, so I want to take away all permissions from this file. Or give all permissions on this file? I'm not clear on the semantics there... basically I want to make it so that anyone can read, write, execute, use, install, whatever this file.
I tried running chmod o+rx {{font name}}
but that didn't do anything it seems. I then tried `chown o+rx {{font name}}' and that threw an error because I didn't write a user name.
But if I don't want to write a specific user name, I just want to make it that anyone can do anything with this file, what would I do. and why would I do it that way?
I also realize that I could just use the CLI to sudo install the font but I want to understand why permissions work this way and what exactly I'm doing.
When I download a picture from the internet, anyone can edit, delete, move, or use the file etc. So having never really dealt with permissions I'm not really clear on how a picture from the internet differs from files one has set permissions for. I get conceptually that it's a security thing but the exact logic is not clear to me.
EDIT:
The top answer to this question essentially answered my question: How to change permissions from root user to all users?
I'm still not clear on the full limits or theory about permissions, but in order to make it so that a file can be used by anyone I just have to change the permissions while under root using this command: chmod a+rwX {{filename}}
I know what rwx means. It means read, write, execute. And plus means to give those permissions. But what do a mean? I read to use o which is other, but I'm guessing that a is anyone?
I know how to give anyone permission, but how can I make anyone owner? That's probably the more specific question I'm asking.
That said I still don't entirely understand the theory behind permissions. As in, the differing levels of group, other, and owner. If Owners can Read and Write and Groups can Read and Write, does that mean that functionall all members of a group are an Owner? Is it possible for an Owner to have less permissions than Other or Group?
– Aslan French Jul 22 '18 at 20:57