Activity log for bug #508485

Date Who What changed Old value New value Message
2010-01-16 18:30:52 Eugene Ossintsev bug added bug
2010-01-17 05:14:48 Eugene Ossintsev description SBCL 1.0.34.7 Linux badger 2.6.31-17-generic #54-Ubuntu SMP Thu Dec 10 17:01:44 UTC 2009 x86_64 GNU/Linux I reported it already several times on sbcl-devel -- no result. I'll try to do it here. It's a long standing issue with contrib/asdf-module.mk, where the last line ('find ....') contains the option '-type f'. Thus, when the contrib files and directories are being installed, the permissions for the directories are not set properly, only the files permissions are properly set. *** How to reproduce: Build and install SBCL as a non-root user. Look at the permissions of the following directories /usr/local/lib/sbcl/asdf-install /usr/local/lib/sbcl/sb-bsd-sockets etc. They are set to the user who built and installed SBCL. *** Why '-type f' happens to be in asdf-module.mk's find: That 'find' was used with '-type f' in the asdf-module.mk revision when the directories were not copied. As far as I remember, that particular revision had some problems on Windows machines, therefore it was modified to make things happier. In the next revision both directories and files were copied but '-type f' remained as if it's only for files. *** How to fix: Delete '-type -f' from the last line of asdf-module.mk: Instead of find "$(BUILD_ROOT)$(INSTALL_DIR)" -type f -exec chown `id -u`:`id -g` {} \; It must be: find "$(BUILD_ROOT)$(INSTALL_DIR)" -exec chown `id -u`:`id -g` {} \; SBCL 1.0.34.7 Linux badger 2.6.31-17-generic #54-Ubuntu SMP Thu Dec 10 17:01:44 UTC 2009 x86_64 GNU/Linux I reported it already several times on sbcl-devel -- no result. I'll try to do it here. It's a long standing issue with contrib/asdf-module.mk, where the last line ('find ....') contains the option '-type f'. Thus, when the contrib files and directories are being installed, the permissions for the directories are not set properly, only the files permissions are properly set. *** How to reproduce: Build and install SBCL as a non-root user. Look at the permissions of the following directories /usr/local/lib/sbcl/asdf-install /usr/local/lib/sbcl/sb-bsd-sockets etc. They are set to the user who built and installed SBCL. *** Why '-type f' happens to be in asdf-module.mk's find: That 'find' was used with '-type f' in the asdf-module.mk revision when the directories were not copied. As far as I remember, that particular revision had some problems on Windows machines, therefore it was modified to make things happier. In the next revision both directories and files were copied but '-type f' remained as if it's only for files. *** How to fix: Delete '-type f' from the last line of asdf-module.mk: Instead of find "$(BUILD_ROOT)$(INSTALL_DIR)" -type f -exec chown `id -u`:`id -g` {} \; It must be: find "$(BUILD_ROOT)$(INSTALL_DIR)" -exec chown `id -u`:`id -g` {} \;
2010-01-22 01:14:29 Eugene Ossintsev attachment added asdf-module.mk.patch http://launchpadlibrarian.net/38205581/asdf-module.mk.patch
2010-01-23 05:10:51 Eugene Ossintsev visibility private public
2010-01-27 02:31:51 Nathan Froyd sbcl: assignee Nathan Froyd (froydnj)
2010-01-28 11:39:13 Christophe Rhodes sbcl: status New Fix Committed
2010-01-31 11:27:12 Christophe Rhodes sbcl: status Fix Committed Fix Released