W2K profile creation in samba_2_2

Axel Thimm Axel.Thimm at physik.fu-berlin.de
Wed Feb 21 17:02:45 GMT 2001


On Wed, Feb 21, 2001 at 06:17:14AM -0800, MCCALL,DON (HP-USA,ex1) wrote:
> Perhaps I misunderstand: With create mode =640 and directory mask = 0750 I
> would expect the created files to have permissions of -rw-r-----, and the
> directories to have permissions drwxr-x---.  Is this what you are seeing, or
> did you mean that the permissions for the directories end up looking like
> drw-r-----????

This is how it looks like:
oberon(9):~/profile> ls -ltr
total 538
-rw-r-----   1 thimm    ag-linke   180256 Feb  6 05:20 USER.DAT
-rw-r-----   1 thimm    ag-linke      192 Feb 15 21:08 ntuser.ini
drw-r--r--   2 thimm    ag-linke     8192 Feb 19 14:45 Vorlagen/
drw-r--r--   2 thimm    ag-linke     8192 Feb 19 14:45 SendTo/
drw-r--r--   3 thimm    ag-linke     8192 Feb 19 14:45 Startmenü/
drw-r--r--   2 thimm    ag-linke     8192 Feb 19 14:46 Recent/
drw-r--r--   2 thimm    ag-linke     8192 Feb 19 14:46 Netzwerkumgebung/
-rw-r-----   1 thimm    ag-linke   262144 Feb 19 14:46 NTUSER.DAT
drw-r--r--   3 thimm    ag-linke     8192 Feb 19 14:46 His6/
-rw-r-----   1 thimm    ag-linke     1024 Feb 19 14:46 ntuser.dat.LOG
drw-r--r--   4 thimm    ag-linke     8192 Feb 19 14:46 Favoriten/
drw-r--r--   4 thimm    ag-linke     8192 Feb 19 14:46 Desktop/
drw-r--r--   2 thimm    ag-linke     8192 Feb 19 14:46 Druckumgebung/
drw-r--r--   2 thimm    ag-linke     8192 Feb 19 14:46 Cookies/
drw-r--r--   3 thimm    ag-linke     8192 Feb 19 14:46 Eigene Dateien/
drw-r--r--   4 thimm    ag-linke     8192 Feb 19 14:46 Anwendungsdaten/

I also do not understand, why there are at all permissions set for "other",
when both masks do not permit it. The directory itself and its parent (my
home) have permissions 
oberon(10):~/profile> ls -ld . ..
drwxr-x--x  14 thimm    ag-linke     8192 Feb 19 14:46 ./
drwxr-x--x  70 thimm    ag-linke     8192 Feb 21 17:53 ../
where the permissions of profile were set by smbd, as smbd created it in the
first place (but might have inherited permissions).
 
> If you mean the last, then it is possible that what you are seeing
> is that the umask on the UNIX side is set to do this.

No, my umask ist "standard" 022 (bits stripped off). And I can observe smbd
creating the dirs with sensefull permissions and then stripping the execute
bits away.

Thanks, Axel.
-- 
Axel.Thimm at physik.fu-berlin.de




More information about the samba-ntdom mailing list