Re: make clean for /usr/ports fails repeatedly with rm: /usr/ports/net/bind9-dlz/Makefile.inc: Permission denied
On 18-Jan-2003 Stacey Roberts wrote: Hello, Despite a cvsup'ing a fresh ports tree, make clean has been failing at the same point for the last two days at the same point: === net/bind9-dlz === Cleaning for libiconv-1.8_2 === Cleaning for postgresql-7.3.1 === Cleaning for gettext-0.11.5_1 === Cleaning for gmake-3.80 === Cleaning for libgnugetopt-1.2 === Cleaning for libtool-1.3.4_4 === Cleaning for openssl-0.9.6h === Cleaning for expat-1.95.5 === Cleaning for bind9-dlz-9.2.1+0.3.0 rm: /usr/ports/net/bind9-dlz/Makefile.inc: Permission denied *** Error code 1 Stop in /usr/ports/net/bind9-dlz. *** Error code 1 Stop in /usr/ports/net/bind9-dlz. *** Error code 1 Stop in /usr/ports/net. *** Error code 1 Stop in /usr/ports. /usr/ports $ This is what the permissions looks like in this ports dir: /usr/ports/net/bind9-dlz $ ls -la total 30 drwxr-xr-x3 root wheel512 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 wheel117 Nov 17 21:43 distinfo drwxr-xr-x2 root wheel512 Jan 17 19:29 files -rw-r--r--1 root wheel 55 Aug 30 16:53 pkg-comment -rw-r--r--1 root wheel236 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. Thanks in advance. Regards, Stacey You would do well to install the portupgrade port, and then do portsclean -C to accomplish the same thing, only much, much faster. -- Conrad Sabatier [EMAIL PROTECTED] - In Unix veritas To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: make clean for /usr/ports fails repeatedly with rm: /usr/ports/net/bind9-dlz/Makefile.inc: Permission denied
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-x3 root wheel512 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 wheel117 Nov 17 21:43 distinfo drwxr-xr-x2 root wheel512 Jan 17 19:29 files -rw-r--r--1 root wheel 55 Aug 30 16:53 pkg-comment -rw-r--r--1 root wheel236 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 [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: make clean for /usr/ports fails repeatedly with rm:/usr/ports/net/bind9-dlz/Makefile.inc: Permission denied
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-x3 root wheel512 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 wheel117 Nov 17 21:43 distinfo drwxr-xr-x2 root wheel512 Jan 17 19:29 files -rw-r--r--1 root wheel 55 Aug 30 16:53 pkg-comment -rw-r--r--1 root wheel236 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? Regards, Stacey To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message -- Stacey Roberts B.Sc (HONS) Computer Science Web: www.vickiandstacey.com To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: make clean for /usr/ports fails repeatedly with rm:/usr/ports/net/bind9-dlz/Makefile.inc: Permission denied
Hello, On Sat, 2003-01-18 at 08:03, Dirk Meyer wrote: Hallo Stacey Roberts, failing at the same point for the last two days at the same point: === net/bind9-dlz === Cleaning for libiconv-1.8_2 === Cleaning for postgresql-7.3.1 === Cleaning for gettext-0.11.5_1 === Cleaning for gmake-3.80 === Cleaning for libgnugetopt-1.2 === Cleaning for libtool-1.3.4_4 === Cleaning for openssl-0.9.6h === Cleaning for expat-1.95.5 === Cleaning for bind9-dlz-9.2.1+0.3.0 rm: /usr/ports/net/bind9-dlz/Makefile.inc: Permission denied *** Error code 1 This is what the permissions looks like in this ports dir: /usr/ports/net/bind9-dlz $ ls -la total 30 drwxr-xr-x3 root wheel512 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 wheel117 Nov 17 21:43 distinfo drwxr-xr-x2 root wheel512 Jan 17 19:29 files -rw-r--r--1 root wheel 55 Aug 30 16:53 pkg-comment -rw-r--r--1 root wheel236 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. it looks right... I have recently add some chages to the configuration stuff. I can't see why the rm fails., have you mounted /usr/ports readonly? than make clean can't work, did you forget to set WRKDIRPREFIX=/somewhere when you have a readonly /usr/ports? I'll answer you questions in turn: Q: have you mounted /usr/ports readonly? ANS: No did you forget to set WRKDIRPREFIX=/somewhere when you have a readonly /usr/ports? No, I didn't forget, nor do I know anything about doing this. I have been keeping the ports tree the same way since FreeBSD 4.3 Rel, and have always been able to run make clean in /usr/ports as an ordinary user - except over the last few days. I fear that something else might well be afoot. I have copied the listed port maintainer in my original e-mail, and I hope to hear from him at some point. Regards, Stacey please investigate ... kind regards Dirk - Dirk Meyer, Im Grund 4, 34317 Habichtswald, Germany - [[EMAIL PROTECTED]],[[EMAIL PROTECTED]],[[EMAIL PROTECTED]] -- Stacey Roberts B.Sc (HONS) Computer Science Web: www.vickiandstacey.com To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: make clean for /usr/ports fails repeatedly with rm: /usr/ports/net/bind9-dlz/Makefile.inc: Permission denied
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-x3 root wheel512 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 wheel117 Nov 17 21:43 distinfo drwxr-xr-x2 root wheel512 Jan 17 19:29 files -rw-r--r--1 root wheel 55 Aug 30 16:53 pkg-comment -rw-r--r--1 root wheel236 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
Re: make clean for /usr/ports fails repeatedly with rm: /usr/ports/net/bind9-dlz/Makefile.inc: Permission denied
On Sat, Jan 18, 2003 at 10:47:43PM +, Stacey Roberts wrote: -rw-r--r--1 root wheel 71 Jan 17 20:11 Makefile.inc I do understand this. The permissions on this file is the same as for all the other components of other ports before this particular port, yet make clean only fails at this same point, ever since I cvsup'd the ports tree a couple of days ago. This isn't a ports file; it's created when you configure the port. You must have done so as root. Remove the file as root and your problem will be solved. I know other tools like portsdb -U make index are (have been) broken for some time now, and I'm hoping that the same way they got broke, will be how the get fixed mysteriously in due course.., Although, I have to admit., portsdb -U has been broken for months now, with no sign of a let up :-( 'make index' works fine for me..I've been using it throughout the 5.0 release cycle. Please double-check you don't have any other additional files or local changes in your ports tree. Kris msg15937/pgp0.pgp Description: PGP signature
make clean for /usr/ports fails repeatedly with rm:/usr/ports/net/bind9-dlz/Makefile.inc: Permission denied
Hello, Despite a cvsup'ing a fresh ports tree, make clean has been failing at the same point for the last two days at the same point: === net/bind9-dlz === Cleaning for libiconv-1.8_2 === Cleaning for postgresql-7.3.1 === Cleaning for gettext-0.11.5_1 === Cleaning for gmake-3.80 === Cleaning for libgnugetopt-1.2 === Cleaning for libtool-1.3.4_4 === Cleaning for openssl-0.9.6h === Cleaning for expat-1.95.5 === Cleaning for bind9-dlz-9.2.1+0.3.0 rm: /usr/ports/net/bind9-dlz/Makefile.inc: Permission denied *** Error code 1 Stop in /usr/ports/net/bind9-dlz. *** Error code 1 Stop in /usr/ports/net/bind9-dlz. *** Error code 1 Stop in /usr/ports/net. *** Error code 1 Stop in /usr/ports. /usr/ports $ This is what the permissions looks like in this ports dir: /usr/ports/net/bind9-dlz $ ls -la total 30 drwxr-xr-x3 root wheel512 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 wheel117 Nov 17 21:43 distinfo drwxr-xr-x2 root wheel512 Jan 17 19:29 files -rw-r--r--1 root wheel 55 Aug 30 16:53 pkg-comment -rw-r--r--1 root wheel236 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. Thanks in advance. Regards, Stacey -- Stacey Roberts B.Sc (HONS) Computer Science Web: www.vickiandstacey.com To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message