Hi Shigio,

Thanks for your reply. Since I don't use the htags functionality I
appreciate your clarifications. I have a

On Thu, Apr 10, 2014 at 1:53 AM, Shigio YAMAGUCHI <shi...@gnu.org> wrote:
> Hello,
> 2014-04-09 22:38 GMT+09:00 Punit Agrawal <punitagra...@gmail.com>:
>> Ron's, rather short, reply pointed out that a distro package requiring
>> users to run a generated script as root isn't an acceptable interface.
>
> It's a misunderstanding. I just offered a means to leave the admin user to
> update the system directory (sitekeys directory). It is only a default;
> it is not required. You can change it by configure script as follows:
>
> $ ./configure --with-sitekeys-mode=777
>
> This command line executes 'chmod 777 '<localstatedir>/gtags/sitekeys'.
>

I just fixed a bug with packaging which failed to create
'<localstatedir>/gtags/sitekeys'. But...

<localstatedir> resolves to '/usr/var' which throws a lintian warning
as this location doesn't conform to Debian File Hierarchy Standard.
Can you please explain what is the role of this folder and how it is
used? Perhaps there is a more standard debian location where I can
install this to.

> If you have write permission for the directory, you need not invoke
> bless.sh after executing htags. Of course, root permission is not required.
> Please see 'FILES' section of htags(1).
>
>> I am not sure how actively this feature is used, but in the interest
>> of updating the package I proposed to drop generating the script and
>> print a message for now. I've not received any further reply to my
>> request for clarification or the proposed changes.
>
> Bless.sh script is needed for moving the project directory.
> Just making 'sitekeys' directory writable, everything goes well.
>
> #
> # Builds a hypertext of a project
> #
> $ cd /usr/src/project
> $ htags -f --system-cgi=key # => CGI works (bless.sh is not needed)
>
> #
> # Moves the project to another place
> #
> $ mv /usr/src/project /home/user # => CGI does not work
> $ cd /home/user/project/HTML
> $ sh bless.sh # => CGI works (bless.sh is needed)
>

>From my understanding, bless.sh writes the location of the current
folder (pwd) into '<localstatedir>/gtags/sitekeys/<key>'. Can you
explain how this information is used then?

>> Watch this space for further progress and do let me know if you face
>> any problems trying to use the package from the linked repository.
>>
>> [0] http://anonscm.debian.org/gitweb/?p=collab-maint/global.git;a=summary
>
> Great!
> I am very glad to hear that new Debian GLOBAL will be released soon.
> I appreciate your efforts.
>

Thanks for your comments. I appreicate your explanation and the
encouragement here.

Punit

> Regards,
> Shigio
> --
> Shigio YAMAGUCHI <shi...@gnu.org>
> PGP fingerprint: D1CB 0B89 B346 4AB6 5663  C4B6 3CA5 BBB3 57BE DDA3


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to