[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: |
анонимный |
Subject: |
[bug #56410] find -L doesn't follow symlinks outside the specified search scope |
Date: |
Wed, 29 May 2019 03:49:19 -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 |
URL:
<https://savannah.gnu.org/bugs/?56410>
Summary: find -L doesn't follow symlinks outside the
specified search scope
Project: findutils
Submitted by: None
Submitted on: Ср. 29 мая 2019 07:49:18
Category: find
Severity: 3 - Normal
Item Group: Wrong result
Status: None
Privacy: Public
Assigned to: None
Originator Name: Arthur Pogosyan
Originator Email: address@hidden
Open/Closed: Open
Discussion Lock: Any
Release: None
Fixed Release: 4.7.0
_______________________________________________________
Details:
Hello!
I was trying to find files from directory full of symlinks and exec file on
them, but wasn't able to do so. Find just show info about symlinks, instead of
files they lead to, despite option -L was specified
Here is an example:
address@hidden:~# find --version
find (GNU findutils) 4.7.0-git
Copyright (C) 2017 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later
<http://gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Written by Eric B. Decker, James Youngman, and Kevin Dalley.
Features enabled: D_TYPE O_NOFOLLOW(enabled) LEAF_OPTIMISATION FTS(FTS_CWDFD)
CBO(level=2)
address@hidden:~# mkdir /temp
address@hidden:~# mkdir /temp2
address@hidden:~# echo "test" > /temp/file0.txt
address@hidden:~# ln -s /temp/file0.txt /temp2/file
address@hidden:~# find -L /temp2/ -type f -exec file '{}' \;
/temp2/file: symbolic link to /temp/file0.txt
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?56410>
_______________________________________________
Сообщение отправлено по Savannah
https://savannah.gnu.org/
- [bug #56410] find -L doesn't follow symlinks outside the specified search scope,
анонимный <=
- [bug #56410] find -L doesn't follow symlinks outside the specified search scope, James Youngman, 2019/05/29
- [bug #56410] find -L doesn't follow symlinks outside the specified search scope, James Youngman, 2019/05/29
- [bug #56410] find -L doesn't follow symlinks outside the specified search scope, James Youngman, 2019/05/29
- [bug #56410] find -L doesn't follow symlinks outside the specified search scope, James Youngman, 2019/05/29
- [bug #56410] find -L doesn't follow symlinks outside the specified search scope, James Youngman, 2019/05/29
- [bug #56410] find -L doesn't follow symlinks outside the specified search scope, Arthur Pogosyan, 2019/05/29
- [bug #56410] find -L doesn't follow symlinks outside the specified search scope, James Youngman, 2019/05/29
- [bug #56410] find -L doesn't follow symlinks outside the specified search scope, Arthur Pogosyan, 2019/05/30
- [bug #56410] find -L doesn't follow symlinks outside the specified search scope, James Youngman, 2019/05/30
- [bug #56410] find -L doesn't follow symlinks outside the specified search scope, Arthur Pogosyan, 2019/05/30