This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: /bin/rebaselst: cannot create /var/cache/rebase/rebase_lst: Permission denied
- From: Achim Gratz <Stromeko at NexGo dot DE>
- To: cygwin at cygwin dot com
- Date: Fri, 8 Apr 2016 12:46:35 +0000 (UTC)
- Subject: Re: /bin/rebaselst: cannot create /var/cache/rebase/rebase_lst: Permission denied
- Authentication-results: sourceware.org; auth=none
- References: <065b7c7adc9b367aa54d7654d1e2550f at xs4all dot nl> <loom dot 20160408T110800-293 at post dot gmane dot org> <096364f9dabfcf3dcc897f9215839211 at xs4all dot nl> <loom dot 20160408T120240-961 at post dot gmane dot org> <f65a9daf09d124b160f7e99ade742e20 at xs4all dot nl> <loom dot 20160408T125345-235 at post dot gmane dot org> <5d6c68f960716ddc4fe3559da65999e4 at xs4all dot nl> <loom dot 20160408T140236-585 at post dot gmane dot org> <5e23407f4dcd2f4b406ca02e77986b58 at xs4all dot nl>
Houder <houder <at> xs4all.nl> writes:
> To verify, I removed my modification again ...
>
> --- a/drv/e/Setup/test/bin/rebaselst.orig
> +++ b/drv/e/Setup/test/bin/rebaselst
> <at> <at> -93,9 +93,14 <at> <at> check_file () {
> echo "removing $1"
> rm -f $1
> fi
> +# if [ "$2" = "no" -a -e $1 ] ; then
> +# echo "chmod 644 $1"
> +# chmod 644 "$1"
> +# fi
> if [ ! -e "$1" ] ; then
> echo "creating empty $1"
> touch -t 7001010000 "$1"
> + chmod 644 "$1"
> fi
> }
For the final confirmation, please do the modification I asked you to do and
not something else. The chmod was _after_ the fi in my patch. I sent a
patch so that you wouldn't need to type things in manually on purpose.
Regards,
Achim.
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple