How can I set the MIME type for all files using magic.properties when running as "SYSTEM" on Windows machine?
![]()
I've created a magic.properties to set the mime of *.sas to text/plain and placed it in C:\Temp\.jazzscm with contents as follows:
Running the following command:
scm --config "C:\Temp" checkin --checkin-deleted -d "C:\source" -v myComponent
Successfully checks in all the files, however, the jazz.mime is not getting set via the magic.properties file.
Anyone have any thoughts on this?
|
One answer
![]()
It sounds like you're affected by this bug: 94903: magic.properties always read from user's home directory, not overrriden by --config
Comments If that's the case, where is the home directory for "SYSTEM" in windows server 2008 R2?
I'm assuming it's under "C:\Windows\System32\config\systemprofile", and i've tried the .jazzscm folder there as well with no luck :-(
For Windows users, the home directory is your user directory (i.e. c:\Users{username}). As reference for others, Linux systems would be /home/{username}.
The process running the scm.exe is the windows SYSTEM account, which doesn't have a directory in C:\Users. http://serverfault.com/questions/9325/where-can-i-find-data-stored-by-a-windows-service-running-as-local-system-accou
|
Your answer
Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.