[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Condor-users] Condor commands execution using system() function in C++



Hi Ian,

I have tried changing the permissions as you suggested. I have assigned
'Full Control' to everyone on the system, and tried executing them. It did
not work and is giving me the same error. As a small test, I created an
executable 'printHI.exe' and put that in the condor\bin folder. When I
executed that using system() function, it worked exactly the way I wanted.
Do you suggest there might be some kind of a problem with configuring condor
itself? If you, do you have any idea how I can change that?

Thank you for all the help

Madhu

-----Original Message-----
From: condor-users-bounces@xxxxxxxxxxx
[mailto:condor-users-bounces@xxxxxxxxxxx] On Behalf Of Ian Chesal
Sent: Tuesday, March 31, 2009 10:46 PM
To: Condor-Users Mail List
Subject: Re: [Condor-users] Condor commands execution using system()
function in C++

> How and where do I check the permissions? And how do I change
> them if required?

Go to the directory where Condor is installed and use Windows Explorer
to view the permissions. See: http://support.microsoft.com/kb/308419

> If the problem were with the account, I
> wouldn't have been able to execute the commands directly on
> the command prompt right? (without using the system()
> function). But I am able to execute them directly.

Not necessarily. It depends on how Condor is configured. If it's
configured to run jobs as the submitting user then yes, you're right,
you shouldn't have a permission problem. But if it's configured to run
jobs as temporary, non-privledged user account on your machine you may
have a permission problem.

- Ian

Confidentiality Notice.
This message may contain information that is confidential or otherwise
protected from disclosure. If you are not the intended recipient, you are
hereby notified that any use, disclosure, dissemination, distribution,  or
copying  of this message, or any attachments, is strictly prohibited.  If
you have received this message in error, please advise the sender by reply
e-mail, and delete the message and any attachments.  Thank you.

_______________________________________________
Condor-users mailing list
To unsubscribe, send a message to condor-users-request@xxxxxxxxxxx with a
subject: Unsubscribe
You can also unsubscribe by visiting
https://lists.cs.wisc.edu/mailman/listinfo/condor-users

The archives can be found at: 
https://lists.cs.wisc.edu/archive/condor-users/