M
M
Matvey2021-12-09 16:51:07
linux
Matvey, 2021-12-09 16:51:07

How to allow all users to access a linux folder?

How to allow all users to access a linux folder?
I want to put a file through pscp.exe
pscp: unable to open /usr/local/bin/bot/bot.py: permission denied
How to give access?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
D
Drno, 2021-12-09
@mlt_melt

chmod -R 777 /usr/local/bin/bot bot
folder will have permission for everyone

A
Andrey Barbolin, 2021-12-09
@dronmaxman

/usr/local/bin/bot/bot.py

It is more correct to place this in opt
mkdir /opt/bot/
chmod -R u+rw /opt/bot
And then copy it.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question