Bug#323835: make-jpkg fails to write to /

Barry Hawkins barry at bytemason.org
Thu Aug 18 20:42:31 UTC 2005


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

seph wrote:
> Package: java-package
> Version: 0.24
> 
> Since there's a newer version in unstable, this might be fixed, but I
> can't easily test that, and I don't obviously see this in the bug
> list. I'm sorry if it's known.
> 
> make-jpkg won't let me run as root. nor will it let me run as root
> inside fakeroot. So I'm su'ing:
> 
>   su - nobody -c "fakeroot make-jpkg /tmp/j2sdk-1_4_2_09-linux-i586.bin"
> 
> it runs, and seems to work okay, till the end:
> 
>    dpkg-deb: building package `sun-j2sdk1.4' in `/tmp/make-jpkg.XXXXBDz6WZ/sun-j2sdk1.4_1.4.2+09_i386.deb'.
>        copy sun-j2sdk1.4_1.4.2+09_i386.deb into directory //
>    cp: cannot create regular file `//sun-j2sdk1.4_1.4.2+09_i386.deb': Permission denied
> 
>    Aborted (//).
> 
> seph
[...]
Seph,
    The make-jpkg utility does not allow you to run as root by design;
if you are having trouble running under fakeroot, it sounds like you
have a problem outside java-package.  What errors are you experiencing
when you run make-jpkg with fakeroot under your normal non-root account
as intended?  Executing the following command should result in a
successful execution:

# fakeroot make-jpkg j2sdk-1_4_2_09-linux-i586.bin

Regards,
- --
Barry Hawkins
All Things Computed
site: www.alltc.com
weblog: www.yepthatsme.com

Registered Linux User #368650
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFDBPK2HuKcDICy0QoRAkyhAKCyAYVushKdJn28ZxaFhqlrPbulWwCgqUM8
DqPqg6TZ2jHsYYPOuCkB4XY=
=vQSl
-----END PGP SIGNATURE-----




More information about the pkg-java-maintainers mailing list