Files in Archive folder having limited access rights

hi forum,
i am using a File->XI scenario, where file is picked from a folder say XP1, and archived (as per configuration in the sender channel) to another folder say Archive, and subsequently sent to Integration server,
the case is, the files in the Archive folder has the owner XP1ADM with access rights rw_ _ _ _ _ _ _,
as a result, i cannot view the files in the Archive folder, as i m using a a user-id which is different from XP1ADM,  -
(i am required to view these files - mandatory requirement)
for information, the UMASK of XP1ADM is 022 (found by typing the command UMASK in it shell),
hence, according to me, the files should have access rights 644 (since UMASK is 022), but the files are having access rights 600,
can you please tell me why it is so,
please help

Gaurav, thanks fro the reply,
i guess even if i keep the user in XPIADM's group, it wont do any good.....as access rights for group in 600 is 0,
  correct me if i m worng....
anyways i didnt understand your reply---->
<<Your administrator has to set the permissions group for the ID you use for this folder similar to XP1ADM.>>
thanks

Similar Messages

  • Any Recommended Purging policy for files in Archive folder?

    Hi All,
    Is there any recommended purge policy for files stored under Archive folder after import from ready folder.We need to delete files that are piling up the Archive,but wondering is there any recommendations.
    Thanks

    Hi,
    Yes it is possible to delete the files under Archive folder. Just follow the below steps:
    1. Create a text file which contain the below lines:
    cd {MDM Installation Path}\Server\......\Archive
    del star . star /q
    Note: Instead of writing "star" use star symol
    E.g. C:\Program Files\SAP MDM 5.5 Server\Distributions\Test-MDM_MSQL\Test-Repo\Inbound\Remote_sys\Inbound_port\Archive
    2. Save the file with .bat extension.
    3. You can schedule this file using Windows Schedular. For this go to Start -> Programs -> Accessories -> System Tools -> Scheduled Tasks and create a new one by double clicking on it. Select the bat file created and accordindly schedule it like daily, weekly etc.
    4. Now whenever the task is due it automatically executes the commands written in bat file and deletes all the files from Archives folder :).
    Its working fine at my end...
    Kindly Reward points and update the thread status
    Regards,
    Jitesh Talreja

  • How to move files to Archive folder in same document library

    hi,
    we have one document library (Upload Documents) in that document library we have Archive Folder , when upload document to upload document library first we want check same document   name is there or not and check version also ,if the same document
    is there in that document library then move to that  document to Archive  folder  with  same version and add to document to  upload document library..
    ex:
    Document Lib name:---Upload document
    folder name-->Archive Folder
    Document: Test.txt and version is 1.0
    when upload  same document to document library the Test.txt file move to archive folder and add same document in upload document library with new version

    you can look at Item Adding Event receiver and before you add the new document do you check and move the document to archive folder 
    Hope that helps|Amr Fouad|MCTS,MCPD sharePoint 2010

  • New folder and modify access rights

    I have played around with a script.
    My script looks like this:
    #Variables
    $GroupNameTIA="F_KSMCommon-common-ScanTIA_m"
    $Directory = Read-Host "Folder name: "
    $DirectoryPath = "z:\$Directory"
        #Mount directory
        Net use Z: \\stg-w75\ksmcommon\common\ScanTIA
        #Create new folder
        New-Item -Type directory -path $DirectoryPath
        takeown.exe /F $DirectoryPath
        #Read and modify ACL
        $ACL = Get-Acl $DirectoryPath
        $ACL.SetAccessRuleProtection($True, $True)
        Set-Acl
    $DirectoryPath $ACL
        $user_Account = $GroupNameTIA
        $Acl = (Get-Item $DirectoryPath).GetAccessControl(“Access”)
        $Ar = New-Object system.Security.AccessControl.FileSystemAccessRule($user_account,
    “FullControl”, “ContainerInherit, ObjectInherit”, “None”, “Allow”)
        $Acl.Setaccessrule($Ar)
        Set-Acl
    $DirectoryPath $Acl
        $Ace = New-Object System.Security.AccessControl.FileSystemAccessRule (
        $GroupNameTIA,
    "Delete", 
            [System.Security.AccessControl.InheritanceFlags]::None, 
            [System.Security.AccessControl.PropagationFlags]::None, 
            [System.Security.AccessControl.AccessControlType]::Allow
        $SD = Get-Acl $DirectoryPath
        $SD.RemoveAccessRule($Ace)
        (Get-Item
    $DirectoryPath).SetAccessControl($SD) 
        #delete mounted directory
        net use /d z:
    If I run this script I got an error:
    Set-Acl : Attempted to perform an unauthorized operation.
    At C:\PSScripts\NeuerScanOrdner.ps1:187 char:12
    +     Set-Acl <<<<  $DirectoryPath $ACL
        + CategoryInfo          : PermissionDenied: (Z:\tia-test5:String)
    [Set-Acl], UnauthorizedAccessException
        + FullyQualifiedErrorId : System.UnauthorizedAccessException,Microsoft.PowerShell.Commands.SetAclCommand
    Set-Acl : Attempted to perform an unauthorized operation.
    At C:\PSScripts\NeuerScanOrdner.ps1:193 char:12
    +     Set-Acl <<<<  $DirectoryPath $Acl
        + CategoryInfo          : PermissionDenied: (Z:\tia-test5:String)
    [Set-Acl], UnauthorizedAccessException
        + FullyQualifiedErrorId : System.UnauthorizedAccessException,Microsoft.PowerShell.Commands.SetAclCommand
    It makes no difference whether I let
    the script run with an administator
    account or "run as administrator".
    Although I am the owner of the folder, I get this
    error message.
    I do not know why this happend. Whats wrong?

    Set-Acl is a flawed cmdlet. It often tries to call the API to write the security descriptor with the flags to change the owner and SACL, both of which require privilege activation (doesn't matter if your account has the privileges, they need to be enabled,
    too). There are a few bugs about this on the Connect site.
    I get a more descriptive error than you did when I try to run your script, but maybe those differences are due to different PowerShell versions. Anyway, I almost never use Set-Acl, and instead use the .SetAccessControl() method of the file object (which
    you already did at least once in your script).
    The following worked for me, so let me know if it doesn't work for you (make sure you put back in the part where the $DirectoryPath and $GroupNameTIA variables are defined):
    $ACL = Get-Acl $DirectoryPath
    $ACL.SetAccessRuleProtection($True, $True)
    # Apply rule protection and get the SD again:
    (Get-Item $DirectoryPath).SetAccessControl($ACL)
    $ACL = Get-Acl $DirectoryPath
    # Give group full control:
    $Ar = New-Object system.Security.AccessControl.FileSystemAccessRule (
    $GroupNameTIA,
    "FullControl",
    "ContainerInherit, ObjectInherit",
    "None",
    "Allow"
    $ACL.SetAccessRule($Ar)
    # Now remove delete rights from folder
    $Ace = New-Object System.Security.AccessControl.FileSystemAccessRule (
    $GroupNameTIA,
    "Delete",
    [System.Security.AccessControl.InheritanceFlags]::None,
    [System.Security.AccessControl.PropagationFlags]::None,
    [System.Security.AccessControl.AccessControlType]::Allow
    $null = $ACL.RemoveAccessRule($Ace)
    # Apply the changes:
    (Get-Item $DirectoryPath).SetAccessControl($ACL)
    The
    PowerShellAccessControl module has a function called Set-SecurityDescriptor that works like Set-Acl, except it won't try to set the owner or SACL unless needed.

  • Limited Access not working as intended

    In SharePoint 2010 when Limited Access (fine grain permissions) is enabled you could assign permissions for a user on a list item or list etc. SharePoint would then grant Limited Access permissions for that same user on parent scopes. This allowed the user
    to have access to shared resources such as navigation and master pages allowing him to traverse to the target item or list without having access to any other content.
    I can't seem to replicate this in SharePoint 2013. I have the following features:
    SharePoint Server Publishing Infrastructure: Enabled (site collection feature)
    Limited-access user permission lockdown mode: Disabled (site collection feature)
    SharePoint Server Publishing: Enabled on all sites (Site feature)
    If I assign permission to a user for a list. The user can view that list via URL, but cannot view the parent webs/sites. Cannot view the navigation (site scope).
    If anyone has any idea as to why Limited Access isn't working as I hoped it would, I would be very appreciative of any help!
    Regards,
    Damien

    Since Publishing is enabled, the pages are stored in the Pages library and CSS etc is stored in the Style library.  Make sure that users have access to those locations.  If they don't then having limited access won't allow viewing the default
    page and navigation.  I suspect in 2010 you were using sites where the default page was stored directly in the site root folder rather than in a library.  Changes in 2013 moved away from that design.  So limited access normally won't allow display
    of the root site unless you also give users access to the page and any additional required material.
    Paul Stork SharePoint Server MVP
    Principal Architect: Blue Chip Consulting Group
    Blog: http://dontpapanic.com/blog
    Twitter: Follow @pstork
    Please remember to mark your question as "answered" if this solves your problem.

  • Reg:File adapter archive Directory

    Dear team,
    Our requirement is to read a csv file from a directory and archive the file in archive folder specified in the file adapter.
    If any exception is caught,then we need to read the archieve file from archive directory rename the archive file with source file name and place it in source directory.
    On the receive activity we are able to get the source file name and source file directory.
    <receive name="Receive1" createInstance="yes"
    variable="Receive1_Read_InputVariable" partnerLink="fileRead"
    portType="ns1:Read_ptt" operation="Read">
    <bpelx:property name="jca.file.FileName" variable="srcFileName"/>
    <bpelx:property name="jca.file.Directory" variable="srcDrFolder"/>
    How to get the archive file name and archive file directory from the receive activity so that we can store in local variables.
    Pls do help.
    Thanks

    Hi,
    Another way you can accomplish your scenario. Instead of deleting or archiving in beginning just move the file from inbound to archive location after business flow completion.
    In case of error, the file will remain at original position as moving operation is at the end.
    First read the file using read operation, then at the end create a file adapter with sync read operation. Change the entries in .jca generated with below sample.
    Sample jca file.
    <endpoint-interaction portType="SynchRead_ptt" operation="SynchRead">
    <interaction-spec className="oracle.tip.adapter.file.outbound.FileIoInteractionSpec">
    <!-- Below properties are dummy except Type , it will be changed in runtime -->
    <property name="SourcePhysicalDirectory"
    value="srcdir"/>
    <property name="SourceFileName" value="abc.txt"/>
    <property name="TargetPhysicalDirectory"
    value="targetdir"/>
    <property name="TargetFileName" value="abc.txt"/>
    <property name="Type" value="MOVE"/>
    </interaction-spec>
    Then,in you bpel flow at the invoke for sync read add these two properties.
    <bpelx:inputProperty name="jca.file.SourceFileName"
    variable="varInputFileName"/>
    <bpelx:inputProperty name="jca.file.TargetFileName"
    variable="varArchiveFileName"/>
    <bpelx:inputProperty name="jca.file.SourceDirectory"
    variable="varInputDirectory"/>
    <bpelx:inputProperty name="jca.file.TargetDirectory"
    variable="varArchiveDirectory"/>
    - It is considered good etiquette to reward answerers with points (as "helpful" - 5 pts - or "correct" - 10pts).
    Thanks,
    Durga

  • How do i change the access rights for every file in every sub-folder?

    I have an external drive that was shared between my PC and my iMac (running Snow Leopard 10.6.5).
    Some of the files created by my PC have the following access rights (privileges):
    Me: Custom
    staff: Custom
    everyone: Custom
    I want every file to have the following access rights (privileges):
    Me: Read & Write
    staff: Read & Write
    everyone: Read & Write
    I presume that I need to go into the terminal and run some command line program, but I have no idea what program or what options (or even where to look for such a program). Can someone tell me how to do this, so that every file in every sub-folder has the same access rights?

    Well, that's different. Most people do not install anything on their PC to read an HFS+ disk, so I assumed it was formatted for the PC. [See my above post|http://discussions.apple.com/thread.jspa?messageID=12843313#12843313].
    Note that it is the same as what you asked about, except with numbers instead of the letter equivalents.
    Posix permissions are for User;Group;Other (ugo) and each one can have read/write/execute permissions. Read = 4, Write = 2, and Execute = 1. So, for rwx you set 421=7.
    I try to make it safe by not typing in the file path. If you do what you posted, you will change the startup volume's permissions. The path to your external is /Volumes/ext hd mount point. If you start typing the path and accidentally hit return before finishing the full path, you could fubar something you didn't want to. So, I type the command, leave a space, and then drag the target to the Terminal window.
    You might also consider the GUI based permission changing program, [BatChmod|http://www.macchampion.com/arbysoft/BatchMod/Welcome.html].
    Message was edited by: Barney-15E

  • Archiving  file in different folder in sender file adapter

    Hi,
    I have a requirement in witch i have to pick 7 different file from seven different folder.
    for this I am using advance selection tab and defining all the other folder path.
    but my problem is I have to archive the different file in different folder .
    For exm..
    /folder1/file1.txt need to be archive in /archive_filder1/file1.txt
    /folder2/file2.txt need to be archive in /archive_filder2/file2.txt
    /folder3/file3.txt need to be archive in /archive_filder3/file3.txt
    can any one tell me that how to  define the dynamic  archive folder path??.
    regards,
    Navneet

    Hi Navneet
    In File Access parameters --> Target Directory
    Use this type of Directory name
    \XIDEV_STORES\%store%\sapoutbound
    here %store% will be changed accordingly
    e.g. if file will come for store 001 then this %Store% will be replaced by 001 and file will be placed in this 001 folder and if file will come for store 002 then this %Store% will be replaced by 002 and file will be placed in this 002 folder over FTP.
    For to achieve this Go to Advanced tab 
    For Variable Substitution check mark Enable
    Now speciofy the parameter values for Variable Name and Reference
    Under Vriable name specify = store
    Under Reference specify = payload:WP_PLU02,1,IDOC,1,EDI_DC40,1,RCVPRN,1     -
    You have to give full path name here that where this store variable is located into IDOC.
    Hope this example will help you
    Regards
    Dheeraj Kumar

  • I keep getting this error in Dreamweaver when I am trying to upload my website?  Can you tell me what I am doing wrong?  here is the error message: /html - error occurred - Unable to create remote folder /html.  Access denied.  The file may not exist, or

    I keep getting this error in Dreamweaver when I am trying to upload my website?  Can you tell me what I am doing wrong?  here is the error message: /html - error occurred - Unable to create remote folder /html.  Access denied.  The file may not exist, or there could be a permission problem.   Make sure you have proper authorization on the server and the server is properly configured.  File activity incomplete. 1 file(s) or folder(s) were not completed.  Files with errors: 1 /html

    Nobody can tell you anything without knowing exact site and server specs, but I would suspect that naming the folder "html" wasn't the brightest of ideas, since that's usually a default (invisible) folder name existing somewhere on the server and the user not having privileges to overwrite it.
    Mylenium

  • File Sender Adapter - File overwritting in the Archiving folder

    Hello Experts,
    I am doing File sender to proxy Receiver Async Scenario.
    In File Sender adapter, i am using the Archiving option by spacifying the
    Archiving path.
    Files are picked up and archiving happen successfully.
    Problem is: - once the File is picked up and archivied into the Archiving location
    If end user again rectifies some data in the same file and place it in the source directory
    then i am getting the following error in RWB Commu. channel monitoring.
    Failed to archive file 'File1.TXT' as '/Input File location/File1.TXT' after processing. The FTP server returned the following error message: 'com.sap.aii.adapter.file.ftp.FTPEx: 550 File not renamed.  File already exists.  You may delete the existing file and then rename.u2019 For details, contact your FTP server vendor.
    I know this is because of File sender adapter is trying to archive the file with the same name(File1.txt) in the archiving location.
    My Question: - Is there any option to allow the File sender Adapter for overwritting the
    File in the archiving location.
    Thanks & Regards
    Jagesh

    check if there is proper rights to over write files in the archive folder.
    The problem seems to be that the rights/authorization is not there. Else the adapter usually overwrites files in the archive folder unless you use the timestamp option.
    Archive
    Files that have been successfully processed are moved to an archive directory.
    u25A0       To add a time stamp to a file name, select the Add Time Stamp indicator.
    The time stamp has the format yyyMMdd-hhMMss-SSS. The time stamp ensures that the archived files are not overwritten and it enables you to sort them according to the time that they were received.
    u25A0       Under Archive Directory, enter the name of the archive directory.
    u25A0       If you want to archive the files on the FTP server, set the Archive Files on FTP Server indicator. If you do not set the indicator, the files are archived in the Adapter Engine file system.

  • Accessing files in a folder

    I'm wanting to a do a little program that will access the images in a folder and display them. If I have access to a function that could select the next file in a folder I could create the rest myself, but I haven't heard of a function that does this.
    Anyone able to point me in the right direction?

    You can get an array of File for all files in a given directory using File.listFiles(). So create a new File that represents the directory with all the images in it then get an array using listFiles() and then iterate over that array displaying each.

  • Error 1321 when updating Adobe Acrobat Pro even if profile has admin rights and parent folder has full access privileges.

    Error 1321 when updating Adobe Acrobat Pro even if profile has admin rights and parent folder has full access privileges.
    Exact error below:
    error 1321: the installer has insufficient privileges to modify the file C:\Program Files (x86)\Adobe\Acrobat 10.0\Acrobat\Xtras\AdobePDF\I386\[dll file]
    Thanks in advance!

    My first thought is to not just apply permissions to the folder but be sure to apply them to all objects inside them. It would be interesting to see if you can rename this file, then rename it back to its original name; this would test permissions nondestructively.

  • Insufficient Access Rights when trying to modify send as permissions on a public folder

    Where I work, we have 2 mailbox database servers and 2 cas servers on Exchange 2010, upgraded from Exchange 2003. We are finding that when trying to grant a user send as rights to a publlic folder we are getting an Insufficient Access Rights error. The
    bizzare thing is for one particluar folder we can amend the send as rights with no issue on one of the cas servers but not the other cas or either db servers.
    You would have thought if it was a user permissions issue i.e the adminsitrator not having sufficent rights it would fail on every server and likewise if it was a problem with the folder itself, why is it working on one of the cas servers? Also on
    the one server this particluar folder does allow us to amend the rights, when we try to amend others we get the same error 
    If anyone has come accross this before and knows a fix please share it.
    Thanks

    Hi,
    Please check the ownership of the affected public folder to make sure it points to the right server.
    Here is a similar thread which may help you, please following the suggests in this thread to check result.
    https://social.technet.microsoft.com/Forums/office/en-US/0960b944-82b2-42f1-b438-a7d57b7ab783/insuffaccessrights?forum=exchangesvrgenerallegacy
    Best regards,
    Belinda Ma
    TechNet Community Support

  • Database create error due to folder access right.

    I have an application which will create a SQL database(using CREATE DATABASE) and the database files are supposed to be placed in c:\program files\myApp\data\myDatabase.mdf
    However, when I try to do so, I get the following error:
    System.ApplicationException: System.Data.SqlClient.SqlException: CREATE DATABASE failed. Some file names listed could not be created. Check related errors.CREATE FILE encountered operating system error 5(Access Denied) while attempting to open or create the physical file 'C:\Program Files\myApp\data\myDatabase.mdf'.
    My window login already have administrator role.
    The problem can be solved if I manually add full access right to my login in window exploder.  However, how can I do this programmatically?  Or what is the proper way to create database located under my application folder?

    I get this error ("error 5(Access is denied) while attempting to open or create the physical file...") under the following circumstances:
    1) Using SSE
    2) create a database
    3) Attach to it with SQL Server Studio
    4) Detach
    5) Attach again -- I then get the error. 
    I tried stopping and restarting the server - no success.  I can recreate the database and get my one-shot access again so, at this point, I'm lost.

  • Canos EOS 60D: file access rights differ, dependant on mode of import

    I have stumbled upon the most stupefying and inexplicable inconsistency when importing photos from the Canon EOS 60D into iPhoto 09 via USB cable. I then move these files into a new empty folder on my desktop. Some files have access rights allocated to the user group "staff", and some do not. I discovered that pictures taken in portrait mode (camera rotated 90 degrees) have the "staff" access enabled, and those taken in horizontal mode do not. But this gets better still: when I take the very same Transcend 16 GB SDHC card and import these very same pics via the built-in SD slot and iPhoto on the iMac and move these pics to a new empty folder, ALL of them have "staff" access rights. Strange, right?
    Interestingly, this does not happen when I use a Canon EOS 20D. All pics get the "staff" group allocated with the 20D via USB.
    This is really bothersome, because I usually import via USB and move these pic folders to a 10.4 server. No "staff" means that the ACL´s don´t work properly, and I have to manually change access rights for other users.
    Anyone out there have an idea or an explanation for this? I really am at a loss this time.....
    Harald

    Haven´t tried image capture yet, will do so on Monday. Will also try copying files directly off of the card, into a new folder (bypassing iPhoto) to see what happens.
    Thing is that users on the network rely on the simplicity of the iPhoto import, which is why I am keen to find the cause of this anomaly. Any other ideas out there on what the cause might be?

