Project

General

Profile

Actions

Bug #4920

closed

client: does not respect O_NOFOLLOW

Added by Greg Farnum almost 11 years ago. Updated almost 8 years ago.

Status:
Resolved
Priority:
Low
Assignee:
-
Category:
-
Target version:
-
% Done:

0%

Source:
Development
Tags:
Backport:
Regression:
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Component(FS):
Client
Labels (FS):
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

It looks like doing an open() always implicitly follows symlinks, because we call path_walk() with followsym set to the default "true". There's an O_SYMLINK flag that lets you open symlinks themselves, rather than the file it points to.


Files

20150127_4920_fixv2_and_unittest.patch (1.29 KB) 20150127_4920_fixv2_and_unittest.patch Radoslaw Zarzynski, 01/27/2015 01:56 PM
Actions

Also available in: Atom PDF