SPONSORS:






User Tag List

Thanks Thanks:  0
Likes Likes:  0
Dislikes Dislikes:  0
Results 1 to 5 of 5
  1. #1
    Member
    Join Date
    Apr 2008
    Posts
    85
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Windows Permissions questions

    We've had some random trouble trying to do the following:

    * READ from but not write to files (??) Somehow agent can create files but can't read from them later. We look and see that they're there, and we use the same global file name so we don't think it's bad code. We get around this by changing the location of the file to or away from a network drive. Then it starts inexplicably working. Later it stops, we change it to a local file or a different network drive, and it's good for a while again.

    * Create new registry keys, although we can read from or change existing registry keys. When we attempt, we get error 87 back from the DLL, which means "incorrect parameters." However, we are pretty sure of the parameters.

    I am starting to think these two things are connected, and that it's something to do with Windows permissions. We're running on XP - is there a way to see what user the Agent is running as? This is probably very basic, but it's been some years since I've messed with Windows - I am hoping someone sees something obvious that I am missing.

    Thanks very much for any help!
    Jody

  2. #2
    Senior Member
    Join Date
    Oct 2002
    Location
    England
    Posts
    368
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: Windows Permissions questions

    The quickest way is to start Task Manager and look at agent.exe. If the User Name column isn't shown, go View>Select Columns, then select User Name.

    My preferred method though is to use Process Monitor (from the sysinternals tools), as this shows what groups the account is a member of, along with the specific permissions granted to that account.

    On my rigs, agent.exe runs as local user, ie, whatever account I've logged on as. If you routinely use different accounts this might explain your 'random' behaviour. Account A for example may have been granted rights to a particular (shared) folder by the owner, and Account B may not.

    Regards
    Peat

  3. #3
    Senior Member
    Join Date
    Oct 2002
    Location
    England
    Posts
    368
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: Windows Permissions questions

    I obviously had an Alzheimer's moment. I meant Process Explorer. Process Monitor is a different tool entirely.

  4. #4
    SQA Knight
    Join Date
    Sep 2001
    Location
    Bangalore,India
    Posts
    2,549
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: Windows Permissions questions


    For first pt:
    You need to check the permissions on folder level.

    For Second pt:
    Try with Administrator level...
    Thanks & Regards,
    Palani.
    http://tips-testing.blogspot.com/index.html
    Quote: Donít hesitate to initiate!

  5. #5
    Member
    Join Date
    Apr 2008
    Posts
    85
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: Windows Permissions questions

    Thanks for the leads. . . it's stopped happening but it will come up again, and I can do some looking - it's like the Terminator of issues for me.

 

 

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Search Engine Optimisation provided by DragonByte SEO v2.0.36 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Resources saved on this page: MySQL 7.69%
vBulletin Optimisation provided by vB Optimise v2.6.4 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
User Alert System provided by Advanced User Tagging v3.2.8 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
vBNominate (Lite) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Feedback Buttons provided by Advanced Post Thanks / Like (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Username Changing provided by Username Change (Free) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
BetaSoft Inc.
Digital Point modules: Sphinx-based search
All times are GMT -8. The time now is 10:29 AM.

Copyright BetaSoft Inc.