If you use the root account to log in under Linux, then the programs and applications you run also have root permissions, but root Problems such as Permission denied may also occur under code> permissions. For example, when installing software (environment) from source code, execute ./configure. If the source code package is from If Windows is transferred to Linux through ftp, permission issues will occur. Linux下如果使用root账户登录,那么你运行的程序和应用也都是root权限,但root权限下也会出现Permission denied之类的问题,譬如源码安装软件(环境)时执行./configure,假如该源码包是从Windows通过ftp传到Linux下的,就会出现权限问题。
In view of the socket you asked about, there are generally two methods under Linux: port communication and .sock file. If If port communication is used, please check the port occupancy; if it is a .sock file, check the write permission of the directory. It feels like you should use port communication...🎜
🎜The configure mentioned in the first paragraph is because files transferred from Windows to Linux through ftp are not written by default. access permissions. 🎜
🎜Not sure about Windows. Most people usually log in with administrator accounts, so they don’t encounter permission problems. socket communicates in Pycharm, Sublime. Or right click: Run as administrator. 🎜
If you use the
root
account to log in underLinux
, then the programs and applications you run also haveroot
permissions, butroot
Problems such asPermission denied
may also occur under code> permissions. For example, when installing software (environment) from source code, execute./configure
. If the source code package is fromIf Windows
is transferred toLinux
throughftp
, permission issues will occur.Linux
下如果使用root
账户登录,那么你运行的程序和应用也都是root
权限,但root
权限下也会出现Permission denied
之类的问题,譬如源码安装软件(环境)时执行./configure
,假如该源码包是从Windows
通过ftp
传到Linux
下的,就会出现权限问题。鉴于你问的
socket
,Linux
下一般有端口通信
和.sock
文件两种方式,如果是用端口通信,请检查端口占用情况;如果是.sock
文件,则检查该目录的写入权限。感觉上你应该用的是端口通信……第一段说的
configure
就是因为通过ftp
从Windows
传入Linux
的文件默认是没有写入权限的。
In view of theWindows
下不太确定,平时大多管理员账户登录,所以没怎么遇到过权限问题,socket
通信在Pycharm
、Sublime
socket
you asked about, there are generally two methods underLinux
:port communication
and.sock
file. If If port communication is used, please check the port occupancy; if it is a.sock
file, check the write permission of the directory. It feels like you should use port communication...🎜 🎜Theconfigure
mentioned in the first paragraph is because files transferred fromWindows
toLinux
throughftp
are not written by default. access permissions. 🎜 🎜Not sure aboutWindows
. Most people usually log in with administrator accounts, so they don’t encounter permission problems.socket
communicates inPycharm
, Sublime. Or right click: Run as administrator. 🎜sudo for linux