Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #168050

Re: Got that network problem solved, now a new one

From Logan Erbst <logan@iccamnetworking.us>
Newsgroups linux.debian.user
Subject Re: Got that network problem solved, now a new one
Date 2016-05-19 00:40 +0200
Message-ID <rAiid-89L-5@gated-at.bofh.it> (permalink)
References <rAhvQ-7Ao-25@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

This seems to me that it may be a bug in the version of bash that is
running on the system, but I could be very wrong.

On 5/18/2016 4:42 PM, Gene Heskett wrote:
> Greetings all;
>
> I am, because my web page serves as a backup site for the os and some 
> tools for use with the now 30 year old trs-80 color computers, have a 
> script IP can run that pulls fresh copies of the sources for this code 
> using hg, then builds fresh copies and makes it all available on my web 
> page.
>
> Unfortunately that script, running as me, suddenly has no write 
> permissions to do what it does.  This has been working for several 
> years.
>
> This is the script:
> ============================
> #!/bin/bash
> # since I'm always forgetting who I am
> if [ `whoami` != 'gene' ]; then
> 	echo
> 	echo "!!!!!!!!!!!!!!!!!! Warning !!!!!!!!!!!!!!!!!!!"
> 	echo "this script needs to be run by user gene"
> 	echo
> 	echo
> 	exit 1
> fi
> mv lwtools lwtools-$(date +%Y-%m-%d-%H-%M)
> hg clone http://lwtools.projects.l-w.ca/hg/ lwtools
> cd lwtools
> make
> sudo make install
> cd ..
> echo
> echo
> echo "lwtools has been built, next is toolshed"
> echo
> echo
> chown -R gene:www-data lwtools # make visible to the web
> mv toolshed toolshed-$(date +%Y-%m-%d-%H-%M)
> hg clone http://hg.code.sf.net/p/toolshed/code toolshed
> cd toolshed
> make -C build/unix
> sudo make install
> cd hdbdos
> make
> cd ../..
> chown -R gene:www-data toolshed
> echo
> echo
> echo "toolshed has been built and installed, next is nitros9"
> echo
> echo
> mv nitros9 nitros9-$(date +%Y-%m-%d-%H-%M)
> hg clone http://hg.code.sf.net/p/nitros9/code nitros9
> cd nitros9
> export NITROS9DIR=$PWD
> hgpull;hgupdate
> mkdir dsks # this step is temporarily needed
> make dsk
> make dskcopy
> cd ..
> chown -R gene:www-data nitros9
> echo
> echo "nitros9 has been refreshed"
> echo "this completes the build of lwtools, toolshed, and nitros9"
> ==================================
> and its now being denied at the first mv operation. /opt of course is 
> owned by root:root but that hasn't changed in 18 years of running linux.
> This script has been running flawlessly about once a month since July 
> 2013 when I wrote it.
>
> So what was changed to prevent the common user from using /opt as 
> himself? cd'd to /opt, I can't even "touch ajunkfile".  Grrrrrr.  Me, 
> goes in search of my LART.
>
> Better yet, how can I fix it? /opt permissions are 40755, and I'm 
> assuming a chmod 0777 as root would fix it temporarily, but thats one 
> hell of a kludge.  I'd much rather find where the rules to this game are 
> and get them fixed.
>
> Thanks all.
>
> Cheers, Gene Heskett

-- 
Logan Erbst
Member Free Software Foundation

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Got that network problem solved, now a new one Gene Heskett <gheskett@shentel.net> - 2016-05-18 23:50 +0200
  Re: Got that network problem solved, now a new one Logan Erbst <logan@iccamnetworking.us> - 2016-05-19 00:40 +0200
    Re: Got that network problem solved, now a new one "John L. Ries" <jries@salford-systems.com> - 2016-05-19 01:10 +0200
      Re: Got that network problem solved, now a new one Gene Heskett <gheskett@shentel.net> - 2016-05-19 03:50 +0200
      Re: Got that network problem solved, now a new one cbannister@slingshot.co.nz - 2016-05-21 18:20 +0200
  Re: Got that network problem solved, now a new one Gene Heskett <gheskett@shentel.net> - 2016-05-19 01:20 +0200
    Re: Got that network problem solved, now a new one David Wright <deblis@lionunicorn.co.uk> - 2016-05-19 05:50 +0200
      Re: Got that network problem solved, now a new one <tomas@tuxteam.de> - 2016-05-19 10:20 +0200
        Re: Got that network problem solved, now a new one Gene Heskett <gheskett@shentel.net> - 2016-05-19 11:50 +0200
          Re: Got that network problem solved, now a new one Lisi Reisz <lisi.reisz@gmail.com> - 2016-05-19 12:00 +0200
            Re: Got that network problem solved, now a new one Gene Heskett <gheskett@shentel.net> - 2016-05-19 13:30 +0200
              Re: Got that network problem solved, now a new one Lisi Reisz <lisi.reisz@gmail.com> - 2016-05-19 15:10 +0200
                Re: Got that network problem solved, now a new one Gene Heskett <gheskett@shentel.net> - 2016-05-19 18:20 +0200
                Re: Got that network problem solved, now a new one Dan Purgert <dan@djph.net> - 2016-05-19 18:40 +0200
                Re: Got that network problem solved, now a new one Gene Heskett <gheskett@shentel.net> - 2016-05-19 19:00 +0200
              Re: Got that network problem solved, now a new one Lisi Reisz <lisi.reisz@gmail.com> - 2016-05-19 15:40 +0200
                Re: Got that network problem solved, now a new one Gene Heskett <gheskett@shentel.net> - 2016-05-19 18:30 +0200
                Re: Got that network problem solved, now a new one Bob Bernstein <poobah@ruptured-duck.com> - 2016-05-19 21:30 +0200
          Re: Got that network problem solved, now a new one Gene Heskett <gheskett@shentel.net> - 2016-05-21 13:40 +0200

csiph-web