Summary: | [patch][bin] find(1) fails with .: permission denied, even when using absolute paths | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | Base System | Reporter: | Matthew Story <matthewstory> | ||||||
Component: | bin | Assignee: | freebsd-bugs (Nobody) <bugs> | ||||||
Status: | Open --- | ||||||||
Severity: | Affects Only Me | Keywords: | patch | ||||||
Priority: | Normal | ||||||||
Version: | Unspecified | ||||||||
Hardware: | Any | ||||||||
OS: | Any | ||||||||
Attachments: |
|
Description
Matthew Story
2012-03-13 19:10:03 UTC
On Tue, Mar 13, 2012 at 3:08 PM, Matthew Story <matthewstory@gmail.com>wrote: > >Fix: > apply patch (patch was made against -CURRENT). patch will warn if it > cannot open ".", and set the FTL_NOCHDIR flag before proceeding, below > cases demonstrate functionality with&without the -exec flag > Embarrassingly enough, my patch breaks -execdir ... I will follow-up with a correction that doesn't break -execdir. Apologies for not being more thorough in my testing. -- regards, matt On Wed, Mar 14, 2012 at 3:06 AM, Matthew Story <matthewstory@gmail.com>wrote: > On Tue, Mar 13, 2012 at 3:19 PM, Matthew Story <matthewstory@gmail.com>wrote: > >> On Tue, Mar 13, 2012 at 3:08 PM, Matthew Story <matthewstory@gmail.com>wrote: >> > It also sets FTS_NOCHDIR if it cannot open "." O_RDONLY. the man-page for > fts is silent on these two issues, I'll file a separate PR to document that. > see: docs/166091 For bugs matching the following criteria: Status: In Progress Changed: (is less than) 2014-06-01 Reset to default assignee and clear in-progress tags. Mail being skipped Keyword: patch or patch-ready – in lieu of summary line prefix: [patch] * bulk change for the keyword * summary lines may be edited manually (not in bulk). Keyword descriptions and search interface: <https://bugs.freebsd.org/bugzilla/describekeywords.cgi> |