[Patch] #29984 Change file permission using octal numbers

Tim Jansen tim at tjansen.de
Fri May 16 19:38:12 BST 2003

On Friday 16 May 2003 18:14, Aaron J. Seigo wrote:
> if anything, the dialog should be simplified. 

I have a proposal for a re-design. You can find a .ui and png here:


The files show four different replacements for the "Access Permissions" frame 
of the original properties dialog. The content depends on the type of the 
file (executable, directory) because the flags have different meanings for 
different file types.

The upper left frame is intended for regular files that are not executable. 
All combo boxes have only three entries: "Forbidden" (---), "Can Read" (r) 
and "Can Read and Write" (rw). If a special flag is set or an unusual 
combination is used (like w), the advanced mode is used (lower right). When 
you click on "Is Executable" the content of the combo boxes will be converted 
to those on the right side. The transitions are "---"->"---", "r"->"rx" and 
"rw"->"rwx". When the user clicks on "Advanced Permissions" a dialog with the 
old bit matrix appears, and possibly the octal value. 

The upper right frame is an example for executable files. The combo boxes have 
three entries: "Forbidden" (---), "Can Execute" (rx) and "Can Execute And 
Modify" (rwx). When "Is Executable" is unmarked all x marks will be removed, 
and the content of the combo box changes to those of the upper left frame.

The lower left frame shows a regular directory. The combo boxes have three 
entries: "Forbidden" (---), "Can View Content" (rx) and "Can View and Modify 
Content" (rwx). Additionally there is a checkbox for setting the sticky flag. 

The upper right frame shows the properties for a file with unusual permissions 
like "wx"or "w" or anything with a special flag set. The user can only use 
the Advanced Permissions. If the user changes the flags back to a supported 
combination, she will get the regular permissions frame.

If the user has no right to modify a file the comboboxes and the checkbutton 
will be disabled, and the label of the lower right frame says something like 
"You are not allowed to change the permissions". 


More information about the kde-core-devel mailing list