On Mon, 2006-07-03 at 06:02 -0400, Lee Wiggers wrote:
> On Sun, 02 Jul 2006 18:57:35 -0500
> Bobby Sanders <[EMAIL PROTECTED]> wrote:
> 
> > On Mon, 2006-06-26 at 15:29 -0500, Bobby Sanders wrote:
> > > Running Linux.  OOo2 ignores the file and directory permissions as set
> > > by my operating system.  It just sets them the way it wants them.  How
> > > can I cause OOo2 to honor the permission structure set by my operating
> > > system?
> > > 
> > > I don't think that OOo1 suffered from this cussed problem.
> > > 
> > > Thanks,
> > > 
> > > Bobby Sanders
> > 
> > If you followed this thread, you realize that this group got this
> > problem narrowed down to the fact that different shells start the
> > command line operations and the window operations.  I then carried this
> > question over to the Ubuntu mailing list.
> > 
> > Probably the best way to solve this problem is by using pam.  However, a
> > simple solution was offered.  I simply created the file ~/.gnomerc
> > containing the line "umask  0007" and everything works beautifully, now.
> > 
> > Thanks a million.
> > 
> > Bobby Sanders
> > 

>  
> Well it now sounds clear enough, but I must be missing
> something because 2.0.2 still saves everything rw-rw-r.
> 
> Can someone please condense this thread with a poor
> newbie in mind? 

> TIA
> 
> Lee

Lee, the specifics depend on what distribution of Linux your are
running, what X-Window manager and what desktop program you are running.

I am running Ubuntu, metacity and gnome.

The top part of my ~/.bashrc file is:

# ~/.bashrc: executed by bash(1) for non-login shells.
# see /usr/share/doc/bash/examples/startup-files (in the package
bash-doc)
# for examples
umask   0007
....

I also, in an abundance of caution & stupidity, put it in my
~/.bash_profile file. Top part:

# ~/.bash_profile: executed by bash(1) for login shells.
# see /usr/share/doc/bash/examples/startup-files for examples.
# the files are located in the bash-doc package.

umask   0007
...

But the real secret for getting programs started by the GUI (gnome in my
case) was to create the file, ~/.gnomerc.  Here is mine.

# ~/.gnomerc Sourced from /etc/X11/Xsession.d/55gnome-session_gnomerc
umask   0007

Reboot, start OOo from menu, the files created by it have permissions
-rw-rw---- and directories created by it have permissions drwxrwx---.

Of course you should change the umask to meet your particular situation.
This may not work for you.  If you are running a different distribution,
window manager and/or desktop GUI.  If you will share your specifics,
perhaps someone can help.

Bobby

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to