Question : linux give permission to folder
Answered by : ugly-unicorn-r1lybekaj1qe
sudo chmod -R a+rwx /path/to/folder
Source : | Last Update : Mon, 15 Jun 20
Question : linux change permission
Answered by : joh-lin
permission = read(4) + write(2) + execute(1)
===== CHMOD ===== ( change permission for file )
chmod [permissions] file
(u)ser, (g)roup, (o)ther, (a)ll
(r)ead, (w)rite, (e)xecute
(+) add permission, (-) remove permission, (=) set permission
#Examples:
chmod o+rwx file # add rwx for other
chmod o=rw file # set rw for other
chmod og-x file # remove x from other and group
chmod a+r file # everyone can read
# Numeric
chmod 724 file # owner=everything, group=writing, other=reading
first number is for owner of file,
second for group of owner,
third for everyone
===== OTHER =====
ls -l [path]
---------- # file
d--------- # directory
-rwx------ # owner
----rwx--- # group
-------rwx # other
Source : | Last Update : Fri, 20 May 22
Question : changing folder permission in linux
Answered by : l
chown {user:group} {directory} -R
Source : | Last Update : Sat, 04 Apr 20