Deb packages stay with my username

0

When I run the command:

dpkg -b myprog

and

sudo dpkg -i myprog.deb

The file in /usr/bin and /usr/share/, etc. stay with my username as owner and creator of the file when all the other are with root as owner and creator. What am I doing wrong?

petermlm

Posted 2011-02-23T16:19:39.080

Reputation: 123

Answers

0

Try chown'ing all the files to root before running dpkg -b.

Packages are normally created with dpkg-buildpackage because it can use fakeroot to insure all files are owned by root.

Arrowmaster

Posted 2011-02-23T16:19:39.080

Reputation: 626

Thankyou very must. I did it with: "fakeroot dpkg -b qtgameoflife-1.2/" – petermlm – 2011-02-23T17:47:05.587