ports/115136: samba doesn't work with recycle vfs module and share residing on GBDE with acl enabled
Eugene M. Zheganin
emz at norma.perm.ru
Thu Aug 2 11:30:03 UTC 2007
>Number: 115136
>Category: ports
>Synopsis: samba doesn't work with recycle vfs module and share residing on GBDE with acl enabled
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Thu Aug 02 11:30:02 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator: Eugene M. Zheganin
>Release: 6.2-RELEASE-p5
>Organization:
Norma JSC.
>Environment:
FreeBSD wader.hq.norma.perm.ru 6.2-RELEASE-p5 FreeBSD 6.2-RELEASE-p5 #2: Mon Jun 4 12:48:07 YEKST 2007 emz at ns.hq.norma.perm.ru:/usr/obj/usr/src/sys/WADER i386
>Description:
Samba doesn't work with recycle vfs module and share residing on GBDE.
I use samba-3.0.24,1, from ports.
When recycle repository doesn't exist, I get the following errors in logs:
[2007/08/02 17:13:11, 1] modules/vfs_recycle.c:recycle_create_dir(284)
recycle: mkdir failed for .recycle with error: Permission denied
When created by hands I get no errors when deleting files from share, but they are missing in recycle directory.
I've tested the same installation in the following ways:
- tested the non-acl non-gbde resource (recycle does work)
- tested the non-acl gbde resource (recycle does work)
- tested acl-enabled gbde resource with external recycle repository (on non-acl-enabled ordinary fs - doesn't work with exactly same behaviour).
>How-To-Repeat:
Create GBDE resource, attach it, enable acls on it, start using as samba resource in the following way:
===Cut===
[protected]
create mask = 600
directory mask = 700
comment = Misc. docs
path = /opt/protected
guest ok = no
browseable = yes
writeable = yes
vfs objects = recycle
===Cut===
>Fix:
Disabling acls on fs is supposed to be working. Though I cannot test this yet.
Follow-ups may follow.
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list