[gobolinux-devel] Patch for Functions/File
Aitor Pérez Iturri
aitor.iturri at gmail.com
Mon Apr 16 11:02:25 UTC 2007
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.
Greets.
Aitor.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: File.patch
Type: application/octet-stream
Size: 730 bytes
Desc: not available
Url : http://lists.gobolinux.org/pipermail/gobolinux-devel/attachments/20070416/c7cec140/attachment.obj
More information about the gobolinux-devel
mailing list