Am 11. Jul, 2001 schwäzte Faheem Mitha so:

> I recently changed my user id (faheem) from 1000 to 500. I tried to run
> apt-get build pgp4pine just now as root in my home directory (the first
> time after changing the id, I think) and I discovered that something has
> got bollixeded up. I get
> 
> /usr/bin/dpkg-buildpackage: debian/rules: Permission denied
> Build command 'cd pgp4pine-1.75-6 && dpkg-buildpackage -b -uc' failed.
> E: Child process failed

You ran the build command as root? You shouldn't experience any "Permission
denied" errors as root :). Unless maybe there's a file where there should be
a directory.

> and more strangely, a list of the relevant files gives
> 
> drwxr-xr-x    4 1000     faheem       1024 Jul 11 19:37 pgp4pine-1.75-6
> -rw-r--r--    1 root     root        11039 May 14 11:16
> pgp4pine_1.75-6-1.diff.gz
> -rw-r--r--    1 root     root          599 May 14 11:16
> pgp4pine_1.75-6-1.dsc
> -rw-r--r--    1 root     root        85239 May 14 11:16 
> pgp4pine_1.75-6.orig.tar.gz
> 
> Note the user 1000. Since I changed the id, there is no longer a user
> 1000, so there is clearly something wrong. Apparently at least one of the
> package tools thinks that my id is still 1000. I tried building (as root)
> in /tmp (ie not my home directory) and it works OK. So the problem is to
> do with my user status. Presumably there is a place somewhere that has me
> recorded as having user id 1000, and I need to change it.

Did you logout of all of your shells and log back in? Still, running as root
should've caused that dir to be owned by root.

"find / -user 1000" should turn up that directory. What's it look like in
that dir and in the debian dir?

ciao,

der.hans
-- 
# [EMAIL PROTECTED] home.pages.de/~lufthans/ www.DevelopOnline.com
#  "... the social skills of a cow on acid." - der.hans

Reply via email to