Re: setdirowner: chown 16777216/-1


Subject: Re: setdirowner: chown 16777216/-1
From: Mac Conin (mconin@euc.de)
Date: Sun Apr 01 2001 - 14:32:59 EDT


hmm,

i did it and now unser nobody is capable copying files to the server,
but only new files.
Replacing files generates an error (file is already in use). No errors
are reported in the logs.

Any idea?

Alistair Riddell wrote:
>
> that would probably do, but changing "O_RDWR" to "mode" would probably be
> better.
>
> On Sun, 1 Apr 2001, Mac Conin wrote:
>
> > ok, you mean:
> >
> > +++ ./libatalk/adouble/ad_open.c Tue Mar 13 08:13:38 2001
> > line 617 ff.
> > if (adflags & ADFLAGS_HF) {
> > if (ad_hfileno(ad) == -1) {
> > ad_p = ad_path( path, adflags );
> > - admode = ad_mode( ad_p, O_RDWR );
> > + admode = ad_mode( ad_p, 0666 );
> > ^^^^
> >
> >
> > is only needed to be changed?
> >
> >
> >
> > Alistair Riddell wrote:
> > >
> > > On Fri, 30 Mar 2001, Mac Conin wrote:
> > >
> > > > by the way : is there a stable system running netatalk with a bundle
> > > > of mac-users hooked up not knowing what linux is? *bg*
> > >
> > > Sure, I have hundreds of users running off two netatalk servers. I doubt
> > > if any of them know what Linux is...
> > >
> > > running netatalk 1.5pre5 with libatalk/adouble/ad_open.c patched, on a
> > > Slackware linux box, with kernel 2.4.3. hardware is dual PIII 833, 1GB
> > > ram, 10kRPM scsi disks and Acenic gigabit ethernet card.
> > >
> > > I also use netatalk to netboot Apple Macs. Whereas Apple recommend (I
> > > think) 20 machines per server using their hardware and MacOS X servre, I
> > > have about 150 machines on a single server with no problems at all. Let me
> > > know if you want to know how to do this...
> > >
> > > --
> > > Alistair Riddell - BOFH
> > > IT Support Department, George Watson's College, Edinburgh
> > > Tel: +44 131 447 7931 Ext 176 Fax: +44 131 452 8594
> > > Microsoft - because god hates us
> >
> >
>
> --
> Alistair Riddell - BOFH
> IT Support Department, George Watson's College, Edinburgh
> Tel: +44 131 447 7931 Ext 176 Fax: +44 131 452 8594
> Microsoft - because god hates us

-- 
--schnipp-- 

mit freundlichen grüssen

----------------------------------------------------------- Mac Conin EUC Online Service GmbH Geschäftsführer Taubengasse 9 mconin@euc.de D 50676 Koeln http://www.euc.de HRB Köln 32038 tel : +49-221-923 27 33 fax : +49-221-239 651 ----------------------------------------------------------- EUC sponsort Clean up Cologne - eine Iniative der IHK Köln, der Abfallwirtschaftsbetriebe Köln (AWB) und dem Grünflächenamt der Stadt Köln. http://www.clean-up-cologne.de



This archive was generated by hypermail 2b28 : Sun Oct 14 2001 - 03:04:36 EDT