openwrt:Permission denied

 /home/xxxxxxxxxxxx/scripts/download.pl "/opt/dl" "gdb-linaro-7.2-2011.03-0.tar.bz2" "747b655418058964451eff7c7a15013c" "http://launchpad.net/gdb-linaro/7.2/7.2-2011.03-0/+download/"
sh: 1: Cannot create file /opt/dl/gdb-linaro-7.2-2011.03-0.tar.bz2.dl: Permission denied
--2013-08-17 16:11:54--  http://launchpad.net/gdb-linaro/7.2/7.2-2011.03-0/+download/gdb-linaro-7.2-2011.03-0.tar.bz2
Resolving launchpad.net (launchpad.net)... cannot create /opt/dl/gdb-linaro-7.2-2011.03-0.tar.bz2.md5sum: Permission denied
91.189.89.222, 91.189.89.223


没有root账户就无法创建文件,如果用root就不许编译

fixed:

自建的目录,再chown,改给自己

转载于:https://my.oschina.net/rinehart/blog/153355

你可能感兴趣的:(openwrt:Permission denied)