I am not too familiar with the command line.
I need to find the path where my tex-distribution is installed.
I've used brew to install "mactex-no-gui" (I am running a Mac) via
brew install mactex-no-gui
Now, I try to find this installed cask:
xyzs-MBP local % brew --prefix mactex-no-gui
/opt/homebrew/opt/mactex-no-gui
xyzs-MBP local % ls -halt /opt/homebrew/opt
total 0
drwxrwxr-x 10 me admin 320B 5 Mär 17:07 .
lrwxr-xr-x 1 me admin 30B 5 Mär 17:07 gs -> ../Cellar/ghostscript/9.53.3_1
lrwxr-xr-x 1 me admin 30B 5 Mär 17:07 ghostscript -> ../Cellar/ghostscript/9.53.3_1
lrwxr-xr-x 1 me admin 23B 5 Mär 17:07 libtiff -> ../Cellar/libtiff/4.2.0
lrwxr-xr-x 1 me admin 17B 5 Mär 17:06 libjpeg -> ../Cellar/jpeg/9d
lrwxr-xr-x 1 me admin 17B 5 Mär 17:06 libjpg -> ../Cellar/jpeg/9d
lrwxr-xr-x 1 me admin 17B 5 Mär 17:06 jpeg -> ../Cellar/jpeg/9d
drwxr-xr-x 31 me admin 992B 5 Mär 16:45 ..
lrwxr-xr-x 1 me admin 22B 14 Jan 21:47 cmake -> ../Cellar/cmake/3.19.3
-rw-r--r-- 1 me admin 0B 14 Jan 21:47 .keepme
xyzs-MBP local % ls -halt /opt/homebrew/Cellar
total 0
drwxrwxr-x 7 me admin 224B 5 Mär 17:07 .
drwxr-xr-x 3 me admin 96B 5 Mär 17:07 ghostscript
drwxr-xr-x 3 me admin 96B 5 Mär 17:07 libtiff
drwxr-xr-x 3 me admin 96B 5 Mär 17:06 jpeg
drwxr-xr-x 31 me admin 992B 5 Mär 16:45 ..
drwxr-xr-x 3 me staff 96B 14 Jan 21:47 cmake
-rw-r--r--# 1 me admin 0B 14 Jan 21:47 .keepme
But I can't find it.
P.S.: The installation worked because after the installation I can use tex command within terminal.. But whereis tex does not have any output.
If you look at the cask definition with:
brew edit mactex-no-gui
You will find, in the uninstall section, at the end, the list of directories where files are installed:
/usr/local/texlive/#{version.major}
/Library/TeX
/etc/paths.d/TeX
/etc/manpaths.d/TeX
Related
I'm having a pipeline in azure devops that is supposed to be executed on a linux agent.
One task in this pipeline is to run parasoft static code analysis.
We are using a docker container that includes parasoft and which is executin g a bash script to compile our sources and run sca.
My issue is, that on the next run of the pipeline, I'll get an error because it is impossible to checkout the code from git. The reason for that is, during the build with cmake some directories will be created as root.
Here is the related task of the pipeline
- task: Bash#3
displayName: "Run sca"
inputs:
targetType: 'inline'
script: |
docker run -t -v "$(System.DefaultWorkingDirectory):/host" --platform=linux/amd64 -w /host/ containerregistry.azurecr.io/diag/parasoft:2.8.0 /bin/bash -c "\
cmake -S . -B build -DCMAKE_BUILD_TYPE=Debug && \
cpptestcli -localsettings /host/parasoft.properties -config \"someconfig\" \
-bdf /host/build/compile_commands.json -report /host/sca-report -include \"host/src/**/*.cpp\" \
"
Here is the content of the folder after the docker run
completed:agent#host:~/az_agent/_work/1/s$ ll
total 100
drwxr-xr-x 16 agent agents 4096 Dez 23 16:14 ./
drwxr-xr-x 6 agent agents 4096 Dez 23 15:37 ../
drwxr-xr-x 7 root root 4096 Dez 23 15:38 build/
drwxr-xr-x 2 agent agents 4096 Dez 23 15:31 cmake/
-rw-r--r-- 1 agent agents 994 Dez 23 15:31 CMakeLists.txt
-rw-r--r-- 1 root root 4605 Dez 23 15:42 c++test_static_problems.txt
drwxr-xr-x 7 agent agents 4096 Dez 23 15:31 diagmaster/
drwxr-xr-x 5 agent agents 4096 Dez 22 12:47 doc/
drwxr-xr-x 2 agent agents 4096 Dez 23 15:31 docker/
drwxr-xr-x 5 agent agents 4096 Dez 23 15:31 etc/
drwxr-xr-x 6 agent agents 4096 Dez 23 15:31 gen/
drwxr-xr-x 8 agent agents 4096 Dez 23 15:37 .git/
-rw-r--r-- 1 agent agents 70 Dez 23 15:31 .gitignore
-rw-r--r-- 1 agent agents 1478 Dez 23 15:31 parasoft.properties
drwxr-xr-x 4 root root 4096 Dez 23 15:38 parasoft_workspace/
drwxr-xr-x 2 agent agents 4096 Dez 23 15:37 pipelines/
-rw-r--r-- 1 agent agents 723 Dez 23 15:31 README.md
drwxr-xr-x 5 agent agents 4096 Dez 23 15:31 src/
-rwxrwxrwx 1 agent agents 640 Dez 23 16:14 test.sh*
drwxr-xr-x 3 agent agents 4096 Dez 23 15:31 utils/
If I change the ownership manually e.g. by this command the next execution of the pipeline works without issues.
sudo chown -R --reference=cmake *
Of sourse I don't want to run this command in my pipeline.
From your description, the issue now focuses on the error 'UnauthorizedAccessException due to pipeline created folders as root'.
You could try to use things like this to give permission to the run agent.
chown -R agent:agents *
Then the issue is supposed to resolve.
I have a cloudbuild.yaml file that looks like this:
steps:
- name: 'gcr.io/cloud-builders/gsutil'
args: [ "-m", "rsync", "-r", "gs://${_BUCKET}/maven-repository", "/cache/.m2" ]
volumes:
- path: '/cache/.m2'
name: 'm2_cache'
- name: docker/compose:debian-1.29.2
entrypoint: bash
args:
- -c
- |
./test.sh
volumes:
- path: '/cache/.m2'
name: 'm2_cache'
timeout: 2700s
substitutions:
_BUCKET: 'my-bucket'
In the first step we download our maven settings.xml file from GCS. This file is crucial for subsequent build steps since it contain the username/password to our Artifact Registry Maven repository (I've simplified this example as we don't actually store the credential in the settings.xml as plain text). Without these credentials, our Maven build won't run. Normally the script that we call in the second step starts several docker containers and then run our maven tests. But I've replaced it with test.sh to easier show what the problem is. The test.sh file is shown below:
#!/bin/bash
echo "### [Host] Contents in /cache/.m2"
ls -la /cache/.m2
mkdir ~/test
echo "Johan" > ~/test/ikk.txt
echo "### [Host] Contents in ~/test"
ls -la ~/test
docker run --rm -v /cache/.m2:/cache/.m2 -v ~/test:/root/test -w /usr/src/somewhere ubuntu bash -c 'echo "### [Docker] Contents in /cache/.m2" && ls -la /cache/.m2 && echo "### [Docker] Contents in /root/test" && ls -la /root/test'
I.e. we try to mount two volumes to the ubuntu container that we start in the test.sh file. I list the contents in two directors both outside (### [Host]) and inside (### [Docker]) the ubuntu container. Here's the relevant output of running this in cloud build:
### [Host] Contents in /cache/.m2
total 16
drwxr-xr-x 2 root root 4096 Sep 15 08:55 .
drwxr-xr-x 3 root root 4096 Sep 15 08:55 ..
-rw-r--r-- 1 root root 8063 Sep 13 11:03 settings.xml
### [Host] Contents in ~/test
total 12
drwxr-xr-x 2 root root 4096 Sep 15 08:55 .
drwxr-xr-x 6 root root 4096 Sep 15 08:55 ..
-rw-r--r-- 1 root root 6 Sep 15 08:55 ikk.txt
Unable to find image 'ubuntu:latest' locally
latest: Pulling from library/ubuntu
Digest: sha256:20fa2d7bb4de7723f542be5923b06c4d704370f0390e4ae9e1c833c8785644c1
Status: Downloaded newer image for ubuntu:latest
### [Docker] Contents in /cache/.m2
total 8
drwxr-xr-x 2 root root 4096 Sep 15 08:55 .
drwxr-xr-x 3 root root 4096 Sep 15 08:55 ..
### [Docker] Contents in /root/test
total 8
drwxr-xr-x 2 root root 4096 Sep 15 08:55 .
drwx------ 1 root root 4096 Sep 15 08:55 ..
As you can see, the volume mounts doesn't seem to work when I run the ubuntu container from the test.sh file in cloud build (since the contents of /root/test and /cache/.m2 are empty).
Running the test.sh locally on my machine yields the expected outcome:
### [Host] Contents in /cache/.m2
total 40
drwxr-xr-x 7 johan staff 224 Mar 15 2022 .
drwxr-x---+ 87 johan staff 2784 Sep 15 10:58 ..
-rw-r--r-- 1 johan staff 2344 Sep 14 11:37 copy_reference_file.log
drwxr-xr-x 221 johan staff 7072 Sep 14 10:52 repository
-rw-r--r-- 1 johan staff 327 Nov 24 2021 settings-docker.xml
-rw-r--r--# 1 johan staff 9842 Mar 15 2022 settings.xml
drwxr-xr-x 3 johan staff 96 Nov 19 2021 wrapper
### [Host] Contents in ~/test
total 8
drwxr-xr-x# 3 johan staff 96 Sep 15 10:53 .
drwxr-xr-x# 135 johan staff 4320 Sep 15 10:49 ..
-rw-r--r-- 1 johan staff 6 Sep 15 10:58 ikk.txt
### [Docker] Contents in /cache/.m2
total 24
drwxr-xr-x 7 root root 224 Mar 15 2022 .
drwxr-xr-x 3 root root 4096 Sep 15 08:58 ..
-rw-r--r-- 1 root root 2344 Sep 14 09:37 copy_reference_file.log
drwxr-xr-x 221 root root 7072 Sep 14 08:52 repository
-rw-r--r-- 1 root root 327 Nov 24 2021 settings-docker.xml
-rw-r--r-- 1 root root 9842 Mar 15 2022 settings.xml
drwxr-xr-x 3 root root 96 Nov 19 2021 wrapper
### [Docker] Contents in /root/test
total 8
drwxr-xr-x 3 root root 96 Sep 15 08:53 .
drwx------ 1 root root 4096 Sep 15 08:58 ..
-rw-r--r-- 1 root root 6 Sep 15 08:58 ikk.txt
Here you can see that the volumes are mounted correctly and I can access the files inside the ubuntu container.
How can I mount volumes inside a container in cloud build?
I am unable to build the docker image which will be uploaded to DockerHub/AWS EC2, the folder is owned by root. The docker install is as directed on the official docker docs, the hello-world test runs without error. I am following the post here https://www.raywenderlich.com/1244870-deploying-kitura-with-docker-kubernetes-getting-started
The Swift/Kitura project builds and runs without error.
conor#lenovo:~/workspace/UserInstruction$ ls -la
total 56
drwxr-xr-x 7 conor conor 4096 Dec 11 16:15 .
drwxr-xr-x 7 conor conor 4096 Dec 11 09:52 ..
drwxr-xr-x 5 conor conor 4096 Dec 11 16:13 .build
drwxr-xr-x 5 root root 4096 Dec 11 16:17 .build-ubuntu
-rw-r--r-- 1 conor conor 950 Dec 11 16:16 Dockerfile
-rwxr-xr-x 1 conor conor 876 Dec 10 08:49 Dockerfile-tools
drwxr-xr-x 8 conor conor 4096 Dec 10 11:46 .git
-rw-r--r-- 1 conor conor 53 Dec 10 08:25 .gitignore
-rw-r--r-- 1 conor conor 4144 Dec 11 16:16 Package.resolved
-rw-r--r-- 1 conor conor 716 Dec 11 16:16 Package.swift
-rw-r--r-- 1 conor conor 50 Dec 10 08:25 README.md
drwxr-xr-x 3 conor conor 4096 Dec 10 08:25 Sources
drwxr-xr-x 3 conor conor 4096 Dec 10 08:25 Tests
root#lenovo:~# ls -la /home/conor/workspace/UserInstruction/.build-ubuntu/
total 284
drwxr-xr-x 5 root root 4096 Dec 11 16:17 .
drwxr-xr-x 7 conor conor 4096 Dec 11 16:15 ..
-rw-r--r-- 1 root root 142336 Dec 11 16:17 build.db
drwxr-x--- 17 root root 4096 Dec 11 16:16 checkouts
-rw-r--r-- 1 root root 5283 Dec 11 16:16 dependencies-state.json
-rw-r--r-- 1 root root 2 Dec 11 16:16 regenerate-token
lrwxrwxrwx 1 root root 28 Dec 11 16:17 release -> x86_64-unknown-linux/release
-rw-r--r-- 1 root root 114525 Dec 11 16:16 release.yaml
drwxr-x--- 17 root root 4096 Dec 11 16:16 repositories
drwxr-x--- 3 root root 4096 Dec 11 16:16 x86_64-unknown-linux
swift --version
Swift version 5.1 (swift-5.1.2-RELEASE)
Target: x86_64-unknown-linux-gnu
List of Commands Run
swift build
docker build -t user-instructions-build -f Dockerfile-tools .
docker run -v $PWD:/swift-project -w /swift-project user-instructions-build /swift-utils/tools-utils.sh build release
conor#lenovo:~/workspace/UserInstruction$ docker build -t user-instructions-run .
error checking context: 'can't stat '/home/conor/workspace/UserInstruction/.build-ubuntu/checkouts''.
ls /home/conor/workspace/UserInstruction/.build-ubuntu/
build.db checkouts dependencies-state.json regenerate-token release release.yaml repositories x86_64-unknown-linux
Dockerfile
FROM ibmcom/swift-ubuntu-runtime:4.1.0
MAINTAINER IBM Swift Engineering at IBM Cloud
LABEL Description="Template Dockerfile that extends the ibmcom/swift-ubuntu-runtime image."
# We can replace this port with what the user wants
EXPOSE 8080
# Default user if not provided
ARG bx_dev_user=root
ARG bx_dev_userid=1000
# Install system level packages
# RUN apt-get update && apt-get dist-upgrade -y
# Add utils files
ADD https://raw.githubusercontent.com/IBM-Swift/swift-ubuntu-docker/master/utils/run-utils.sh /swift-utils/run-utils.sh
ADD https://raw.githubusercontent.com/IBM-Swift/swift-ubuntu-docker/master/utils/common-utils.sh /swift-utils/common-utils.sh
RUN chmod -R 555 /swift-utils
# Create user if not root
RUN if [ $bx_dev_user != "root" ]; then useradd -ms /bin/bash -u $bx_dev_userid $bx_dev_user; fi
# Bundle application source & binaries
COPY . /swift-project
# Command to start Swift application
CMD [ "sh", "-c", "swift run" ]
Package.swift
// swift-tools-version:4.1.0
// The swift-tools-version declares the minimum version of Swift required to build this package.
import PackageDescription
let package = Package(
// 1
name: "UserInstruction",
dependencies: [
// 2
.package(url: "https://github.com/IBM-Swift/Kitura.git",
.upToNextMajor(from: "2.0.0")),
// 3
.package(url: "https://github.com/IBM-Swift/HeliumLogger.git",
.upToNextMajor(from: "1.0.0")),
// 4
.package(url: "https://github.com/IBM-Swift/Kitura-CouchDB.git",
.upToNextMajor(from: "3.0.0"))
],
//5
targets: [
.target(name: "UserInstruction",
dependencies: ["Kitura" , "HeliumLogger", "CouchDB"],
path: "Sources")
]
)
full output
Using Mac OS Sierra (Version 10.12.1).... following is the error I get ... Please help
Amits-MacBook-Pro:~ amitsubba$ /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
==> This script will install:
/usr/local/bin/brew
/usr/local/share/doc/homebrew
/usr/local/share/man/man1/brew.1
/usr/local/share/zsh/site-functions/_brew
/usr/local/etc/bash_completion.d/brew
/usr/local/Homebrew
==> The following new directories will be created:
/usr/local/lib
Press RETURN to continue or any other key to abort
==> /usr/bin/sudo /bin/mkdir -p /usr/local/lib
Password:
mkdir: /usr/local/lib: Not a directory
Failed during: /usr/bin/sudo /bin/mkdir -p /usr/local/lib
Amits-MacBook-Pro:~ amitsubba$
You need to delete lib file in /usr/local:
cd /usr/local
rm lib
Also give full permissions to directories Homebrew and Cellar in the same directory:
sudo chmod 777 Homebrew/
sudo chmod 777 Cellar/
And then run below commands:
sudo chown -R $USER /usr/local; brew update
rm -rf /usr/local/.git
Now try to install homebrew using ruby as usual.
Manually create /usr/local/lib and then retry installing.
I just ran into the same problem and it was because I already had a simlink at usr/local/bin
drwxr-xr-x 2 michael.huff admin 64 Mar 18 11:40 Caskroom
drwxrwxrwx 2 michael.huff admin 64 Mar 18 11:40 Cellar
drwxrwxr-x 2 michael.huff admin 64 Mar 18 11:40 Frameworks
drwxrwxrwx 2 michael.huff admin 64 Mar 18 11:40 Homebrew
lrwxr-xr-x 1 michael.huff admin 24 Feb 25 16:54 bin -> /usr/local/jamf/bin/jamf
drwxrwxr-x 2 michael.huff admin 64 Mar 18 11:40 etc
drwxrwxr-x 2 michael.huff admin 64 Mar 18 11:40 include
drwxr-xr-x 3 michael.huff admin 96 Feb 28 23:32 jamf
drwxr-xr-x 2 root wheel 64 Mar 18 14:09 lib
drwxrwxr-x 2 michael.huff admin 64 Mar 18 11:40 opt
drwxrwxr-x 2 michael.huff admin 64 Mar 18 11:40 sbin
drwxrwxr-x 3 michael.huff admin 96 Mar 18 11:40 share
drwxrwxr-x 3 michael.huff admin 96 Mar 18 11:40 var
All I had to do was sudo rm /usr/local/bin and then try reinstalling brew again.
I have a recent version of GVM - in fact, my entire machine is very recent as I wiped off Windows and installed Linux Mint 17 at the end of May or beginning of June. GVM does not install software, doesn't even create the directory (in the example, no 2.4.2 directory - as you can see, the mv fails for this reason). I have had to install the products manually. The "current" points to a non-existent instance if I fail to do so. This has been true of Grails, Groovy and Gradle.
Here is an example:
worldwidewilly#hal9000 ~ $ gvm install grails 2.4.2
Downloading: grails 2.4.2
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- 0:00:05 --:--:-- 0
100 131M 100 131M 0 0 1208k 0 0:01:51 0:01:51 --:--:-- 2092k
Installing: grails 2.4.2
mv: target ‘/home/worldwidewilly/.gvm/grails/2.4.2’ is not a directory
Done installing!
Do you want grails 2.4.2 to be set as default? (Y/n): y
Setting grails 2.4.2 as default.
What need I do to not fail on the install? Are there dependencies in Linux that I need install?
EDIT #1 - adding requested ls
worldwidewilly#hal9000 ~ $ \ls -la ~/.gvm
total 64
drwxr-xr-x 16 worldwidewilly worldwidewilly 4096 Jun 15 12:27 .
drwxr-xr-x 53 worldwidewilly worldwidewilly 4096 Jul 9 22:11 ..
drwxr-xr-x 2 worldwidewilly worldwidewilly 4096 Jul 9 07:58 archives
drwxr-xr-x 2 worldwidewilly worldwidewilly 4096 Jun 15 12:26 bin
drwxr-xr-x 2 worldwidewilly worldwidewilly 4096 Jun 15 12:26 crash
drwxr-xr-x 2 worldwidewilly worldwidewilly 4096 Jun 15 12:26 etc
drwxr-xr-x 2 worldwidewilly worldwidewilly 4096 Jun 15 12:26 ext
drwxr-xr-x 2 worldwidewilly worldwidewilly 4096 Jun 15 12:26 gaiden
drwxr-xr-x 2 worldwidewilly worldwidewilly 4096 Jun 15 12:26 glide
drwxr-xr-x 3 worldwidewilly worldwidewilly 4096 Jun 28 20:54 gradle
drwxr-xr-x 3 worldwidewilly worldwidewilly 4096 Jul 9 08:11 grails
drwxr-xr-x 2 worldwidewilly worldwidewilly 4096 Jun 15 12:26 griffon
drwxr-xr-x 3 worldwidewilly worldwidewilly 4096 Jun 15 12:27 groovy
drwxr-xr-x 2 worldwidewilly worldwidewilly 4096 Jun 15 12:26 src
drwxr-xr-x 6 worldwidewilly worldwidewilly 4096 Jul 9 08:00 tmp
drwxr-xr-x 2 worldwidewilly worldwidewilly 4096 Jun 15 12:27 var
EDIT #2 - adding second second ls
worldwidewilly#hal9000 ~ $ ls -la ~/.gvm/grails
total 12K
524305 drwxr-xr-x 3 worldwidewilly worldwidewilly 4.0K Jul 9 08:11 .
59776162 drwxr-xr-x 16 worldwidewilly worldwidewilly 4.0K Jun 15 12:27 ..
19138378 drwxr-xr-x 10 worldwidewilly worldwidewilly 4.0K Jun 17 10:09 2.4.1
524458 lrwxrwxrwx 1 worldwidewilly worldwidewilly 38 Jul 9 08:11 current -> /home/worldwidewilly/.gvm/grails/2.4.2
EDIT #3 - showing contents of 2.4.1 directory
worldwidewilly#hal9000 ~ $ ls -la ~/.gvm/grails/2.4.1
total 284K
19138378 drwxr-xr-x 10 worldwidewilly worldwidewilly 4.0K Jun 17 10:09 .
524305 drwxr-xr-x 3 worldwidewilly worldwidewilly 4.0K Jul 9 08:11 ..
19267975 drwxr-xr-x 2 worldwidewilly worldwidewilly 4.0K Jun 17 10:10 bin
19138379 -rw-r--r-- 1 worldwidewilly worldwidewilly 22 Jun 17 09:30 build.properties
19267980 drwxr-xr-x 2 worldwidewilly worldwidewilly 4.0K Jun 17 10:10 conf
19267984 drwxr-xr-x 2 worldwidewilly worldwidewilly 64K Jun 17 10:10 dist
19138380 -rw-r--r-- 1 worldwidewilly worldwidewilly 117 Jun 17 09:20 INSTALL
19138382 drwxr-xr-x 62 worldwidewilly worldwidewilly 4.0K Jun 17 10:09 lib
19138381 -rw-r--r-- 1 worldwidewilly worldwidewilly 171K Jun 17 09:20 LICENSE
19267653 drwxr-xr-x 4 worldwidewilly worldwidewilly 4.0K Jun 17 09:20 media
19267952 drwxr-xr-x 2 worldwidewilly worldwidewilly 4.0K Jun 17 10:10 plugins
19138931 -rw-r--r-- 1 worldwidewilly worldwidewilly 2.5K Jun 17 09:20 README
19267876 drwxr-xr-x 2 worldwidewilly worldwidewilly 4.0K Jun 17 10:10 scripts
19267676 drwxr-xr-x 5 worldwidewilly worldwidewilly 4.0K Jun 17 10:09 src
EDIT #4 - adding zip info
worldwidewilly#hal9000 ~ $ which zip
/usr/bin/zip
worldwidewilly#hal9000 ~ $ zip -h
Copyright (c) 1990-2008 Info-ZIP - Type 'zip "-L"' for software license.
Zip 3.0 (July 5th 2008). Usage:
zip [-options] [-b path] [-t mmddyyyy] [-n suffixes] [zipfile list] [-xi list]
The default action is to add or replace zipfile entries from list, which
can include the special name - to compress standard input.
If zipfile and list are omitted, zip compresses stdin to stdout.
-f freshen: only changed files -u update: only changed or new files
-d delete entries in zipfile -m move into zipfile (delete OS files)
-r recurse into directories -j junk (don't record) directory names
-0 store only -l convert LF to CR LF (-ll CR LF to LF)
-1 compress faster -9 compress better
-q quiet operation -v verbose operation/print version info
-c add one-line comments -z add zipfile comment
-# read names from stdin -o make zipfile as old as latest entry
-x exclude the following names -i include only the following names
-F fix zipfile (-FF try harder) -D do not add directory entries
-A adjust self-extracting exe -J junk zipfile prefix (unzipsfx)
-T test zipfile integrity -X eXclude eXtra file attributes
-y store symbolic links as the link instead of the referenced file
-e encrypt -n don't compress these suffixes
-h2 show more help
The problem was that I had improperly aliased my mv command, which caused mv to break. See http://forums.linuxmint.com/viewtopic.php?f=90&t=174548 for a deeper explanation.