pkgsrc-Users archive

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

File permissions during package build




To: pkgsrc-users%netbsd.org@localhost

Subject: File permissions during package build

From: Victor Leschuk <vleschuk%gmail.com@localhost>

Date: Wed, 24 Oct 2012 16:18:57 +0400


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



Follow-Ups:

Re: File permissions during package build
From: Thomas Klausner




Prev by Date: Interix support?

Next by Date: %D variable question

Previous by Thread: Interix support?

Next by Thread: Re: File permissions during package build

Indexes:

reverse Date

reverse Thread

Old Index



Home | Main Index | Thread Index | Old Index