You are not logged in.

#1 2014-05-03 11:19:41

elken
Member
From: Emacs
Registered: 2013-10-17
Posts: 67

[Solved] What permissions/user should I use for my package?

I'm attempting to port FruityWifi over to Arch for a distro I work on, see sig, and the PHP code needs to download and install files, so what permissions should I set for the package directory (/usr/share/FruityWifi, symlinked to /srv/http for apache)

Here is the tarball.

Last edited by elken (2014-05-03 18:49:17)


Useless shit wot I do | "A very witty and relatable quote." -- A wise man

Offline

#2 2014-05-03 17:56:29

Spider.007
Member
Registered: 2004-06-20
Posts: 1,175

Re: [Solved] What permissions/user should I use for my package?

Could you explain why "the php code needs to download and install files"? You mean that after you created this package; when a user installs it that package will start downloading and installing even more files?
The default owner and permissions are fine (root/rw-r-r); if you want the webserver to write somewhere in a directory that is owned by your package choosing 'http' as owner (again, with default permissions) seems like the way to go.

Offline

#3 2014-05-03 18:01:23

elken
Member
From: Emacs
Registered: 2013-10-17
Posts: 67

Re: [Solved] What permissions/user should I use for my package?

Read the gh repo.Ok. I'll try with http. Thanks.


Useless shit wot I do | "A very witty and relatable quote." -- A wise man

Offline

Board footer

Powered by FluxBB