god0fgod
December 30th, 2008, 09:56 AM
I get that error when trying to make a debian package. I got this before when helping someone else work out how to make a debian package and I fixed it by changing the DEBIAN folder and the control file to permissions 0775. I tried the same thing again with the command:
sudo chmod -R 0755 '/home/matt/Desktop/lINK TO MY DOCUMENTS/Linux stuff/Phython scripts/Guessing game/deb_dev/DEBIAN'
I tried to build the .deb file with:
sudo dpkg -b '/home/matt/Desktop/lINK TO MY DOCUMENTS/Linux stuff/Phython scripts/Guessing game/deb_dev' guessing_game.deb
It gives:
dpkg-deb: building package `guessing-game' in `guessing_game.deb'.
dpkg-deb: control directory has bad permissions 777 (must be >=0755 and <=0775)
The permissions don't seem to be changing correctly.
matt@matt-desktop:~/Desktop/lINK TO MY DOCUMENTS/Linux stuff/Phython scripts/Guessing game/deb_dev/DEBIAN$ ls -l
total 1
-rwxrwxrwx 1 root root 387 2008-12-30 13:37 control
matt@matt-desktop:~/Desktop/lINK TO MY DOCUMENTS/Linux stuff/Phython scripts/Guessing game/deb_dev/DEBIAN$ sudo chmod 0775 control
matt@matt-desktop:~/Desktop/lINK TO MY DOCUMENTS/Linux stuff/Phython scripts/Guessing game/deb_dev/DEBIAN$ ls -l
total 1
-rwxrwxrwx 1 root root 387 2008-12-30 13:37 control
Can anyone help me? I'm not very good at this. I would just like to make it easy for people to install a nice python program I made.
Thanks.
sudo chmod -R 0755 '/home/matt/Desktop/lINK TO MY DOCUMENTS/Linux stuff/Phython scripts/Guessing game/deb_dev/DEBIAN'
I tried to build the .deb file with:
sudo dpkg -b '/home/matt/Desktop/lINK TO MY DOCUMENTS/Linux stuff/Phython scripts/Guessing game/deb_dev' guessing_game.deb
It gives:
dpkg-deb: building package `guessing-game' in `guessing_game.deb'.
dpkg-deb: control directory has bad permissions 777 (must be >=0755 and <=0775)
The permissions don't seem to be changing correctly.
matt@matt-desktop:~/Desktop/lINK TO MY DOCUMENTS/Linux stuff/Phython scripts/Guessing game/deb_dev/DEBIAN$ ls -l
total 1
-rwxrwxrwx 1 root root 387 2008-12-30 13:37 control
matt@matt-desktop:~/Desktop/lINK TO MY DOCUMENTS/Linux stuff/Phython scripts/Guessing game/deb_dev/DEBIAN$ sudo chmod 0775 control
matt@matt-desktop:~/Desktop/lINK TO MY DOCUMENTS/Linux stuff/Phython scripts/Guessing game/deb_dev/DEBIAN$ ls -l
total 1
-rwxrwxrwx 1 root root 387 2008-12-30 13:37 control
Can anyone help me? I'm not very good at this. I would just like to make it easy for people to install a nice python program I made.
Thanks.