[Patch] #29984 Change file permission using octal numbers

Karl-Heinz Zimmer khz at kde.org
Thu May 15 18:39:41 BST 2003

On Thursday 15 May 2003 14:32, Dominik Seichter wrote:
> I wrote a patch to close the feature requested in bug #29984
> http://bugs.kde.org/show_bug.cgi?id=29984 .
> The patch adds a line edit to the permission page of the properties
> dialog. The user can enter any octal number in the line edit to change the
> file permission like he would do when using chmod. Additionally the file
> permissions selected by the user are shown as an octal number.

Did I understand this correctly?

*  user selects the permissions my mouse click --> octal number changes

*  user changes octal number --> visual permissions change accordingly

If that's what you have done, I like it: this would lead to the user
understand what each of the bits means and how the octal code can be
used to quickly set permissions.

In the beginning she would just set them by mouse, as it was before,
but after a while she perhaps would notice how much faster it would
be by entering the ocal code - which she had learned on-the-fly by
seeing your lineedit showing the octal digits corresponding to her

Sounds like a good idea to me: Adds more flexibility without /forcing/
the user to follow the new or the old way.  :-)

Karl-Heinz Zimmer, Senior Software Engineer, Klarälvdalens Datakonsult AB
<mailto:khz at klaralvdalens-datakonsult.se>            <mailto:khz at kde.org>
 "For every complex problem there is an
  answer that is clear, simple, and wrong."  H. L. Mencken, 1880 - 1956

More information about the kde-core-devel mailing list