[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [K12OSN] apache and student websites



Paul's got it.

That's probably one of the trickier aspects of using Samba--dealing with
file & directory rights between the Unix & Windows worlds.  This chapter
from O'Reilly's _Using Samba_ book was very helpful in my quest to mesh the
two schemes:

http://www.oreilly.com/catalog/samba/chapter/book/ch05_03.html

Of particular interest is figure 5.7:
http://www.oreilly.com/catalog/samba/chapter/book/ch05_03.html#ch05-56404

I had an interesting journey in my quest to get Samba to act as a PDC in a
small office with Windows workstations.  Getting rights to set properly on
newly created files by default in the Samba shares was one of the issues
that had to be worked out (sort of what you are seeing).

Just had to get it all sorted out in smb.conf, once I got that down it
worked perfectly...

James

----- Original Message -----
From: "Paul Nelson" <pnelson riverdale k12 or us>
To: "Stephen Wagner, District Tech. Coord." <wagners danps csw net>
Cc: <k12osn redhat com>
Sent: Friday, March 01, 2002 10:19 AM
Subject: Re: [K12OSN] apache and student websites


> What OS is Pagemill running on? If you're using Windows and Samba, then
> the solution is pretty easy. I made a new share just for the web folders
> (public_html in each users folder) in the smb.conf file like this:
>
> [webfiles]
>    comment = User Webfolders
>    path = /home/%u/public_html
>    browseable = no
>    read only = no
>    preserve case = yes
>    short preserve case =  no
>    force create mode = 0775
>    force directory mode = 0775
>
> The last two lines will give you the right permissions.
>
> Mount this share as the "w:" drive and train the kids to edit and
> publish through this share instead of their home folder and it will
> work.
>
> ;-) Paul
>
> On Fri, 2002-03-01 at 06:53, Stephen Wagner, District Tech. Coord.
> wrote:
> > Question..
> >
> > I have apache running and have it set up so that students can have their
> > own website.  ex:
> > fs1.danps.csw.net/~student
> >
> > anyway, the students are using adobe pagemill 3.0 to make their
websites,
> > but when they save their pages, the rights to the page are changed from
> > 0755 to -rw-rw---- I use chmod 755 to get it working again, but when
they
> > modify the page and save it, it changes back.  can anyone please help
me?
> >
> > Stephen Wagner
> > District Technology Coordinator
> > Danville Public Schools
> > Danville, AR  72833
> >
> >
> >
> > _______________________________________________
> > K12OSN mailing list
> > K12OSN redhat com
> > https://listman.redhat.com/mailman/listinfo/k12osn
> > For more info see <http://www.k12os.org>
> --
> ======================================================================
> Paul Nelson                                pnelson riverdale k12 or us
> Riverdale School..............11733 SW Breyman Ave. Portland, OR 97219
> (503)636-4511......fax(503)635-6342.....http://www.riverdale.k12.or.us
>
> =====================================================================






[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]