I'm having problems with chown and chmod in ubuntu 18.04.
When I use
php + nginx:
nginx:nginx and chmod is
when i use
shell_exec('ffmpeg -i' b.mp3 >a.log 2>&1');
The above command was not able to run because it
does not have access to the a.log file, it seems that ffmpeg was running under user
ive (this is my ubuntu login account). It could not write to the log file. I hope you will give me advice to handle this case. I am using ubuntu 18.04 on my laptop.
p:s I was thinking of a root login solution so that all commands run with root but not yet. When logged in with root at the ubuntu login screen. Although I have entered the correct password, it still gives me the wrong password. :(