[Samba] Permissions look different from Windows (cygwin & SAMBA)
than from Unix
jra at samba.org
Fri Aug 29 18:48:07 GMT 2003
On Fri, Aug 29, 2003 at 06:22:25PM +0000, Deirdre C. Donovan wrote:
> Hi, folks:
> One of my developers brought a SAMBA/ClearCase permissions issue to my
> attention for which I have no visibility. Perhaps someone has run across
> this before, and could enlighten us?
> We are using ClearCase 5 on SunFire 880 vob servers, SAMBA 2.2.
> Developer creates file in unix vob, using unix view, from unix machine,
> Developer creates file in unix vob, using unix view, from windows machine
> (cygwin & SAMBA), testfile_unix_text
> The developer's umask is 022
> Immediately after creation, from the unix window, the permissions look like
> this on the view private files.
> -rw-r--r-- 1 gcote vpgrp 14 Aug 14 14:38 testfile_unix.txt
> -rw-r--r-- 1 gcote vpgrp 17 Aug 14 15:00 testfile_win.txt
> Immediately after creation, from the windows machine via SAMBA, the
> permissions look like this on the view private files.
> -rw-rw-r-- 1 gcote vpgrp 14 Aug 14 14:38 testfile_unix.txt
> -rw-rw-r-- 1 gcote vpgrp 17 Aug 14 15:00 testfile_win.txt
If you're using Cygwin the algorithm it uses to display
permissions is different from the one that Samba uses to
I'm not sure if Cygwin will read the ACLs and create a perms
list from there, but Samba is designed to return a perms
list for the Windows ACL editor to display, not Cygwin. Cygwin
has to read that ACL list and attempt to interpret it whether
it comes from a Windows server or Samba server. This probably
explains the differences you see here.
More information about the samba