On Fri, Nov 12, 1999 at 04:58:15PM +0100, Boris Lutz wrote:
| I want my bookmark file to be group readable but for security reasons I
| have a umask of 077 thus new files will be rwx------ or rw------- however
| if a file is just edited not created it should keep it's permissions.
| When I set the permissions of my bookmarks.html to 640 (rw-r-----) it
| always changes back to 600 (rw-------) whenever I edit the bookmarks in
| netscape.
I don't have my bookmarks file itself readable.
Instead, I have a program to unpack it into a set of HTML pages.
In a permission preserving way, of course.
I wrote the code to unpack subcategories to a flat file
subcategory.html
unless the directory "subcategory" exists, in which case it unpacks to
subcategory/index.html
with subsubcategories in
subcategory/subsubcategory.html
unless the directory subsubcategory exists...
Thus you can
- easily control the chunks into which the bookmarks are split
- easily control access by changing the permissions on the files
(or the directories containing categories, so as to affect
an entire subtree)
You can see my bookmarks online at my homepage and observe that you
can't get into the Them/Me/Private subtree (I hope :-).
I just rebuild nightly from a make command in a cron job.
--
Cameron Simpson, DoD#743 [EMAIL PROTECTED] http://www.zip.com.au/~cs/
Adalio Sanchez, a manager for IBM's ThinkPad division, said that one
popular spread sheet consumes nearly 100 percent of notebook power when
idle.
--
To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
as the Subject.