I'm on a Mac w. Mountain Lion and I want to put my vm in /usr/local/bin, but my account is not an administrator. sudo does not help: sudo curl -L get.pharo.org/vm | bash Password: % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 5272 100 5272 0 0 26464 0 --:--:-- --:--:-- --:--:-- 51686 Downloading the latest pharoVM: http://files.pharo.org/vm/pharo/mac/stable.zip mkdir: pharo-vm: Permission denied ----- Cheers, Sean -- View this message in context: http://forum.world.st/ZeroConf-and-write-permission-tp4692903.html Sent from the Pharo Smalltalk Developers mailing list archive at Nabble.com.
I think the sudo only takes the first command, curl, not the bash. Maybe sudo "curl -L get.pharo.org/vm | bash" or something like that ? Sven On 12 Jun 2013, at 03:58, "Sean P. DeNigris" <sean@clipperadams.com> wrote:
I'm on a Mac w. Mountain Lion and I want to put my vm in /usr/local/bin, but my account is not an administrator. sudo does not help:
sudo curl -L get.pharo.org/vm | bash Password: % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 5272 100 5272 0 0 26464 0 --:--:-- --:--:-- --:--:-- 51686 Downloading the latest pharoVM: http://files.pharo.org/vm/pharo/mac/stable.zip mkdir: pharo-vm: Permission denied
----- Cheers, Sean -- View this message in context: http://forum.world.st/ZeroConf-and-write-permission-tp4692903.html Sent from the Pharo Smalltalk Developers mailing list archive at Nabble.com.
Something new for my h2 files ;) https://github.com/dh83/script/blob/master/h2Source.txt => http://stackoverflow.com/questions/5560442/how-to-run-two-commands-in-sudo sudo -s -- "curl get.pharo.org/vm | bash" BTW the "-L" option is no longer needed ;) On 2013-06-12, at 07:26, Sven Van Caekenberghe <sven@stfx.eu> wrote:
I think the sudo only takes the first command, curl, not the bash.
Maybe sudo "curl -L get.pharo.org/vm | bash" or something like that ?
Sven
On 12 Jun 2013, at 03:58, "Sean P. DeNigris" <sean@clipperadams.com> wrote:
I'm on a Mac w. Mountain Lion and I want to put my vm in /usr/local/bin, but my account is not an administrator. sudo does not help:
sudo curl -L get.pharo.org/vm | bash Password: % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 5272 100 5272 0 0 26464 0 --:--:-- --:--:-- --:--:-- 51686 Downloading the latest pharoVM: http://files.pharo.org/vm/pharo/mac/stable.zip mkdir: pharo-vm: Permission denied
----- Cheers, Sean -- View this message in context: http://forum.world.st/ZeroConf-and-write-permission-tp4692903.html Sent from the Pharo Smalltalk Developers mailing list archive at Nabble.com.
Camillo Bruni-3 wrote
=> http://stackoverflow.com/questions/5560442/how-to-run-two-commands-in-sudo
Thank you for not GTFAing me ;) It was a long day. Now that I remember how to search, how about (from http://innovationsts.com/?p=2758): curl get.pharo.org/vm | sudo bash Camillo Bruni-3 wrote
BTW the "-L" option is no longer needed ;)
ZeroConf is getting simpler and simpler! https://pharo.fogbugz.com/f/cases/10891/Zeroconf-Remove-L-from-Help ----- Cheers, Sean -- View this message in context: http://forum.world.st/ZeroConf-and-write-permission-tp4692903p4692969.html Sent from the Pharo Smalltalk Developers mailing list archive at Nabble.com.
Or curl http://get.pharo.org/vm | sudo bash. frank On 12 June 2013 06:26, Sven Van Caekenberghe <sven@stfx.eu> wrote:
I think the sudo only takes the first command, curl, not the bash.
Maybe sudo "curl -L get.pharo.org/vm | bash" or something like that ?
Sven
On 12 Jun 2013, at 03:58, "Sean P. DeNigris" <sean@clipperadams.com> wrote:
I'm on a Mac w. Mountain Lion and I want to put my vm in /usr/local/bin, but my account is not an administrator. sudo does not help:
sudo curl -L get.pharo.org/vm | bash Password: % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 5272 100 5272 0 0 26464 0 --:--:-- --:--:-- --:--:-- 51686 Downloading the latest pharoVM: http://files.pharo.org/vm/pharo/mac/stable.zip mkdir: pharo-vm: Permission denied
----- Cheers, Sean -- View this message in context: http://forum.world.st/ZeroConf-and-write-permission-tp4692903.html Sent from the Pharo Smalltalk Developers mailing list archive at Nabble.com.
On 12 Jun 2013, at 12:13, Frank Shearar <frank.shearar@gmail.com> wrote:
Or curl http://get.pharo.org/vm | sudo bash.
Yes, of course, much better !
frank
On 12 June 2013 06:26, Sven Van Caekenberghe <sven@stfx.eu> wrote:
I think the sudo only takes the first command, curl, not the bash.
Maybe sudo "curl -L get.pharo.org/vm | bash" or something like that ?
Sven
On 12 Jun 2013, at 03:58, "Sean P. DeNigris" <sean@clipperadams.com> wrote:
I'm on a Mac w. Mountain Lion and I want to put my vm in /usr/local/bin, but my account is not an administrator. sudo does not help:
sudo curl -L get.pharo.org/vm | bash Password: % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 5272 100 5272 0 0 26464 0 --:--:-- --:--:-- --:--:-- 51686 Downloading the latest pharoVM: http://files.pharo.org/vm/pharo/mac/stable.zip mkdir: pharo-vm: Permission denied
----- Cheers, Sean -- View this message in context: http://forum.world.st/ZeroConf-and-write-permission-tp4692903.html Sent from the Pharo Smalltalk Developers mailing list archive at Nabble.com.
On 2013-06-12, at 12:13, Frank Shearar <frank.shearar@gmail.com> wrote:
Or curl http://get.pharo.org/vm | sudo bash.
that was my first guess, but it didn't work under my zsh shell and mac...
On 12 June 2013 11:40, Camillo Bruni <camillobruni@gmail.com> wrote:
On 2013-06-12, at 12:13, Frank Shearar <frank.shearar@gmail.com> wrote:
Or curl http://get.pharo.org/vm | sudo bash.
that was my first guess, but it didn't work under my zsh shell and mac...
Strange. It works in bash. frank
On 2013-06-12, at 12:49, Frank Shearar <frank.shearar@gmail.com> wrote:
On 12 June 2013 11:40, Camillo Bruni <camillobruni@gmail.com> wrote:
On 2013-06-12, at 12:13, Frank Shearar <frank.shearar@gmail.com> wrote:
Or curl http://get.pharo.org/vm | sudo bash.
that was my first guess, but it didn't work under my zsh shell and mac...
Strange. It works in bash.
I have to enter a password for sudo, maybe it's that?
On 12 June 2013 11:51, Camillo Bruni <camillobruni@gmail.com> wrote:
On 2013-06-12, at 12:49, Frank Shearar <frank.shearar@gmail.com> wrote:
On 12 June 2013 11:40, Camillo Bruni <camillobruni@gmail.com> wrote:
On 2013-06-12, at 12:13, Frank Shearar <frank.shearar@gmail.com> wrote:
Or curl http://get.pharo.org/vm | sudo bash.
that was my first guess, but it didn't work under my zsh shell and mac...
Strange. It works in bash.
I have to enter a password for sudo, maybe it's that?
I had to, too. Er, hang on. I ran `echo "foo" | sugo grep f` first, so when I actually ran the curl stuff I didn't have to enter a password. frank
Frank Shearar-3 wrote
Or curl http://get.pharo.org/vm | sudo bash.
Ha ha, I see Frank beat me to it ;) ----- Cheers, Sean -- View this message in context: http://forum.world.st/ZeroConf-and-write-permission-tp4692903p4692972.html Sent from the Pharo Smalltalk Developers mailing list archive at Nabble.com.
participants (4)
-
Camillo Bruni -
Frank Shearar -
Sean P. DeNigris -
Sven Van Caekenberghe