Joey, Can you also check what is 2!:5'HOME' when running sudo jconsole?
I want to let pacman knows if the effective user is root because tar will behave differently in such case. (files will retain their original user/permission) A few related questions. does it need privilege for a regular user to install files under /Applications does everyone also have full permission on those files does pacman ever need to concern files are being install under /Applications Also, why permissions of some folders under your /Applications/j64-801/ is not 755, are those default permissions after a fresh install? Thanks Пн, 20 янв 2014, Joey K Tuttle писал(а): > Bill, > > I’m not sure what is being worked on, but the answer to your question is, > Yes, OSX supports sudo. > > Follows a series of commands … > > iMi7:~ jkt$ ls -l / > total 16445 > drwxrwxr-x+ 115 root admin 3910 Dec 20 08:10 Applications > …. > > Mon Jan 20 18:52:06 > iMi7:~ jkt$ ls -l /Applications/j64-801/ > total 16 > drwxr-xr-x@ 26 jkt staff 884 Sep 24 21:09 addons > drwxr-x---@ 13 jkt staff 442 Oct 6 23:48 bin > drwxr-xr-x@ 3 jkt staff 102 Jun 14 2013 jbrk801.app > drwxr-xr-x@ 3 jkt staff 102 Jun 14 2013 jcon801.app > drwxr-xr-x@ 3 jkt staff 102 Jun 14 2013 jhs801.app > drwxr-xr-x@ 3 jkt staff 102 Jun 14 2013 jqt801.app > -rw-r--r--@ 1 jkt staff 94 Jun 14 2013 readme.txt > lrwxr-xr-x 1 jkt staff 85 Oct 6 23:51 startup.ijs -> > /Applications/j64-801/bin/quedprof.ijs/Applications/j64-801/system/config/startup.ijs > drwxr-xr-x@ 7 jkt staff 238 Sep 24 20:33 system > drwxr-x---@ 3 jkt staff 102 Jun 14 2013 tools > > Mon Jan 20 18:53:43 > iMi7:~ jkt$ sudo /Applications/j64-801/bin/jconsole > Password: > i. 3 4 > 0 1 2 3 > 4 5 6 7 > 8 9 10 11 > exit 0 > > Mon Jan 20 18:54:30 > iMi7:~ jkt$ /Applications/j64-801/bin/jconsole > JVERSION > Engine: j701/2011-01-10/11:25 build: Feb 6 2011 16:16:29 > Library: 8.01.012 > Platform: Darwin 64 > Installer: j801 beta install > InstallPath: /Applications/j64-801 > ^D > > Mon Jan 20 18:56:00 > iMi7:~ jkt$ > > Happy to try to help, but still not clear what the question was. > > - joey > > > On 2014 Jan 20, at 17:53 , bill lam <[email protected]> wrote: > > > Does osx support sudo? If yes, can you please check what will > > the output if started by > > sudo /Applications/j64-801/bin/jconsole > > > > Can you also check the file owenr and permission of that that > > folder? > > > > ls -l /Applications/j64-801 > > > > Вт, 21 янв 2014, Ian Clark писал(а): > >> Last login: Fri Jan 17 21:54:08 on ttys000 > >> ians-air:~ ianclark$ /Applications/j64-801/bin/jconsole ; exit; > >> JVERSION > >> Engine: j701/2011-01-10/11:25 build: Feb 6 2011 16:16:29 > >> Library: 8.01.016 > >> Platform: Darwin 64 > >> Installer: j801 beta install > >> InstallPath: /Applications/j64-801 > >> 2!:0'echo $HOME' > >> /Users/ianclark > >> > >> > >> > >> JVERSION > >> > >> Engine: j701/2011-01-10/11:25 build: Feb 6 2011 16:16:29 > >> > >> Library: 8.01.016 > >> > >> Qt IDE: 1.0.22/4.8.5 > >> > >> Platform: Darwin 64 > >> > >> Installer: j801 beta install > >> > >> InstallPath: /Applications/j64-801 > >> > >> 2!:0'echo $HOME' > >> > >> /Users/ianclark > >> > >> > >> > >> > >> > >> JVERSION > >> Installer: j602a_mac_intel.dmg > >> Engine: j602/2008-03-03/16:45 > >> Library: 6.02.069 > >> > >> 2!:0'echo $HOME' > >> /Users/ianclark > >> > >> > >> > >> > >> On Mon, Jan 20, 2014 at 3:05 PM, bill lam <[email protected]> wrote: > >> > >>> Thanks. Can you find what is $HOME when running as root? > >>> > >>> Пн, 20 янв 2014, Ian Clark писал(а): > >>>> @Bill, > >>>> > >>>> It's not me having the problems, it's Rudi. I was guessing at possible > >>>> answers. > >>>> > >>>> Everything I've tried so far with Mavericks on MBA works fine for me. > >>>> > >>>> But do you want me to run some pre-emptive tests? > >>>> > >>>> > >>>> On Sat, Jan 18, 2014 at 2:50 AM, bill lam <[email protected]> wrote: > >>>> > >>>>> @Ian > >>>>> /Applications should be owned by root so as /Applications/j64-801 > >>>>> it may need first su then run j as root in order to run pacman. > >>>>> > >>>>> Did you succeed in running pacman as a regular user? What does > >>>>> it report when running a command "ls -l" on that folder? > >>>>> > >>>>> Did you suggest that it is no longer possible to run unsigned > >>>>> apps under user folder? > >>>>> > >>>>> Пт, 17 янв 2014, Ian Clark писал(а): > >>>>>> @Rudi -- I'll have to bow out at this point. I'm not an expert on the > >>>>>> things that can go wrong with a J installation -- there's other > >>> people on > >>>>>> this list who are. But they'll want to know the following... > >>>>>> > >>>>>> After you've got (i.6) to work, enter: > >>>>>> JVERSION > >>>>>> and post the result. > >>>>>> > >>>>>> I suppose you've done the obvious thing like checking you really do > >>> have > >>>>>> write access to the installation folder? Cos jconsole.app thinks you > >>>>>> haven't. You'll see its path at the bottom of the result of > >>> JVERSION. On > >>>>> my > >>>>>> machine it's > >>>>>> > >>>>>> /Applications/j64-801 > >>>>>> > >>>>>> What I'd do then is look verrrrry carefully at the "Get Info" > >>> window of > >>>>>> both /Applications/j64-801 and its parent, /Applications -- and of > >>> sample > >>>>>> files in those folders. > >>>>>> > >>>>>> Then cast a beady eye at System Preferences > Security & Privacy > >>> (also > >>>>>> Parental Controls, Network, Sharing...). Try using TextEdit to save a > >>>>> test > >>>>>> file into /Applications . I can do it -- can you? Once having saved > >>> it, > >>>>> try > >>>>>> editing it. Try it again, using "cat" and "nano" under Unix in the > >>>>> Terminal > >>>>>> app. Look at its "Get Info" --especially Sharing & Permissions. Is > >>> the > >>>>>> "Locked" checkbox checked? Use Terminal to look at the Unix > >>> permissions > >>>>> of > >>>>>> sample files in /Applications and /Applications/j64-801. > >>>>>> > >>>>>> Have you got a virus checker or other gatekeeper which might be > >>> guarding > >>>>>> write access to /Applications ? There's just so many things on the > >>> Mac > >>>>>> nowadays that can stop J's Package Manager from updating files in a > >>>>>> sensitive folder like /Applications. Mavericks is a new o/s, and in > >>> my > >>>>> long > >>>>>> experience one of the last things o/s developers seem to get right > >>> is the > >>>>>> Permissions structure and its inheritances. > >>>>>> > >>>>>> > >>>>>> On Fri, Jan 17, 2014 at 8:02 AM, Rudi Mann <[email protected]> > >>> wrote: > >>>>>> > >>>>>>> Ian, > >>>>>>> > >>>>>>> thanks for the answer. I tried to do the same, but got different > >>>>> results: > >>>>>>> > >>>>>>>> 1. I downloaded and unzipped: j801a_mac64.zip > >>>>>>>> This gave me a folder: j64-801 in my Downloads folder -which I > >>>>> moved to > >>>>>>>> Applications. > >>>>>>>> Opened jcon801.app --after getting past the "unregistered > >>> developer" > >>>>>>>> gatekeeper :-\ > >>>>>>>> Entered: i.6 > >>>>>>>> --it worked ok. > >>>>>>> > >>>>>>> Here too. > >>>>>>> > >>>>>>>> Before trying *anything* else, entered: install'all' > >>>>>>>> --that worked too. > >>>>>>> > >>>>>>> Not here; this is what I got: > >>>>>>> > >>>>>>> Last login: Fri Jan 17 08:46:22 on console > >>>>>>> admins-MacBook-Pro:~ admin$ /Applications/j64-801/bin/jconsole ; > >>> exit; > >>>>>>> i.6 > >>>>>>> 0 1 2 3 4 5 > >>>>>>> install 'all' > >>>>>>> Unable to run Package Manager, as you do not have access to the > >>>>>>> installation folder. > >>>>>>> > >>>>>>> What now? > >>>>>>> > >>>>>>> Rudi > >>>>>>> > >>> ---------------------------------------------------------------------- > >>>>>>> For information about J forums see > >>> http://www.jsoftware.com/forums.htm > >>>>>>> > >>>>>> > >>> ---------------------------------------------------------------------- > >>>>>> For information about J forums see > >>> http://www.jsoftware.com/forums.htm > >>>>> > >>>>> -- > >>>>> regards, > >>>>> ==================================================== > >>>>> GPG key 1024D/4434BAB3 2008-08-24 > >>>>> gpg --keyserver subkeys.pgp.net --recv-keys 4434BAB3 > >>>>> gpg --keyserver subkeys.pgp.net --armor --export 4434BAB3 > >>>>> ---------------------------------------------------------------------- > >>>>> For information about J forums see http://www.jsoftware.com/forums.htm > >>>>> > >>>> ---------------------------------------------------------------------- > >>>> For information about J forums see http://www.jsoftware.com/forums.htm > >>> > >>> -- > >>> regards, > >>> ==================================================== > >>> GPG key 1024D/4434BAB3 2008-08-24 > >>> gpg --keyserver subkeys.pgp.net --recv-keys 4434BAB3 > >>> gpg --keyserver subkeys.pgp.net --armor --export 4434BAB3 > >>> ---------------------------------------------------------------------- > >>> For information about J forums see http://www.jsoftware.com/forums.htm > >>> > >> ---------------------------------------------------------------------- > >> For information about J forums see http://www.jsoftware.com/forums.htm > > > > -- > > regards, > > ==================================================== > > GPG key 1024D/4434BAB3 2008-08-24 > > gpg --keyserver subkeys.pgp.net --recv-keys 4434BAB3 > > gpg --keyserver subkeys.pgp.net --armor --export 4434BAB3 > > ---------------------------------------------------------------------- > > For information about J forums see http://www.jsoftware.com/forums.htm > > ---------------------------------------------------------------------- > For information about J forums see http://www.jsoftware.com/forums.htm -- regards, ==================================================== GPG key 1024D/4434BAB3 2008-08-24 gpg --keyserver subkeys.pgp.net --recv-keys 4434BAB3 gpg --keyserver subkeys.pgp.net --armor --export 4434BAB3 ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
