Opened 4 years ago

Last modified 4 years ago

#14870 accepted defect

installing libiconv changes permission on /tmp

Reported by: chris5560 Owned by: jow
Priority: normal Milestone: Chaos Calmer 15.05
Component: packages Version: Trunk
Keywords: libiconv permission Cc:



permission on /tmp is 1777 by default on all systems.
opkg install libiconv changes permission to 755 on /tmp.

if you compile it directly into the build everything is ok.
tested on trunk x86 running inside VirtualBox.

libiconv-full works fine.

Attachments (0)

Change History (2)

comment:1 Changed 4 years ago by jow

  • Owner changed from developers to jow
  • Status changed from new to accepted

comment:2 Changed 4 years ago by chris5560

sorry I'm not familiary with writing patches or sending updates to git, but I test the following changes:
In Makefile Section

define Package/libiconv/install
	$(INSTALL_DIR) $(1)/tmp
	touch $(1)/tmp/.libiconv-placeholder

replace the "$(INSTALL_DIR) $(1)/tmp"
with "install -m 1777 -d $(1)/tmp"
so it looks like

define Package/libiconv/install
	install -m 1777 -d $(1)/tmp
	touch $(1)/tmp/.libiconv-placeholder

I tested on x86-VirtualBox

Add Comment

Modify Ticket

as accepted .

E-mail address and user name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.