Project

General

Profile

Actions

Bug #4593

open

nfs3 clients can write underneath child zfs folder

Added by Chip Schweiss over 9 years ago. Updated over 9 years ago.

Status:
New
Priority:
Normal
Assignee:
Category:
nfs - NFS server and client
Start date:
2014-02-11
Due date:
% Done:

0%

Estimated time:
Difficulty:
Medium
Tags:
needs-triage
Gerrit CR:
External Bug:

Description

If you create a hierarchy of zfs folders all shared via NFSv3 and a client only mounts the parent folder it can write to the children folders even if there is a ZFS folder mounted on top of it.

When this happen the zpool will not import properly on a reboot because the child folder cannot be mounted on directory that is not empty.

It also causes failover problems in a HA environment.

NFSv3 should not allow writes in directories that have filesystems mounted on them or write into the child filesystem instead.

NFSv4 either blocks the writes with permission denied or follows the mounts if it has permissions.

Actions #1

Updated by Marcel Telka over 9 years ago

  • Category set to nfs - NFS server and client
  • Assignee set to Marcel Telka
Actions

Also available in: Atom PDF