bugGNU Octave - Bugs: bug #39108, Windows systemprofile permission...

 
 

bug #39108: Windows systemprofile permission denied prevents script run

Submitter:  None
Submitted:  Tue 28 May 2013 08:47:20 PM UTC
   
 
Category:  Configuration and Build System Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Segfault, Bus Error, etc.
Status:  None Assigned to:  None
Originator Name:  Mike Mueller Originator Email:  -email is unavailable-
Open/Closed:  * Closed Release:  * 3.6.4
Operating System:  * Microsoft Windows Fixed Release:  None
Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Thu 20 Jun 2013 03:27:25 AM UTC, comment #3: 

Is this really a problem with Octave?  It seems to be a Windows system administration question.  Particularly as the developers control the code, but not the packaging and installation which is what this seems to be related to.

Rik <rik5>
Group administrator
Tue 28 May 2013 09:51:44 PM UTC, comment #2: 

I am reporting this issue using Windows 7.

Anonymous
Tue 28 May 2013 09:39:57 PM UTC, comment #1: 

Windows 7? or Vista?

If so, it's probably a UAC issue. There are ways to turn off UAC (easiest is through msconfig.exe).
Or you can give yourself a new ordinary user account w/o admin privileges and try again; I'm not sure if this would help.

I'm just new in Win7 and I do not like the inconsistent mix of admin credentials and UAC - to me it's more natural to be a normal (or power-) user and invoke "Run as.... administrator" when needed.

Philip Nienhuis <philipnienhuis>
Group Member
Tue 28 May 2013 08:47:20 PM UTC, original submission:  

I have written an Octave script that is called by an external program that needs to on-the-fly compute a set of parameters and then pass this data back to the program.

My file is very simple, it is a function with two inputs, and returns a single matrix.  I can run it from the command-line just fine.  However, when I call it from within the program I am using it is unable to execute the script - though Octave does run but aborts with an error.

From all of the debugging I have done this does not appear to be a syntax error - rather it appears to be a permissions issue involving the Windows OS and Octave.

Here is the error:

error: C:\windows\system32\config\systemprofile: Permission denied
error: called from:
error: C:\Octave3.6.4_gcc4.6.2_20130408\Octave3.6.4_gcc4.6.2\share\octave\site\m\startup/octaverc at line 26, column 1


I have the only account on the PC which is an Administrator account by default.

I cannot identify the source of the need for talking to systemprofile as line26 of octaverc is commented out.  However, systemprofile is within system32 and thus is a somewhat protected area in windows.  When you first try to access it, you will need to say Yes to give yourself access.  But even this does not resolve the issue.

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by rik5 (Posted a comment)
  • -email is unavailable- added by None (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only group members can vote.

     

    Follows 1 latest change.

    Date Changed by Updated Field Previous Value => Replaced by
    2013-07-01 rik5 Open/ClosedOpen Closed

    Back to the top

    Powered by Savane 3.13-caa5.
    Corresponding source code