Permissions on key directories/files.

Lars Hallberg spam at micropp.se
Mon Mar 22 18:56:19 EET 2004


Jim Gettys wrote:

>Certainly, either: 1) having {x,g,k}dm set up the directories is
>one fix, 2) a helper program is another, and there may be others
>I haven't thought about.  But saying the installation process
>should fix it isn't a robust fix.
>                              - Jim
>  
>
Certenly!

This does not *necasarly* mean that the idé of seting it up on install 
is wrong, but in that case the location is wrong! Probably somewhere 
under /var/... can't find anyplace *realy* logical... possably should 
have somthing like /var/state/ for persistent state info.

People asuming things to reman in /tmp shold realy read:


  Filesystem Hierarchy Standard


    3.15 /tmp : Temporary files


      3.15.1 Purpose

The /tmp directory must be made available for programs that require 
temporary files.

Programs must not assume that any files or directories in /tmp are 
preserved between invocations of the program.


          BEGIN RATIONALE


IEEE standard P1003.2 (POSIX, part 2) makes requirements that are 
similar to the above section.

Although data stored in /tmp may be deleted in a site-specific manner, 
it is recommended that files and directories located in /tmp be deleted 
whenever the system is booted.

FHS added this recommendation on the basis of historical precedent and 
common practice, but did not make it a requirement because system 
administration is not within the scope of this standard.


          END RATIONALE






More information about the xdg mailing list