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

Re: Permission scheme: Real world test needed (was: Bug#352394: tex-common: permission scheme for /var/cache/fonts)



On Die, 14 Feb 2006, Frank Küster wrote:
> > 	3775
> 
> Just commit it like this;  I will test it in my sid chroot before
> uploading.   And I change the subject to remind me.

Ok, we have 3775 now.

But what do you say to this:
  PERMS=$(stat --format="%a" /var/cache/fonts)
  GROUP=$(stat --format="%G" /var/cache/fonts)
  if [ $PERMS = 3775 ] ; then
    db_set tex-common/managecache true || true
    db_set tex-common/groupname "$GROUP" || true
  else
    db_set tex-common/managecache false || true
  fi

Most people WONT have 3775, so it will always show NO as default.
Then most people will just enter (or are above low so not get asked
anyway).
So most people stay in the old scheme.
So we get many bugs?

Suggestion: Always set it to true?

Best wishes

Norbert

-------------------------------------------------------------------------------
Dr. Norbert Preining <preining AT logic DOT at>             Università di Siena
gpg DSA: 0x09C5B094      fp: 14DF 2E6C 0307 BE6D AD76  A9C0 D2BF 4AA3 09C5 B094
-------------------------------------------------------------------------------
SCULLET (n.)
The last teaspoon in the washing up.
			--- Douglas Adams, The Meaning of Liff



Reply to: