-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Aitor Pérez Iturri wrote:
> Hi all,
> I found a little bug in Gen_FileHash function in Scripts/Functions/File.
> That function tries to call $sudo_exec with a redirection, and in order
> to make the redirection to work with #0 privileges it should be caller
> inside a shell ($sudo_exec -u #0 sh -c "command > file" instead of
> $sudo_exec -u #0 command > file).
> I don't found more redirections under $sudo_exec inside Scripts.


putting $sudo_exec before $sudo_validate, in the patched version?
perhaps those could use reordering.

Isaac
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGI1qOHgcxvIWYTTURAjhOAKCe8RkzPitp+Z+ryMRSVi6EmL0CZQCePdWZ
jbJ0hOXTdFJBN/chFQVoYqI=
=CmtU
-----END PGP SIGNATURE-----
_______________________________________________
gobolinux-devel mailing list
gobolinux-devel@lists.gobolinux.org
http://lists.gobolinux.org/mailman/listinfo/gobolinux-devel

Reply via email to