Funny thing with ACL on Samba 2.2.0 (fwd)

Gerald Carter gcarter at valinux.com
Tue Jul 3 14:44:07 GMT 2001


[moved to samba-technical...]

Reis,

Can you try to reproduce this using the latest
SAMBA_2_2 CVS code?  Thanks.







cheers, jerry
 ---------------------------------------------------------------------
 http://www.valinux.com/     VA Linux Systems      gcarter at valinux.com
 http://www.samba.org/          SAMBA Team             jerry at samba.org
 http://www.plainjoe.org/                           jerry at plainjoe.org
 --"I never saved anything for the swim back." Ethan Hawk in Gattaca--

---------- Forwarded message ----------
Date: Tue, 3 Jul 2001 16:28:47 +0200
From: Ries van Twisk <riest at franksintl.nl>
Reply-To: ries at franksintl.nl
To: samba at lists.samba.org
Subject: Funny thing with ACL on Samba 2.2.0

Hi,

I'm currently experiancing a funny problem with ACL on my Debian Linux
system.
Samba : 2.2.0
Kernel version: 2.4.5
ACL version: 0.7.15
EA version: 0.7.13

I have a dir with a ACL default permision like this:
# file: home/office/quotes/FI-DH-1407-01
# owner: root
# group: quotes
user::rwx
group::rwx
group:adminquotes:rwx
mask:rwx
other:---
default:user::rwx
default:group::r--
default:group:adminquotes:rwx
default:mask:rwx
default:other:---


When I open Notepad and create a EMPTY file in the subdirectory the
permissions are set like this:
# file: home/office/quotes/FI-DH-1407-01/empty.txt
# owner: ries
# group: quotes
user::rw-
group::r--
group:adminquotes:rwx
mask:rwx
other:---

This is correct because my 'create mask' set set to 0640 in that share so the
above is expected on this directory. Also I don't have the 'inherit permissions'
on (unless it's on by default). Also no sticky bit is set on this directory.


When I open Notepad and create a file with some data (!=0 bytes) in the
subdirectory the permissions are set like this:
# file: home/office/quotes/FI-DH-1407-01/Full.txt
# owner: ries
# group: quotes
user::rw-
group::rwx
group:adminquotes:rwx
mask:rwx
other:---

Funny the group right are now set to rwx!!!

I did some experiments directly on the console and everything was ok, it
seems to me something I overlooked or a bug in the samba ACL code?

Is there anybody who can clear the sky? Or should I fill in a bug report?

Ries
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba





More information about the samba-technical mailing list