[Sysadmins] ALS4.0, Samba & create mask

Boris Savelev =?iso-8859-1?q?boris=2Esavelev_=CE=C1_gmail=2Ecom?=
23 15:25:56 MSK 2009


  UNIX Extensions  linux 
echo 0 > /proc/fs/cifs/LinuxExtensionsEnabled

23  2009 . 15:00  Vladimir Istrati <bob  kp.md> :
> !
>
> .  ALS4.0  Samba.   ( ) 
> ALD 4.0 (branch 4.0) - ALD 4.1 (branch 5.0 -   ).
>
>    .
>
>   smb.conf:
> [global]
>    dos charset = CP866
>    workgroup = -
>    netbios name = -
>    server string = -
>    interfaces = 192.168.1.151
>    bind interfaces only = Yes
>    password server =
>    log file = /var/log/samba/log.%m
>    max log size = 50
>    acl compatibility = winnt
>    server signing = auto
>    printcap name = cups
>    preferred master = No
>    domain master = No
>    dns proxy = No
>    ldap ssl = no
>    admin users = bob
>    create mask = 0666
>    force create mode = 0666
>    directory mask = 0777
>    force directory mode = 0777
>    use sendfile = Yes
>    hide files = /.*/DesktopFolderDB/TrashFor%m/resource.frk/.AppleDouble/
>
>
> [Temp]
>    path = /home/Data/Home/Temp
>    read list = @maker, @rekl, @newsm
>    write list = @maker, @rekl, @newsm
>    read only = No
>
>  .
>
>  ,  directory mask  create mask   
> [global]  [Temp] -  .
>
>  Win   Mac 8.6 (  netatalk)    create
> mask,  directory mask (    force ... :)) )
>
>   (  -      Mac 8.6  MacOSX (10.5.6
> Leopard))  MacOSX -    0755   0644.
>
>   :
>
> Konqueror, Finder (MacOSX) :
>
>   :
>   (): 0644
>   (Temp): 0644
>
>  mc:
>       " ": 0644
>  : 0622
>
> cp:
> [bob  bob Desktop]$ ls -l | grep rsync
> -rw-r--r-- 1 bob bob   147  21 2008 rsync
>
>
> [bob  bob Temp]$ cp /home/bob/Desktop/rsync rsync
> [bob  bob Temp]$ ls -l | grep rsync
> -rw-rw-rw- 1 bob bob   147  23 2009 rsync
>
> C MacOSX (cp):
>
> mac-mac-20:~ mac$ cd Desktop/
> imac-mac-20:Desktop mac$ ls -l | grep fonts1
> -rw-r--r--@ 1 mac staff   35082 Mar 23 11:26 fonts1.tiff
> imac-mac-20:Desktop mac$ cp fonts1.tiff /Volumes/Temp/fonts1.tiff
> imac-mac-20:Desktop mac$ ls -l /Volumes/Temp/fonts1.tiff
> -rwx------@ 1 mac staff 35082 Mar 23 2009 /Volumes/Temp/fonts1.tiff
>
>
>  :
> imac-mac-20:Desktop mac$ uname -a
> Darwin imac-mac-20.local 9.6.0 Darwin Kernel Version 9.6.0: Mon Nov 24
> 17:37:00 PST 2008; root:xnu-1228.9.59~1/RELEASE_I386 i386
>
>     ?
> _______________________________________________
> Sysadmins mailing list
> Sysadmins  lists.altlinux.org
> https://lists.altlinux.org/mailman/listinfo/sysadmins
>



-- 
 ,  


Sysadmins