I've found an issue with FiboSandbox. Patched against Scripts-2.9.4,
hope that's ok.

BR
/David Karell

If the user isn't listen in /etc/passwd, or the group isn't in
/etc/group,
the original stat commands will return UNKNOWN as the username or
groupname.
The patch uses numeric uid and gid, which are always available (and the
result will be proper chown:ing)

diff -Naur Scripts/2.9.4-orig/bin/FiboSandbox
Scripts/2.9.4/bin/FiboSandbox
--- Scripts/2.9.4-orig/bin/FiboSandbox    2008-07-31 02:30:03.000000000
+0200
+++ Scripts/2.9.4/bin/FiboSandbox    2008-10-26 22:02:50.000000000 +0100
@@ -129,8 +129,8 @@

make_restore_cmd() {
Exists "$1" || { Log_Verbose "'$1' does not exist"; return 1; }
-        local owner=`stat -c %U "$1"`
-        local group=`stat -c %G "$1"`
+        local owner=`stat -c %u "$1"`
+        local group=`stat -c %g "$1"`
# default owner for the directory
echo "chown -R $owner:$group \"$1\""
# exceptions

  ----- Original Message -----
  From: "Jonas Karlsson"
  To: "Development of the GoboLinux distribution" ,
  [EMAIL PROTECTED]
  Subject: [gobolinux-devel] Release candidates of tools
  Date: Fri, 24 Oct 2008 12:00:41 +0200


  Time for a new release of tools. This time a new version of Compile,
  Scripts and BootScripts will be made. Here comes the release
  candidates and major changes for each tool. Please install and test
  them thoroughly, as, if nothing is reported, they will be final at
  the
  end of the weekend.

  Not counting all bugfixes, here are the major changes:

  Compile:
  http://karlsson.sytes.net/gobo/packages/Compile--1.11.3rc1--i686.tar.bz2
  * Many changes and improvements to use flags. These change is mostly
  for recipe writers. Some examples are that with_foo variables can be
  arrays and support for use flags with meta "tags" (with_foo_include).
  * Bugfix for bad behaviour with UnmanagedFiles and paths
  * Better symlink behaviour with Compile. It's now possible to control
  how symlink conflicts should be handled whan calling Compile and
  subrecipes of meta recipes inherits symlink_options from it parent
  recipes (think Xorg/Xorg-Lib and --conflict=overwrite).

  Scripts:
  http://karlsson.sytes.net/gobo/packages/Scripts--2.9.5rc1--i686.tar.bz2
  * Support for generic flags. This means that users can specify for
  example "gui" use flag and will have best(1) gui flag (2) enabled for
  a recipe.
  * Default GenericFlags.conf and updated DistFlags.conf (the latter
  ironically mostly affects users that don't bother about use flags).
  * Fix for environment when using GCC >= 4.3
  * Bugfixes for rootless (specifically for Darwin and Cygwin)
  * Support for Docbook XML
  * Support for ScrollKeeper (last great obstacle for Gnome is now
  gone).

  BootScripts:
  http://karlsson.sytes.net/gobo/packages/BootScripts--2.1.5rc1--i686.tar.bz2
  * Logging boot to file is extended. We now have full boot log.

  --
  /Jonas

  1) The algorithm for deciding which is "best" flag is first check if
  any flag is already enabled. If so use that, otherwice use first flag
  available in the recipe.
  2) User specified in a list in GenericFlags.conf, though a default
  set
  is shipped with scripts.
  _______________________________________________
  gobolinux-devel mailing list
  gobolinux-devel@lists.gobolinux.org
  http://lists.gobolinux.org/mailman/listinfo/gobolinux-devel

-- 
See Exclusive Video: Hollywood Life's 5th Annual Style Awards
http://www.hollywoodlife.net/Awards.aspx?AwardsID=style2008

_______________________________________________
gobolinux-devel mailing list
gobolinux-devel@lists.gobolinux.org
http://lists.gobolinux.org/mailman/listinfo/gobolinux-devel

Reply via email to