Find the answer to your Linux question:
Results 1 to 2 of 2
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    Huge warnings with find command


    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 :-
    Code:
    $cmd  = "find ".'"'.$file_path.'"'." -type f -exec chmod -R 0777 {} +"." > /dev/null";
    
    exec($cmd, $output);
    For folder I am using following command :-
    Code:
    $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.

  2. #2
    Linux Guru Lazydog's Avatar
    Join Date
    Jun 2004
    Location
    The Keystone State
    Posts
    2,799
    -->
    You running wine?

    Also it's not a good idea to give full access to all files on a linux box.

    Regards
    Robert

    Linux
    The adventure of a life time.

    Linux User #296285
    Get Counted

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •