hi

damn!

i'm going crazy...

files created in the shell (bash) also get -x'ed

example again:

humanpdc:~ # getfacl /data/test/home/
getfacl: Removing leading '/' from absolute path names
# file: data/test/home
# owner: test
# group: users
user::rwx
group::---
other::---
default:user::rwx
default:group::---
default:mask::rwx
default:other::---


humanpdc:~ # touch /data/test/home/test



humanpdc:~ # getfacl /data/test/home/test getfacl: Removing leading '/' from absolute path names # file: data/test/home/test # owner: root # group: rootgroup user::rw- group::--- mask::rw- other::---

*argh*

what's this?

can anybody help me although it's not really smb related?

thx³


Dariush Forouher schrieb:
On Fri, 13 Feb 2004, Michael Gasch wrote:


unfortunately this was not the problem though :(


No, I think so as well. The umask setting only can take away permission
bits, but it can't set new ones. Beside of that AFAIK Samba doesn't use
an umask setting inherited from the parent process (and even if it would
certenly be overwritten by the "create mask" setting).

The problem I observed happens when creating files through Samba. Creating
files from native Linux works (at least here) exactly as I'm expecting it
to work.


with attention to "default:user::rwx"
why is it automatically set?


AFAIK this is the default behaviour of the ACL implementation of Linux.
The first time when setfacl is used these three defaults ACEs are
automatically added with the same permissions of their non-default peers.


and of course: on any file created in install owner just gets rw-, but
my mask isn't recalculated (which is fine)


Not for me! I don't like it if ordinary files have the x-bit set, which
will happen if mask isn't shortened to rw-, like Samba does it at the
moment!

ciao
Dariush


--



"Matrix - more than a vision"


**************************************************
                 Michael Gasch

- Central IT Department -

Max Planck Institute for Evolutionary Anthropology
Deutscher Platz 6
04103 Leipzig

Germany
**************************************************

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

Reply via email to