Find command showing files that do not exist

Does "Dominei" mean something?

Why are on-board computers allowed to change controls without notifying the pilots?

Simulating a probability of 1 of 2^N with less than N random bits

Partial sums of primes

Indicating multiple different modes of speech (fantasy language or telepathy)

Can a Bard use an arcane focus?

Blender - show edges angles “direction”

Is there enough fresh water in the world to eradicate the drinking water crisis?

Female=gender counterpart?

Installing PowerShell on 32-bit Kali OS fails

Proof of Lemma: Every integer can be written as a product of primes

What will be the benefits of Brexit?

Pronouncing Homer as in modern Greek

Simple image editor tool to draw a simple box/rectangle in an existing image

Is there a problem with hiding "forgot password" until it's needed?

Is there an wasy way to program in Tikz something like the one in the image?

Did US corporations pay demonstrators in the German demonstrations against article 13?

Adding empty element to declared container without declaring type of element

I2C signal and power over long range (10meter cable)

Reply ‘no position’ while the job posting is still there (‘HiWi’ position in Germany)

Identify a stage play about a VR experience in which participants are encouraged to simulate performing horrific activities

Perfect riffle shuffles

Simple recursive Sudoku solver

A workplace installs custom certificates on personal devices, can this be used to decrypt HTTPS traffic?



Find command showing files that do not exist














0















I recently updated my drupal files from another server.



There are about 50k files.



I need to change the permissions on the files to 644



When I run:



find . type f -exec chmod 644 {} ;


From with in the files dir.



I get the following output:



chmod: cannot access ./file1.jpg No such file or directory
chmod: cannot access ./file2.jpg No such file or directory
chmod: cannot access ./file3.jpg No such file or directory
chmod: cannot access ./file4.jpg No such file or directory


Any idea why this is happening?



Those files should not exist, they may have been there before the move but i am not sure.









share



























    0















    I recently updated my drupal files from another server.



    There are about 50k files.



    I need to change the permissions on the files to 644



    When I run:



    find . type f -exec chmod 644 {} ;


    From with in the files dir.



    I get the following output:



    chmod: cannot access ./file1.jpg No such file or directory
    chmod: cannot access ./file2.jpg No such file or directory
    chmod: cannot access ./file3.jpg No such file or directory
    chmod: cannot access ./file4.jpg No such file or directory


    Any idea why this is happening?



    Those files should not exist, they may have been there before the move but i am not sure.









    share

























      0












      0








      0








      I recently updated my drupal files from another server.



      There are about 50k files.



      I need to change the permissions on the files to 644



      When I run:



      find . type f -exec chmod 644 {} ;


      From with in the files dir.



      I get the following output:



      chmod: cannot access ./file1.jpg No such file or directory
      chmod: cannot access ./file2.jpg No such file or directory
      chmod: cannot access ./file3.jpg No such file or directory
      chmod: cannot access ./file4.jpg No such file or directory


      Any idea why this is happening?



      Those files should not exist, they may have been there before the move but i am not sure.









      share














      I recently updated my drupal files from another server.



      There are about 50k files.



      I need to change the permissions on the files to 644



      When I run:



      find . type f -exec chmod 644 {} ;


      From with in the files dir.



      I get the following output:



      chmod: cannot access ./file1.jpg No such file or directory
      chmod: cannot access ./file2.jpg No such file or directory
      chmod: cannot access ./file3.jpg No such file or directory
      chmod: cannot access ./file4.jpg No such file or directory


      Any idea why this is happening?



      Those files should not exist, they may have been there before the move but i am not sure.







      rhel7





      share












      share










      share



      share










      asked 1 min ago









      Anthony FornitoAnthony Fornito

      7,355121113




      7,355121113






















          0






          active

          oldest

          votes











          Your Answer








          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "2"
          };
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function() {
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled) {
          StackExchange.using("snippets", function() {
          createEditor();
          });
          }
          else {
          createEditor();
          }
          });

          function createEditor() {
          StackExchange.prepareEditor({
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: true,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          imageUploader: {
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          },
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          });


          }
          });














          draft saved

          draft discarded


















          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fserverfault.com%2fquestions%2f959963%2ffind-command-showing-files-that-do-not-exist%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          0






          active

          oldest

          votes








          0






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes
















          draft saved

          draft discarded




















































          Thanks for contributing an answer to Server Fault!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid



          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.


          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fserverfault.com%2fquestions%2f959963%2ffind-command-showing-files-that-do-not-exist%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          As a Security Precaution, the user account has been locked The Next CEO of Stack OverflowMS...

          Українські прізвища Зміст Історичні відомості |...

          Список ссавців Італії Природоохоронні статуси | Список |...