Maybe you are looking for

  • How to CHECK WHETHER LOWER CASE OR UPPER CASE  IN CUSTOM TABLE

    Dear Friends,                  I have a requirement where from  the flat file  i have collected into the internal table is as below :   IDNo.     Name     Date      Location   Designation  Dept   101       raja      4/12/2007  Delhi      manager     

  • Record validations

    hello, I am new to mdm i have learnt some mdm console and data manager. now i am feeling problem in writing expersions in record validation. I understand them well but dont know how to write this. can anybody give me example for this. good luck.. Jyo

  • CORRUPTED INSTANT CLIENT IA64 DISTRIBUTIVE

    Hello! We found what Oracle Instant Client for Windows 64-bit Itanium downloadable from http://download.oracle.com/otn/nt/instantclient/instantclient-basic-win64-10.1.0.3-20050303.zip is corrupted. Could you check it and fix the problem, please? Than

  • Ad agent connection erro unable to connect to server :0

    Hello i want to configure ad agent 1.0.0.32 build 539 on windows server 2008 with patch installed. but when i execute adactrl show running i see that Cisco AD Agent adactrl -- version 1.0.0.32, build 539 Connection error. Unable to connect to server:

  • Deployed web services disappear

    Folks, I have installed CE 7.1 SP3 trail version, When I deploy the web service, I can go to web service navigator and I see my web service there. However, they disappear from web services navigator if I restart my server. How do I make them persiste