Equal permissions for files and dirs (folders)

Sunny Singh SSingh at CenturyDie.com
Fri Jun 19 13:10:20 GMT 1998


At Wed, 17 Jun 1998 20:12:20 +0200 You wrote: 
>Is there any way to have equal permissions for created files and
>folders on samba's share?
>This is what I have in my smb.conf file:

------------------
>[izmenjava]
   comment = Public z moznostjo pisanja
   path = /home/izmenjava
   browseable = yes
   public = yes
   writable = yes
   printable = no
   create mode = 0777
>;   create mode = 0664

-------------------------

>Created permissions:

>files: -rwxrw-rw-	(766) WRONG
>dirs/folders: drwxr-xr-x (755) WRONG

>I use samba 1.9.18p4 and RedHat Linux 4.0.

>I would be wery happy if you would help me solving this problem.

>	Zoran Tkavc

Try Using 
	force create mode = 0777
	 force directory mode = 0777
This will always force these permissions irrespective of current set
umask.


More information about the samba mailing list