FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian Development

 
 
LinkBack Thread Tools
 
Old 02-18-2009, 01:16 PM
shaul Karl
 
Default craetion of /srv/ftp or /home/ftp by a ftpserver.deb

1) (/srv/) SRV DATA FOR SERVICES PROVIDED BY SYSTEM http://www.debian.org/doc/packaging-manuals/fhs/fhs-2.3.html#SRVDATAFORSERVICESPROVIDEDBYSYSTEM asserts that:

no program should rely on a specific subdirectory structure of /srv
existing or data necessarily being stored in /srv

2) (/home/) HOME USER HOME DIRECTORIES http://www.debian.org/doc/packaging-manuals/fhs/fhs-2.3.html#HOMEUSERHOMEDIRECTORIES asserts that:

no program should rely on this location.

Does that mean that an ftpServer.deb is not allowed to issue

mkdir /srv/ftp
or
mkdir /home/ftp

?





--
To UNSUBSCRIBE, email to debian-devel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 
Old 02-18-2009, 02:31 PM
"Giacomo A. Catenazzi"
 
Default craetion of /srv/ftp or /home/ftp by a ftpserver.deb

shaul Karl wrote:

1) (/srv/) SRV DATA FOR SERVICES PROVIDED BY SYSTEM http://www.debian.org/doc/packaging-manuals/fhs/fhs-2.3.html#SRVDATAFORSERVICESPROVIDEDBYSYSTEM asserts that:

no program should rely on a specific subdirectory structure of /srv
existing or data necessarily being stored in /srv


2) (/home/) HOME USER HOME DIRECTORIES http://www.debian.org/doc/packaging-manuals/fhs/fhs-2.3.html#HOMEUSERHOMEDIRECTORIES asserts that:

no program should rely on this location.

Does that mean that an ftpServer.deb is not allowed to issue


mkdir /srv/ftp
or
mkdir /home/ftp

?


My interpretation: programs should not hard code the path /home/ftp or /srv/ftp (i.e. should
be configurable).

An admin could use any directory (also with home made package).

For standard debian package, it is more tricky. I expect a question at configuration time,
and flexibility to use alternate "roots".

ciao
cate





--
To UNSUBSCRIBE, email to debian-devel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 
Old 02-18-2009, 07:55 PM
Tollef Fog Heen
 
Default craetion of /srv/ftp or /home/ftp by a ftpserver.deb

]] shaul Karl

| Does that mean that an ftpServer.deb is not allowed to issue
|
| mkdir /srv/ftp
| or
| mkdir /home/ftp

Yes.

(Your /srv might be organized by service, but far from everybody's is
and you can not make any assumptions about the local admin's
preference.)

--
Tollef Fog Heen
UNIX is user friendly, it's just picky about who its friends are


--
To UNSUBSCRIBE, email to debian-devel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 

Thread Tools




All times are GMT. The time now is 10:28 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org