Stacey Roberts <[EMAIL PROTECTED]> writes:

> Hello,
> 
> On Sat, 2003-01-18 at 14:15, Lowell Gilbert wrote:
> > Stacey Roberts <[EMAIL PROTECTED]> 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).
> 
> I didn't (never had to) run the make clean in /usr/ports as root. Here's
> what ls -lo returns for that port:
> /usr/ports/net/bind9-dlz $ ls -lo
> total 17
> -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 $
> 
> Nothing appears strange here to me. What could be wrong?

The directory is owned by root, and is not group- or world-writeable,
so no other user can delete files from it.  Depending on the umask you
use for root when *building* ports, you may not need to be root to
clean up the work directories, but this 'Makefile.inc' is in a
directory that requires root privileges to modify.

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message

Reply via email to