Try using the "force create mode" parameter.
Regards,
Tim
> Tim Boorman
> UNIX Systems Support
> Lusis Limited, Technology Drive, Bridgend Science Park, Bridgend,
> United Kingdom CF31 3UJ
> Extension: 44966
> Direct Line: +44 (0)1656 765966
> Mobile: +44 (0)468 647495
> Email: boorman.tim@lusis.com
>
>
> -----Original Message-----
> From: samba@samba.anu.edu.au [SMTP:samba@samba.anu.edu.au]
> Sent: 06 October 1997 21:24
> To: Multiple recipients of list
> Subject: SAMBA digest 1445
>
> Date: Mon, 6 Oct 1997 17:37:57 +0100 (BST)
> From: Bishop <se311309@cr10m.staffs.ac.uk>
> To: samba@samba.anu.edu.au
> Subject: preserving UNIX file permissions
> Message-ID:
> <Pine.GSO.3.96.971006173423.5402J-100000@student.soc.staffs.ac.uk>
>
> Hi, I have a small household network and I am providing access to home
> directories on the server via Samba, so that we can edit files from
> the
> other PCs even if they are in win95. One annoying thing however is
> that
> every time a file is edited and then saved it's permissions are set to
> whatever the share's create mask is set to.
>
> This wouldn't be such a problem, but it seems that even with create
> mask > 777 I can't get any files to be created with group or other
execute
> permission. This is playing havoc for people who want to edit their
> perl
> CGI scripts from Windows, as they then have to log into the server
> anyway
> to chmod them back to 755 or whatever.
>
> Is there a way to fix this? Is it obvious, and I just haven't read
> the
> right bits of the manual? Or am I misunderstanding some basic
> principle
> of Samba?
>
> Hope you can halp!
>
> Andy
>