[dev] chmod support in gollem
Atif Ghaffar
aghaffar@developer.ch
Sun, 04 Mar 2001 18:05:37 +0100
Max Kalika wrote:
> > Anyone adding action: Change permission on Gollem?
> > If, not, I can.
>
> I was going to do this with ftp_site() if the server supports it. Still
> working out UI kinks.
Hi Mike.
What kind of UI are you working on?
A cheesy one with a lot of checkboxes or a simple one where the user can
type the mode?
I have just implemented the simple one , cause I needed it now. :). It
wasnt a lot of work.
Just copied RENAME_ITEMS to CHMOD_ITEMS in PHP
and renameItems to chmodItems in js.
I was about to start working on a cheesy version and then stopped a
while thinking.
There are couple of quirks.
1) some users dont know what a file mode is. So expecting them to enter
mode in a text box is difficult.
2) some users are even more dummier and dont know what to do with the
GUI owner,group,user X read, write, execute matrix.
They just wanted to change the mode to 755 of some cgi script as they
read in the REAME file without knowing what kind of
permissions are they setting.
So which UI? text only or fancy matrix?
Or a text+fancyMatrix where the matrix changes if you change the text or
the text changes if you change the matrix :)
Welcome to the Matrix.
--
Atif Ghaffar
Internet Development Manager
4unet AG/SA
-------------------------.
+41 78 787 51 45 ¦ voice
+41 24 441 09 03 ¦ fax
http://www.4unet.net ¦ www
http://atif.developer.ch ¦ homepage
atif.ghaffar@4unet.net ¦ email
Do you speak Unix?
>From max@the Date: Sun, 4 Mar 2001 16:29:23 -0800
Return-Path: <max@the-triumvirate.net>
Mailing-List: contact dev-help@lists.horde.org; run by ezmlm
Delivered-To: mailing list dev@lists.horde.org
Received: (qmail 60645 invoked from network); 5 Mar 2001 00:34:11 -0000
Received: from cx309195-b.santab1.ca.home.com (HELO zion.the-triumvirate.net) (24.21.86.136)
by horde.org with SMTP; 5 Mar 2001 00:34:11 -0000
Received: (from http@localhost)
by zion.the-triumvirate.net (8.10.2/8.10.2) id f250TOV13595
for dev@lists.horde.org; Sun, 4 Mar 2001 16:29:24 -0800
X-Authentication-Warning: zion.the-triumvirate.net: http set sender to max@the-triumvirate.net using -f
Received: from 24.16.85.200 ( [24.16.85.200])
as user max@imap.the-triumvirate.net by www.the-triumvirate.net with HTTP;
Sun, 4 Mar 2001 16:29:23 -0800
Message-ID: <983752163.3aa2dde3e7f03@www.the-triumvirate.net>
Date: Sun, 4 Mar 2001 16:29:23 -0800
From: Max Kalika <max@the-triumvirate.net>
To: dev@lists.horde.org
References: <3AA26A30.E8DF9355@developer.ch> <983723877.3aa26f6561a92@www.the-triumvirate.net> <3AA275E1.FDD7CEAE@developer.ch>
In-Reply-To: <3AA275E1.FDD7CEAE@developer.ch>
MIME-Version: 1.0
Content-Type: text/plain
Content-Transfer-Encoding: 8bit
User-Agent: Internet Messaging Program (IMP) 2.3.7-cvs
X-Originating-IP: 24.16.85.200
Subject: Re: [dev] chmod support in gollem
Quoting Atif Ghaffar <aghaffar@developer.ch>:
> Hi Mike.
I assume you mean me. :)
> What kind of UI are you working on?
Either an intermediate page with a bunch of checkboxes or a list of checkboxes
in-line. It really hasn't been discussed yet. I'll try a few things.
> A cheesy one with a lot of checkboxes or a simple one where the user can
> type the mode?
There will most likely be checkboxes. Why is this approach deemed "cheesy?" I
can safely say that no faculty user of mine will know what 0644 means.
> I have just implemented the simple one , cause I needed it now. :). It
> wasnt a lot of work. Just copied RENAME_ITEMS to CHMOD_ITEMS in PHP
> and renameItems to chmodItems in js.
Certainly a good approach for an avanced UI. Though I really don't like the
RENAME functionality as it is. Particularly because it is rather awkward for
moving files. The closest thing to drag/drop that the current GUI FTP clients
employ is a drop down list of directories in the current directory. (Just a
thought still). But as far as the mode changing functions, we'll see how much
real-estate we have in-line. If it becomes too busy, it will have to go on an
intermediate "confirmation page".
--mk23
>From chuck@horde.org Date: Sun, 4 Mar 2001 20:04:17 -0500
Return-Path: <chuck@horde.org>
Mailing-List: contact dev-help@lists.horde.org; run by ezmlm
Delivered-To: mailing list dev@lists.horde.org
Received: (qmail 61265 invoked from network); 5 Mar 2001 01:05:19 -0000
Received: from 208-59-178-62.c3-0.smr-ubr1.sbo-smr.ma.cable.rcn.com (HELO marina.horde.org) (208.59.178.62)
by horde.org with SMTP; 5 Mar 2001 01:05:19 -0000
Received: by marina.horde.org (Postfix, from userid 33)
id 60BF93CA6; Sun, 4 Mar 2001 20:04:18 -0500 (EST)
Received: from 192.168.0.104 ( [192.168.0.104])
as user chuck@marina.horde.org by marina.horde.org with HTTP;
Sun, 4 Mar 2001 20:04:17 -0500
Message-ID: <983754257.3aa2e611f4067@marina.horde.org>
Date: Sun, 4 Mar 2001 20:04:17 -0500
From: Chuck Hagenbuch <chuck@horde.org>
To: dev@lists.horde.org
MIME-Version: 1.0
Content-Type: text/plain
Content-Transfer-Encoding: 8bit
User-Agent: Internet Messaging Program (IMP) 2.3.7-cvs
Subject: Re: [dev] IMP Filters+LDAP
Quoting Jon Parise <jon@csh.rit.edu>:
> However, it might make more sense to use a separate storage container
> for filters (that's IMP-specific). That would give us more
> flexibility at the expense of more installation steps.
I'd prefer to keep using the prefs container; there are already enough steps in
our installation process, and once we start making exceptions like this, it
will be harder to justify keeping things in one place.
-chuck
--
Charles Hagenbuch, <chuck@horde.org>
"We have no fuel on board, plus or minus 8 kilograms." -A NASA scientist