Hi,
The mode is the permission mode the file will have once it is created, it is
specified in octal.
>From man chmod:
A numeric mode is from one to four octal digits (0-7), derived by
adding up the bits with values 4, 2, and 1. Any omitted digits
are assumed to be leading zeros. The first digit selects the set
user ID (4) and set group ID (2) and save text image (1)
attributes. The second digit selects permissions for the user who
owns the file: read (4), write (2), and execute (1); the third
selects permissions for other users in the file's group, with the
same values; and the fourth for other users not in the file's
group, with the same values.
Alexander Beck wrote:
> Thanks ver y much for the help. After all I found it out by myself by
> reading again the man page of smb.conf :-).
>
> Does anybody know where to find an exact description of the create mode
> options like 0777 or 0755 ? I just read things like bit mask and so on.
>
> Thanks Alex
>
> >Hi,
> >
> >There is a create mask and mode option in the configuration file that will
> set
> >the permissions for new files.
> >For example, if you want to let everyone have read and write access to all
> >created files:
> >
> >(smb.conf)
> >[fullaccessshare]
> > comment = Share to which everyone can read and write
> > public = no
> > writeable = yes
> > create mode = 0777
> >
> >Or you can make the share public, and only allow guest users to connect, this
> >will force all files to belong to the owner of the samba process, so everyone
> >has that effective access.
> >
> >Hope it helps,
> >--
> >Andre' Miller
>
--
Andre' Miller
SNS Consultants WWW: http://www.snscon.co.za/
Tel: +27 21 595 4506 Email: [EMAIL PROTECTED]
Fax: +27 21 595 4505 Cell: +27 82 896 4406