Leave feedback
  • Question

    Write to shared directory

Enter a new topic
  • Christofer Lindqvist Christofer Lindqvist StreamServe Employee
    0 likes 1671 views

    Hi,

    Im trying to write my output to a shared directory on another server but experience some problems.

    When i try to write to \\<server>\<share>\ i get the following error:
    File outconnector: Cannot create directory \\<server>\<share>

    If i try to write to a subfolder to the root share it works fine, for example \\<server>\<share>\<newfolder>\

    The user running the application has full access to both share and security.

    It seems like im not able to write to the root share at all, but if i have a subfolder it works fine (existing or created on the fly doesnt matter).

    Any ideas?

    Regards,
    Christofer

     

    Monday 03 October, 2011
  • Best Answer
    David Bares David Bares OpenText Employee Administrator StreamServe Employee
    0 likes

    I think you cannot "create" the output folder identified just by the share name. That makes sense.

    The question is if you need to have "Create directories" flag activated when you write directly to the share name. You cannot create that folder anyway.

    Without this flag activated it is possible to write output to //server/share/

    I understand that in some cases when you dynamically decide where the output goes and sometimes the directories should be created this would still be a problem.

    Monday 03 October, 2011
  • Ronnie Wilhelmsen Ronnie Wilhelmsen StreamServe Employee
    0 likes

    Hi Christofer,

    Does the functional user have full access below:
    Properties -> Sharing -> Advanced Sharing -> Permissions?

    BR`
    Ronnie

    Monday 03 October, 2011
  • David Bares David Bares OpenText Employee Administrator StreamServe Employee
    0 likes

    I think you cannot "create" the output folder identified just by the share name. That makes sense.

    The question is if you need to have "Create directories" flag activated when you write directly to the share name. You cannot create that folder anyway.

    Without this flag activated it is possible to write output to //server/share/

    I understand that in some cases when you dynamically decide where the output goes and sometimes the directories should be created this would still be a problem.

    Monday 03 October, 2011
  • Christofer Lindqvist Christofer Lindqvist StreamServe Employee
    0 likes

    Yes, the user has full access.

    If i create a subdirectory with another user it can write there. If i create a new share with the same user, and try to write to that directory it complains on "cannot create directory", and if i add a subdir that works.

    So i doubt (but can never be 100%) that it is a user access problem (if there isnt any higher security settings for the shares).

    Regards,
    Christofer

    Monday 03 October, 2011
  • Christofer Lindqvist Christofer Lindqvist StreamServe Employee
    0 likes

    The "create directories" flag is turned on and it will create subdirectories in some cases, but not in this one. Of course we only want one outconnector used for this.

    So the connector is trying to create the folder although it already exists? Or its making sure that it could create that folder, if necessary. Doesnt really make any sense to me.

    Regards,
    Christofer

    Monday 03 October, 2011
  • David Bares David Bares OpenText Employee Administrator StreamServe Employee
    0 likes

    I agree that it should check if the folder exists.

    It just seems to me that when this flag is activated, the connector always tries to created it.

    Maybe there are some cross-platform concerns that we do not see why it is implemented the way it is. Maybe not.

    Monday 03 October, 2011
  • Ronnie Wilhelmsen Ronnie Wilhelmsen StreamServe Employee
    0 likes

    I'm shooting from the hip here. But i remember having a problem similar to this back in 2005. And if i'm not remebering it wrong, the solution was to turn RPC service on. Which for some reason wasn't running on the server (or the client). I believe it is on by default.

    BR
    Ronnie

    Monday 03 October, 2011