search
[last updated: 2023-04-14]
Linux home page
-----
and generally the same tools are used to work with all different kinds of "files."
In particular, text files, image files, Directories, and ports, (and other things of course), are all "files."
So...
If you want to edit a file, but the editor says it's Read-only,
or if you want to read a file in a particular directory, but you get an error that you're not authorized,
or if you want to copy a file INTO a particular directory, but you get same error, ...
you must change your permissions or change group membership
-----
Short Version:
Set rwx (ie. all) permissions for users: other on file: filex
to change all directories in a folder:
-----
then you are acting as root, so the folder will be created, with owner root, and permissions: drwxr-xr-x
sets user permission to rwx, and adds read permissions to others
=====================================================================================
OR: add yourself to the group with this. You must logout and back in to make it effective.
$ useradd -g [groupName] $USER ... (have not tested this. not sure of '$USER' sysntax)
-------------------------------------------------------------------------------
.
.
.
eof