[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: How to set file ownship and permission of deb

Previously Zengfa Gao wrote:
> I know that for RPM, we can use "attr(755,root,bin)
> file_name" to set the ownship and permission. How it
> works for DPKG?

Just assume you're root and do a normal chown and chmod. If
you're not root we use fakeroot to trick the buildsystem into
thinking you are root so that works. 


 /       Nothing is fool-proof to a sufficiently talented fool     \
| wichert@cistron.nl                  http://www.liacs.nl/~wichert/ |
| 1024D/2FA3BC2D 576E 100B 518D 2F16 36B0  2805 3CB8 9250 2FA3 BC2D |

Reply to: