mmacgregor Contributor.
Contributor.
4695 views

Not enough privileges to perform the operation

Very much a Mac novice here, but starting to look what our recent ZCM 11.2 upgrade can do for us...

Have created a very simple test bundle (display message: "hello world").
Launching the icon with my Administrator user gives me an error "You do not have the privileges to launch this application."

I'm thinking my local user maybe needs ZENworks permissions. zac ul tells me root has SuperUser and * has View
zac ua and zac ue tell me Not enough privileges to perform the operation.

Running as root (sudo -i, zac or sudo zac) I get Not enough privileges to perform the operation with any zac command. As root?!

What gives?
Labels (2)
0 Likes
7 Replies
Knowledge Partner
Knowledge Partner

Re: Not enough privileges to perform the operation

mmacgregor;2190181 wrote:
Very much a Mac novice here, but starting to look what our recent ZCM 11.2 upgrade can do for us...

Have created a very simple test bundle (display message: "hello world").
Launching the icon with my Administrator user gives me an error "You do not have the privileges to launch this application."

I'm thinking my local user maybe needs ZENworks permissions. zac ul tells me root has SuperUser and * has View
zac ua and zac ue tell me Not enough privileges to perform the operation.

Running as root (sudo -i, zac or sudo zac) I get Not enough privileges to perform the operation with any zac command. As root?!

What gives?


Did you change the Permissions? By default they are 644.

HTH.
0 Likes
mmacgregor Contributor.
Contributor.

Re: Not enough privileges to perform the operation

smflood;2190348 wrote:
Did you change the Permissions? By default they are 644.

HTH.

Thanks for the tip... although which folder/file should I be changing permissions (to 755, presumably) for?
I'm not trying to delivery any content yet, and am not able to run zac as root.
0 Likes
Knowledge Partner
Knowledge Partner

Re: Not enough privileges to perform the operation

On 20/04/2012 13:06, mmacgregor wrote:

> Thanks for the tip... although which folder/file should I be changing
> permissions (to 755, presumably) for?
> I'm not trying to delivery any content yet, and am not able to run zac
> as root.


Which category of Mac bundle did you create? Does the "display message"
in your original post relate to an Install or Launch action, perhaps for
an Empty Bundle you created, or to the function of a custom application
you're trying to deploy?

HTH.
--
Simon
Novell/SUSE/NetIQ Knowledge Partner

------------------------------------------------------------------------
Do you work with Novell technologies at a university, college or school?
If so, your campus could benefit from joining the Novell Technology
Transfer Partner (TTP) program. See novell.com/ttp for more details.
------------------------------------------------------------------------
0 Likes
mmacgregor Contributor.
Contributor.

Re: Not enough privileges to perform the operation

It's a pretty trivial app - just an empty Mac bundle with one launch action: display message.

I'm thinking the problem is permissions on the local content repo, but can't figure out where in the file system that is.
0 Likes
gleach1 Absent Member.
Absent Member.

Re: Not enough privileges to perform the operation

I just started playing with the MAC stuff myself yesterday

After much stuffing around, I worked out the following:

Enable the root account by giving it a password (sudo passwd root)

Then you can SU to the root user and run the zac commands

Once I gave my user account +SuperUser rights I could then use ths zac commands - I imaging a bundle could be created to do all of this as a script, but to me it does seem really really cumbersome

Admittedly it does eventually work, but there are sure as hell a lot of hoops to jump through to make it work like windows

Put it this way, it took me half a day to get a working firefox bundle to install and launch, whereas on windows it would take 10 minutes to do the same thing

Good as a proof of concept being able to do stuff with macs and i'm sure i'll get the hang of it eventually...

0 Likes
Knowledge Partner
Knowledge Partner

Re: Not enough privileges to perform the operation

On 20/04/2012 06:26, gleach1 wrote:

> I just started playing with the MAC stuff myself yesterday
>
> After much stuffing around, I worked out the following:
>
> Enable the root account by giving it a password (sudo passwd root)


No, no, no, by default the root account is disabled and it's for good
reason.

> Then you can SU to the root user and run the zac commands


No need, just use "sudo -i".

> Once I gave my user account +SuperUser rights I could then use ths zac
> commands - I imaging a bundle could be created to do all of this as a
> script, but to me it does seem really really cumbersome


You may find a recent Cool Solutions tool submitted by Johnnie Odom
(jlodom) useful -
http://www.novell.com/communities/node/13702/zenworks-112-mac-os-x-tools-1-grant-local-administrator-zac-superuser-rights

> Admittedly it does eventually work, but there are sure as hell a lot of
> hoops to jump through to make it work like windows


Mac OS X <> Windows! 😉

> Put it this way, it took me half a day to get a working firefox bundle
> to install and launch, whereas on windows it would take 10 minutes to do
> the same thing
>
> Good as a proof of concept being able to do stuff with macs and i'm
> sure i'll get the hang of it eventually...


HTH.
--
Simon
Novell/SUSE/NetIQ Knowledge Partner

------------------------------------------------------------------------
Do you work with Novell technologies at a university, college or school?
If so, your campus could benefit from joining the Novell Technology
Transfer Partner (TTP) program. See novell.com/ttp for more details.
------------------------------------------------------------------------
0 Likes
gleach1 Absent Member.
Absent Member.

Re: Not enough privileges to perform the operation

Hi Simon,
Thanks for the pointersm, i'll try it out on my VM and see how I go

I knew root would be switched off for good reason, but was just looking to make it work quickly for my testing

At the risk of sounding silly, why would trying to run a zac command with just 'sudo zac ref' not work when compared to running 'sudo -i zac ref' ??

from reading the manpage for sudo it doesn't sound like the -i switch does much except run some shell variables??

0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.