-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Using Swat, click the Advanced View for your share, and put the user you want 
in "force user" and the group you want in "force group".

I think.

:-)  

Ian

On Monday 24 March 2003 10:51 am, Shawn Grover wrote:
> The recent thread on file permissions reminded me I was going to ask my
> permissions question....
>
> I have setup a Samba share to my root HTML folder for Apache.  I need to
> transfer files/folders into there from my window's PC, but when I do, the
> owner/group of the created folders/files is the username I used to access
> the Samba share.  This means that the public can't view the web pages I'm
> putting in there.  If I manually change the owner/group of the
> files/folders to the Apache group, things work as expected (i.e. I can view
> the pages in my browser).
>
> Is there anyway to configure Samba to ALWAYS create new folders/files with
> a given owner/group?  I've tried using Swat and Webmin, and have set the
> security masks, but am seeing no difference.
>
> Suggestions?
>
> Thanks in advance.
>
> Shawn
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE+f0ZqSiY+RXI7JS4RAqlXAKCBWe+A9LlqBADWRaf54eMhG7+7MQCgijLz
aV4v2IRwitM4C2SiYfMHOXo=
=8bKm
-----END PGP SIGNATURE-----

Reply via email to