Skip site navigation (1)Skip section navigation (2)
Date:      18 Jan 2003 09:15:20 -0500
From:      Lowell Gilbert <freebsd-questions-local@be-well.no-ip.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: make clean for /usr/ports fails repeatedly with rm: /usr/ports/net/bind9-dlz/Makefile.inc: Permission denied
Message-ID:  <44r8bav91j.fsf@be-well.ilk.org>
In-Reply-To: <1042873086.51041.480.camel@localhost>
References:  <1042873086.51041.480.camel@localhost>

next in thread | previous in thread | raw e-mail | index | archive | help
Stacey Roberts <stacey@vickiandstacey.com> writes:

> This is what the permissions looks like in this ports dir:
> 
> /usr/ports/net/bind9-dlz $ ls -la
> total 30
> drwxr-xr-x    3 root  wheel    512 Jan 17 20:11 .
> drwxr-xr-x  647 root  wheel  12288 Jan 17 19:30 ..
> -rw-r--r--    1 root  wheel   6551 Jan 16 16:40 Makefile
> -rw-r--r--    1 root  wheel     71 Jan 17 20:11 Makefile.inc
> -rw-r--r--    1 root  wheel    117 Nov 17 21:43 distinfo
> drwxr-xr-x    2 root  wheel    512 Jan 17 19:29 files
> -rw-r--r--    1 root  wheel     55 Aug 30 16:53 pkg-comment
> -rw-r--r--    1 root  wheel    236 Aug 30 16:53 pkg-descr
> -rw-r--r--    1 root  wheel   4990 Aug 30 16:53 pkg-plist
> /usr/ports/net/bind9-dlz $
> 
> Is this what its supposed to be? Let me know what's to be done, or if
> its safe to change the permissions for myself without breaking other
> stuff.

Everything looks okay.  Assuming you're doing this as root, the
problem must be some kind of flag set on the file.  Use 'ls -ol' 
to display the flags, and if one is set, clear it with chflags(1).

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?44r8bav91j.fsf>