Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

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:
*.sas: mime: text/plain

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?

0 votes



One answer

Permanent link
It sounds like you're affected by this bug: 94903: magic.properties always read from user's home directory, not overrriden by --config

1 vote

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

It sounds like you could check %APPDATA% or %LOCALAPPDATA%.

Your answer

Register or log in to post 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.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details

Question asked: Jul 25 '13, 2:24 p.m.

Question was seen: 6,391 times

Last updated: Aug 14 '13, 11:51 a.m.

Confirmation Cancel Confirm