[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kfm-devel
Subject:    Re: GUI suggestions
From:       David Faure <faure () kde ! org>
Date:       1999-10-03 19:51:02
[Download RAW message or body]

On Sun, Oct 03, 1999 at 03:05:53PM -0400, Dawit Alemayehu wrote:
> On Sun, 03 Oct 1999, David Faure wrote:
> > On Tue, Sep 28, 1999 at 08:06:08PM +0200, Thomas Zander wrote:
> > > On Sun, 26 Sep 1999, David Faure wrote:
> > > > On Sat, Sep 25, 1999 at 01:33:51PM +0200, Thomas Zander wrote:
> > > > > In a file-properties window (the one with the permissions tab)
> > > > > It is unclear what the effective permissions are for the user. 
> > > > > 
> > > > > Suggestion: 
> > > > > create a setting where the user can set his level-of-unix-expertise.
> > > > > if expert, show all sets (user/group/others) and highlight the appropriate ones.
> > > > > otherwise: show only the appropriate ones.
> > > > > 
> > > > > for example: file perms are:
> > > > > user    group   perms
> > > > > root    staff   rwxr-x--x
> > > > > 
> > > > > show rwx if user is root, 
> > > > > show r-x if user belongs to group staff otherwise
> > > > > show --x
> > > > 
> > > > This if fine for _showing_ permissions, but then how can you change permissions 
> > > > if you don't see them (in this example, how does root give write-permission to 
> > > > the staff group ?)
> > > > 
> > > Good one, 
> > > 
> > > Why not show the effective part as bold, i.e. user/group/other. 
> > > So when I inharit the rights of the group, make the word group bold. Maybe also
> > > the rights that come with it. 
> > 
> > Sounds good.
> > 
> > So the algo would be
> > 
> > if uid = owner-uid => "user" in bold
> > else if gid = owner-gid => "group" in bold
> > else "other" in bold
> 
> I still do not get this.
.. because you are talking of something different :))
Thomas and I were talking about showing which permissions
apply to the user. The algo above does it, and I think I'm going
to implement it.

You are talking about : can I or can't I change the permissions.
And that's a lot more complex I would say.
Doesn't it depend on the permissions on the current dir as well ? (not sure)

> I cannot effectively change the permission to these
> files even though I can, through the group permission, read/write them.
> Since I do not have ownership to change these permissions,  I fail to see why
> the items would be enabled or set bold.
because we were talking about showing, not changing.

> In order to show the effective permission for the user, I suggest we add
> another entry in the "General" tab as follows :
> 
> Permissions :  USER/GROUP/OTHER (Read/Write/Execute ...)
> 
> If we do not have any permissions
> 
> Permissions : NONE
> 
> Then we can rename the "Permissions" tab to Change Permissions" and display it
> iff the user has the ability to modify these settings.
> 
> What do you think ?
needs to be refined.
When can somebody change permissions on a file, generally ?

-- 
David FAURE
david@mandrakesoft.com, faure@kde.org
http://home.clara.net/faure/
KDE, Making The Future of Computing Available Today

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic