[Top][All Lists]

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

Re: [Plash] Experimenting with Plash 1.15 -- GTK Apps

From: Mark Seaborn
Subject: Re: [Plash] Experimenting with Plash 1.15 -- GTK Apps
Date: Sat, 18 Mar 2006 15:27:37 +0000 (GMT)

Toby Murray <address@hidden> wrote:

> first something offtopic just for some negligible comedic value: plash
> could also stand for practical least authority starts here ;)

I like that!  I decided a while ago that Plash should no longer stand
for "the principle of least authority shell", because the shell is no
longer the main interface, and I have renamed the shell to pola-shell.
On the Web site I am now using "tools for practical least authority"
as a title, but maybe I could use your backronym.

About your shell script:

> #!/bin/sh
> # a quick and dirty hack but hey...
> function grant_recursive_write_access () {
>   for dir in $( find $1 -type d ); do echo -n "-fw $dir "; done
> }
> function grant_recursive_read_access () {
>   for dir in $( find $1 -type d ); do echo -n "-fl $dir "; done
> }

You shouldn't need to do this.  Just doing "-f $dir" (or "-fw $dir")
should grant read access (or read/write access) to $dir and all its

The only difference is that doing "-fl $path" recursively for every
object $path in $dir will grant access to the destinations of all
symlinks that $dir contains.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]