➜ ~ luarocks install luasql
Error: Your user does not have write permissions in /usr/local/lib/luarocks/rocks
-- you may want to run as a privileged user or use your local tree with --local.
➜ ~ luarocks install luasql-mysql
Error: Your user does not have write permissions in /usr/local/lib/luarocks/rocks
-- you may want to run as a privileged user or use your local tree with --local.
不知道这个何种揭发,
在用lua的 luarocks时候安装一个数据库驱动
这是权限问题吧,要么你换root用户,要么把你要改的那个文件加上写属性