denemo-devel
[Top][All Lists]
Advanced

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

Re: Possible TODO tasks for next release. (was Re: [Denemo-devel] Restru


From: Jeremiah Benham
Subject: Re: Possible TODO tasks for next release. (was Re: [Denemo-devel] Restructuring of the ObjectMenu/Notes)
Date: Mon, 29 Sep 2008 11:37:30 -0500

On Sun, 2008-09-28 at 18:32 +0100, Richard Shann wrote:
> On Sun, 2008-09-28 at 11:25 -0500, Jeremiah Benham wrote:
> > > > install, however the files are not readable except by root
> > > > -rw-r--r-- 1 root staff 2017 2008-09-27 22:15 ReadingNoteNames
> > > > So I guess they will not be loadable by the user running the
> > > > application...
> > > > 
> > > I've checked in the option  to get more menu items
> > > from /usr/local/share/denemo/actions/menus/... by right clicking on
> > a
> > > menu item. It does not work with the present permissions, as
> > expected.
> > 
> > I thought users were only allowed write permission to their home
> > directory by default. I am thinking that most distos are not going to
> > like this idea. 
> 
> Sorry - I sowed confusion by pasting in the wrong bit of the ls command.
> We do not want write-permission, it is the ability to read the files
> that is lacking, due to the directory permissions:
> 
> 
> ls -ld /usr/local/share/denemo/actions/menus/MainMenu/
> 
> drwxr-s--- 9 root staff 4096 2008-09-27
> 22:15 /usr/local/share/denemo/actions/menus/MainMenu/
> 
> Compare this with templates for example
> 
> ls -ld /usr/local/share/denemo/templates/jazz 
> 
> drwxr-sr-x 2 root staff 4096 2008-09-27
> 22:15 /usr/local/share/denemo/templates/jazz
> 
> I don't know how these acquire the permissions they have got... Sorry
> for creating confusion - as you say, only root can write to the
> installation directory. We just want to read in the system provided
> extra menu items.


I believe I have corrected this and committed it to git. Makefile.am
does this now:

install-data-hook:
        cp -r actions  $(datadir)/${PACKAGE}/
        chmod -R 755 $(datadir)/${PACKAGE}/actions


I suppose I could have used the install command instead of using two
commands. It may be 6 one half dozen the other. 

Jeremiah


> Richard
> 
> 
> 
> 
> 
> 
> 
> 
> _______________________________________________
> Denemo-devel mailing list
> address@hidden
> http://lists.gnu.org/mailman/listinfo/denemo-devel





reply via email to

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