View previous topic :: View next topic |
Author |
Message |
av62
Joined: 13 Apr 2007 Posts: 4
|
Unable to write to test.PJT |
Posted: Fri Apr 13, 2007 8:45 am |
|
|
Hello,
We are using Mplab-7.21 + CCS-PICC-4.018 + CCSC-Plug-in for MPLAB-6.20
We don't give administartor rights on computers
When the user compile, the error:
Unable to write to test.PJT
Contact CCS OUTPUT FILE P
the error don't appears for administrators
What should we change |
|
|
Ttelmah Guest
|
|
Posted: Fri Apr 13, 2007 12:20 pm |
|
|
You will probably need to give the application 'sticky' administrator rights, so thet when running, _it_ has administrator priviledges, though the users do not.
Best Wishes |
|
|
av62
Joined: 13 Apr 2007 Posts: 4
|
|
Posted: Mon Apr 16, 2007 3:17 am |
|
|
Thank Ttelmah,
I don't know hown I can give the application 'sticky' administrator rights.
I found "run as..." by specifying administrator's password itch time:
-the users don't have administrator's password
-the users save their files in their network drive account. (local administrator don't access)
Can you give me more informations about you good idea. |
|
|
Ttelmah Guest
|
|
Posted: Mon Apr 16, 2007 8:37 am |
|
|
Depends on your OS.
On Unix, you set the 'sticky' bit.
In Windows, you create a shortcut to the program as an administator, select 'advanced' on this, and set the option to "run with different credentials". Once set, people using the _shortcut_, will run the final application with the specified credentials, rather than their own.
Best Wishes |
|
|
av62
Joined: 13 Apr 2007 Posts: 4
|
|
Posted: Mon Apr 16, 2007 9:19 am |
|
|
Thank again Ttelmah,
I didn't know this method with Windows XP, but it will not be the solution:
-I don't want to give administrator's password to the students (it is always asked when you start Mplab)
-the users will have difficulties to save their files directly in their network drive account
Other solutions ? |
|
|
Ttelmah Guest
|
|
Posted: Mon Apr 16, 2007 9:38 am |
|
|
You don't give the administrator password to anybody.
One person (you), sets up the shortcut, and the credentials, with the required password. Once done, anyone _running_ the shortcut, automatically runs the _program_ (and only that program), as if they were a administrator, without having to know the password etc.. The 'credentials', are encrypted, and stored along with the shortcut. You set the program as 'read only', so that no changes can be made to it.
This is how things like the backup utility, are able to run and access stuff, not directly accessible to a normal user.
I suggest you do some reading on how this type of thing works, otherwise you do not have enough knowledge to be 'securing' a system well. This is an essential tool, since there are quite a lot of applications in Windows, which assume that they do have significant 'rights, beyond those of a well secured user.
Best Wishes |
|
|
av62
Joined: 13 Apr 2007 Posts: 4
|
|
Posted: Tue Apr 17, 2007 3:38 am |
|
|
Thanks’ again Ttelmah,
I found the good syntaxe (at prompt command: runas /?)
It works
Last problem: Students can't write on C:\
Their personal folder is R:\ (network drive) which is unreachable by local administrator |
|
|
|