Comments (3)
IMHO this isn't a bug, we deliberately don't remove $WORKING_DIR or you'd have to download multi-gigabyte qcow2 files every single test iteration.
Sounds like you changed users after the initial run, so some manual cleanup seems acceptable in that case, if the alternative is causing every other user to spend more time/bandwidth during testing?
from dev-scripts.
I guess the alternative in common.sh
is to change this:
if [ ! -d "$WORKING_DIR" ]; then
echo "Creating Working Dir"
sudo mkdir "$WORKING_DIR"
sudo chown "${USER}:${USER}" "$WORKING_DIR"
chmod 755 "$WORKING_DIR"
fi
to
if [ ! -d "$WORKING_DIR" ]; then
echo "Creating Working Dir"
sudo mkdir "$WORKING_DIR"
fi
sudo chown -R "${USER}:${USER}" "$WORKING_DIR"
chmod 755 "$WORKING_DIR"
from dev-scripts.
I'm going to close this as I think the recursive chown is likely to break things where we've got existing files owned e.g by root and not $USER. In the case where you choose to switch to a different non-root user I think it's acceptable to do some manual cleanup.
from dev-scripts.
Related Issues (20)
- Pull request #1071 added some strange buffering HOT 1
- A cluster name that exceeds 14 characters causes an error during bridge creation HOT 5
- error TASK [libvirt : Create libvirt networks] HOT 5
- Deployment throws error with config OPENSHIFT_VERSION=4.5.0
- FATAL failed to fetch Master Machines: failed to load asset "Install Config": invalid "install-config.yaml" HOT 3
- Error when chown runs and user name differs from group name
- Use openshift-install coreos print-stream-json HOT 3
- Allow creating a custom number of extra disks HOT 2
- Align Ansible version to metal3-dev-env one HOT 2
- libvirt net ostestbm won't start after reboot HOT 2
- make agent fails with error AGENT_E2E_TEST_SCENARIO is missing
- lxml install needs devel packages for arm64
- The Cluster creation fails with Error: could not contact Ironic API: context deadline exceeded HOT 6
- openshift-sdn support is about to be removed from the installer
- Wrong command in ./01_install_requirements.sh script HOT 6
- Make sure NetworkManager-initscripts-updown is installed on RHEL9 host.
- Failure to create dualstack v6 primary cluster
- Error: failed to dial libvirt: dial unix /var/run/libvirt/libvirt-sock: connect: no such file or directory HOT 3
- 01_requirements.sh errors when `go` is pre-installed.
- Suspect yq doesn't always successfully install on 01_install_requirements.sh L100 HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dev-scripts.