Re: Commands via Web Interface fail - command line works
Posted: Wed Aug 03, 2016 4:09 pm
This time I think to understand what happens...
On sudo side there is no issue with your version but I think you did an oversize cleaning on /dev folder
As the firmware uses often this node for wasting the standard output with sudo, the shell commands run by php fail...
So try to create again the node
reboot the NAS and try to change some settings on the web-interface
and post also the content of /dev
On sudo side there is no issue with your version but I think you did an oversize cleaning on /dev folder
- Code: Select all
sh: can't create /dev/null: Permission denied
As the firmware uses often this node for wasting the standard output with sudo, the shell commands run by php fail...
So try to create again the node
- Code: Select all
mknod /dev/null c 1 3
chmod 666 /dev/null
reboot the NAS and try to change some settings on the web-interface
and post also the content of /dev
- Code: Select all
ls -a /dev