After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 644556 - gnucash-2.4.3: running tests changes /dev/null permissions breaking system
gnucash-2.4.3: running tests changes /dev/null permissions breaking system
Status: RESOLVED FIXED
Product: GnuCash
Classification: Other
Component: General
2.4.x
Other Linux
: Normal major
: ---
Assigned To: Christian Stimming
Geert Janssens
Depends on:
Blocks:
 
 
Reported: 2011-03-12 11:34 UTC by Pacho Ramos
Modified: 2018-06-29 22:54 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Pacho Ramos 2011-03-12 11:34:54 UTC
As part of the progress on trying to bump gnucash version downstream on Gentoo:
http://bugs.gentoo.org/show_bug.cgi?id=346919

We noticed running tests changes /dev/null permissions from:

crw-rw-rw- 1 root root 1, 3 mar  6  2011 /dev/null

to:
-rw------- 1 root root 85 mar 11 17:48 /dev/null

Can you please fix this? Thanks a lot
Comment 1 Christian Stimming 2011-03-12 15:49:42 UTC
To be precise, not only the permissions are changed but also the file changes from a special character device to a normal file.

Thanks for reporting this. Fixed in r20403. Turns out this appeared only when running "make check" as root. If run as non-root, the code path never reached the
place where /dev/null would have been touched (and then failed due to missing
permissions). Again, this is now fixed in SVN. Can you verify this, or is building from SVN not possible for you?
Comment 2 Pacho Ramos 2011-03-12 16:01:34 UTC
Cannot build SVN just not... but 2.4.4 shouldn't take too much time, no? (I have tried to apply http://svn.gnucash.org/trac/changeset?format=diff&new=20403&old=20402&new_path=gnucash&old_path=gnucash but looks other things changed since 2.4.3)

Anyway, thanks a lot for taking care of this :-)
Comment 3 John Ralls 2017-09-24 22:05:13 UTC
Reassign version to 2.4.x so that individual 2.4 versions can be retired.
Comment 4 John Ralls 2018-06-29 22:54:42 UTC
GnuCash bug tracking has moved to a new Bugzilla host. This bug has been copied to https://bugs.gnucash.org/show_bug.cgi?id=644556. Please update any external references or bookmarks.