pkgsrc-Users archive

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

File permissions during package build



Hello all,

I have met the following issue during creation of NetBSD port for my application: during package installation (via pkg_add) I receive the following warning:

The following files are used by PACKAGE_NAME and have
the wrong ownership and/or permissions:

        /etc/rc.d/PACKAGE_NAME (m=0755)

Here are my Makefile and INSTALL files:

https://gist.github.com/3945756
https://gist.github.com/3945758


The file in question has 555 permission after the installation. I have also checked permissions for the rc.d script temporary file after build of the package (/usr/pkgsrc/sysutils/PACKAGE_NAME/work/) and .destdir, and permissions are also 555.

The question is: what is the cause of the warning and at which exactly moment are the permissions being checked? Where do I need to look in order to fix this?

Thanks in advance!

--
Victor



Home | Main Index | Thread Index | Old Index