Quantcast
Channel: Root gets permission denied when executing commands from script but not from shell - Unix & Linux Stack Exchange
Browsing latest articles
Browse All 2 View Live

Answer by roaima for Root gets permission denied when executing commands from...

The underlying problem is the parse error on this line: hash1=$(md5sum dbPath/testdb.sql) | awk '{print $1}' which should almost certainly be hash1=$(md5sum dbPath/testdb.sql | awk '{print $1}') You...

View Article



Root gets permission denied when executing commands from script but not from...

I have a simple script that I'm using to sync a test environment for a couple of developers. It doesn't need to be any more complex than just taking a mysql dump, checking the hash over SSH, and then...

View Article
Browsing latest articles
Browse All 2 View Live




Latest Images