Date: Wed, 17 Jul 2013 16:40:26 -0500 From: Scot Hetzel <swhetzel@gmail.com> To: mexas@bristol.ac.uk Cc: freebsd-ports@freebsd.org Subject: Re: svn diff/patch change file permission in cad/feappv Message-ID: <CACdU%2Bf-3GGJaC94V2bp5x7CQaS6uGpEiGtkPvX2QuZO0i=6VLA@mail.gmail.com> In-Reply-To: <201307171450.r6HEoDMO020836@mech-cluster241.men.bris.ac.uk> References: <201307171450.r6HEoDMO020836@mech-cluster241.men.bris.ac.uk>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Jul 17, 2013 at 9:50 AM, Anton Shterenlikht <mexas@bris.ac.uk> wrote: > I'm updating cad/feappv. > I noticed that svn diff, followed by svn patch > changes file permissions for 2 files out of 3. > Please help > > After I finished updating the port, I did: > > # pwd > /usr/ports/cad/feappv > # ls -al > total 24 > drwxr-xr-x 2 root wheel 512 Jul 17 15:45 . > drwxr-xr-x 108 root wheel 2560 Mar 22 03:45 .. > -rw-r--r-- 1 root wheel 1541 Jul 17 15:41 Makefile > -rw-r--r-- 1 root wheel 268 Jul 17 15:38 distinfo > -rw-r--r-- 1 root wheel 473 Jul 17 15:39 pkg-descr > # svn diff > feappv.diff > # svn revert * > Reverted 'Makefile' > Reverted 'distinfo' > Skipped 'feappv.diff' > Reverted 'pkg-descr' > # ls -al > total 32 > drwxr-xr-x 2 root wheel 512 Jul 17 15:46 . > drwxr-xr-x 108 root wheel 2560 Mar 22 03:45 .. > -rw-r--r-- 1 root wheel 1613 Jul 17 15:46 Makefile > -rw-r--r-- 1 root wheel 268 Jul 17 15:46 distinfo > -rw-r--r-- 1 root wheel 2439 Jul 17 15:46 feappv.diff > -rw-r--r-- 1 root wheel 474 Jul 17 15:46 pkg-descr > # svn patch feappv.diff > U Makefile > U distinfo > U pkg-descr > # ls -al > total 32 > drwxr-xr-x 2 root wheel 512 Jul 17 15:46 . > drwxr-xr-x 108 root wheel 2560 Mar 22 03:45 .. > -rw------- 1 root wheel 1541 Jul 17 15:46 Makefile > -rw------- 1 root wheel 268 Jul 17 15:46 distinfo > -rw-r--r-- 1 root wheel 2439 Jul 17 15:46 feappv.diff > -rw-r--r-- 1 root wheel 473 Jul 17 15:46 pkg-descr > # > > Note that now Makefile and distinfo have 600 perms, > instead of 644. Have I missed some svn diff/patch > option? Or is there a reason for the change in permissions? > Do you have umask set in your environment? As a umask of 077 would explain the issue. -- DISCLAIMER: No electrons were maimed while sending this message. Only slightly bruised.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CACdU%2Bf-3GGJaC94V2bp5x7CQaS6uGpEiGtkPvX2QuZO0i=6VLA>