Re: Speed improvement when changing file permissions?



On Fri, 2004-03-12 at 00:31, Manuel Amador (Rudd-O) wrote:
> El jue, 11-03-2004 a las 03:29, Alexander Larsson escribió:
> > On Thu, 2004-03-11 at 06:05, Ryan McDougall wrote:
> > > Hi,
> > > 	I recently had some strange permissions on a bunch of music files. I
> > > thought I would fix them by selecting them all, and setting the correct
> > > permissions via nautilus. Un-selecting partially selected check boxes,
> > > selecting un-selected boxes, etc., is a *very* slow procedure (approx 30
> > > seconds per click). Doing a similar operation via command line took only
> > > a second.
> > > 
> > > 	I was wondering if the operation could be sped up by buffering change
> > > requests by maintaining a mask of composite changes and only applying
> > > after a timeout, or upon the dialogue being closed. Do usability or
> > > other pitfalls lie that way?
> > 
> > I'm sure its possible, with a bit of care taken. Anyone want to try? (We
> > should probably use a timeout, not wait until the dialog is closed, as
> > that is what instant apply should do)
> 
> And prevent the dialog from being closed while an apply op is
> executing... perhaps graying out the dialog and showing a text label
> saying "Applying permissions ... dialog will close when it's
> finished..."
> 
> what do you say?

Martin Wehner recently brought that up. I think the solution i posted
there is better (hide the window, but keep doing the apply until its
done).

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 Alexander Larsson                                            Red Hat, Inc 
                   alexl redhat com    alla lysator liu se 
He's a benighted zombie sorceror on his last day in the job. She's a 
man-hating bisexual pearl diver with her own daytime radio talk show. They 
fight crime! 




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