Continuously getting so many warnings yet my command is working fine.
find: `api/PlayersImpl0.smali': No such file or directory
find: `api/PlayersImpl1.smali': No such file or directory
find: `api/TurnBasedMultiplayerImpl0.smali': No such file or directory
find: `api/TurnBasedMultiplayerImpl1.smali': No such file or directory
find: `api/TurnBasedMultiplayerImpl2.smali': No such file or directory
find: `api/TurnBasedMultiplayerImpl3.smali': No such file or directory
For file I am using following command :-
$cmd = "find ".'"'.$file_path.'"'." -type f -exec chmod -R 0777 {} +"." > /dev/null";
exec($cmd, $output);
For folder I am using following command :-
$cmd1 = "find ".'"'.$folder_path.'"'." -type d -exec chmod -R 0777 {} +"." > /dev/null";
exec($cmd1, $output);
Note:- exec is a php function to execute shell command. Here I am trying to provide permissions of 777 to all files and folders.