bug-findutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug #56410] find -L doesn't follow symlinks outside the specified searc


From: Arthur Pogosyan
Subject: [bug #56410] find -L doesn't follow symlinks outside the specified search scope
Date: Thu, 30 May 2019 05:28:10 -0400 (EDT)
User-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/74.0.3729.169 Safari/537.36

Follow-up Comment #9, bug #56410 (project findutils):

OK, i'm trying to say, that according to find manual page:

---
 -L     Follow symbolic links.  When find examines or prints information about
files, the information used shall be taken from the properties of the file to
which the link points,  not  from  the
              link  itself  (unless  it  is a broken symbolic link or find is
unable to examine the file to which the link points).  Use of this option
implies -noleaf.  If you later use the -P option,
              -noleaf will still be in effect.  If -L is in effect and find
discovers a symbolic link to a subdirectory during its search, the
subdirectory pointed to  by  the  symbolic  link  will  be
              searched.
---

after executing "find -L temp2/ -type f" we should receive following output:
temp/file0.txt 

As i think after reading manual find should follow symlink and give me info
about text file, but not symlink itself.

    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?56410>

_______________________________________________
  Сообщение отправлено по Savannah
  https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]