Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 13 Mar 2010 20:40:57 -0500
From:      jhell <jhell@DataIX.net>
To:        Alexander Zagrebin <alexz@visp.ru>
Cc:        freebsd-fs@freebsd.org, freebsd-current@freebsd.org
Subject:   Re: ZFS allows deletion of files in a sticky directory
Message-ID:  <alpine.BSF.2.00.1003131820040.52848@qvfongpu.qngnvk.ybpny>
In-Reply-To: <3A28259E0677447BBFDECFCCDBD97FD5@vosz.local>
References:  <3A28259E0677447BBFDECFCCDBD97FD5@vosz.local>

next in thread | previous in thread | raw e-mail | index | archive | help

On Fri, 19 Feb 2010 18:23, alexz@ wrote:
> I have found that directory entry may be deleted from a ZFS directory
> with the sticky bit, if "the entry is a plain file and you have write
> access"
> (this is citation from a comments in zfs_dir.c)
> But this behavior isn't described in the sticky(8) and isn't allowed on a
> UFS.
> The attached patch provides the UFS-like behavior of a sticky directories on
> a ZFS.
> Is this bug or feature?
>
>

Perhaps you have removed a directory on a share that is managed through 
Samba and somehow you have had a ACL entry that allowed you to remove that 
directory ?.

This patch is unsuitable for implementation. It effectively removes ACL 
access for determining writes to a object that you have ACL write access 
to.

Regards,

-- 

  jhell




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.BSF.2.00.1003131820040.52848>