Project

General

Profile

Bug #6430

allow access to extended attributes of unlinked but still open file

Added by Andriy Gapon over 4 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
zfs - Zettabyte File System
Start date:
2015-11-03
Due date:
% Done:

0%

Estimated time:
Difficulty:
Medium
Tags:
needs-triage

Description

If a process has an unlinked file open and can access its data, then there is no reason why the process shouldn't be able to access the extended attributes of the file.
Scenario:

shell1$ touch xx
shell1$ runat xx sh
runat$ echo xxx > myattr

shell2$ rm xx

runat$ cat myattr
cat: myattr: cannot open [No such file or directory]

Also available in: Atom PDF