I'm trying to convert a simple batch script into a package. According to my (limited) understanding of packaging, this would mean that I would store the script in
The problem is, the batch script uses a different sh script stored somewhere else. The sh script cannot be run as a
sudo, and the sh script needs to read/write to files in the directory of the sh script. What this means is that I need to have a location to store this script (and the files it uses) without requiring
sudo. Would this be possible?
(BTW, as the script also downloads files to the users home directory (
~), I can't make someone run the script with
sudo because file ownership is then incorrectly handled with the downloaded files. Unless that would be fixable.)