To change default backup file permission for dsconf

Hi,
I was wondering if it is possible and ADVISABLE to change the default backup file permission for dsconf util. We're having two OS users, once which runs the script, and other which runs the dsconf. We're not allowed to schedule crontab from the second user profile. Hence, the user which runs the script will not be able to purge the old backup files as part of the backup process.
-rw------- 1 tty gis 32M Dec 15 22:00 usersConfig-15-12-11.ldif
Any thoughts if anyone has come across such issue.
Thanks, JPrince

So if I understand correctly, there is one user which creates the backups, and can run cron scripts. A second user runs some script on the backup, but doesn't have permissions to remove the backup once the script finishes.
Changing the permissions on the file itself is not enough, you have to have write permission on the directory which contains it as well. This doesn't sound (to me) like something you really want to do.
What I would suggest thinking about is having directory or file somewhere that both users can read/write.
When the script finishes processing, write the name of the backup into that file (or create an empty file in the directory with the same name as the backup).
Run a cron script from the first user (the one that creates the backups) which checks for names of processed files. If it finds any, it removes those backups, and the names from the file/directory.

Similar Messages

  • How to change default Current Flag values for SCD2?

    I'd be curious to find out how to change default Current Flag values for SCD2 (instead of 0/1 to use N/Y)
    Probably I can change IKM module .... is there another way?
    Thanks

    Hi,
    You need change the IKM. This values are hardcode in the IKM.
    You can create a new IKM and the values used are a options of the IKM.
    Regards
    Edited by: Uthred on May 18, 2009 4:27 PM

  • Please can you tell me the default maximum file size for an attachment in Case Management v12 ?

    Hi,
    Please can you tell me the default maximum file size for an attachment in Case Management v12+? I am able to define a maximum attachment size but I am not able to see what the default is set to.
    Thank you
    Regards,
    Anthony

    Hi,
    The default max attachment size is 8MB.
    Regards.
    Mike

  • How do I change the .php file name for a page of my site?

    how do I change the .php file name for a page of my site? The only link to the page is the nav. button link for it in the global nav. The reason I need to change the file name is we want the breadcrumbing name to change and the breadcrumbing is linked to the file name.

    The reason I need to change the file name is we want the breadcrumbing name to change and the breadcrumbing is linked to the file name.
    I don't understand this reason. How would changing the file extension solve your breadcrumb issue? Why don't you explain the issue in more detail.

  • SQL to find rman backup files required for recovery?

    Hi folks,
    I'm looking for a sql statement that I can use to query the database and return a list of the RMAN backup files needed for a successful recovery based on a SCN or a point in time. I want to do it through SQL (not though rman) because I want to script an automated refresh process. My databases are backed up online, so I would need any archive log backups done during the database backup as well. So for example...
    I do a database backup
    Then do an archive log backup.
    Pass a SQL script the lowest and highest scn numbers during the backup.
    It returns a list of the rman backup pieces needed to do a successful recovery.
    I've got a script, below, which shows the lowest and highest scn during the last full backup (all datafiles which exist have been backed up), if someone understands what I'm looking for and has done something similar, I would really appreciate any insight you may have. What I'd want to get back from the SQL is the names of the rman backup files (handles) which would be needed to get the database recovered to the highest scn during the backup.
    SELECT MIN(VBD.CHECKPOINT_CHANGE#), MAX(VBD.CHECKPOINT_CHANGE#)
    FROM V$BACKUP_DATAFILE VBD, V$DATAFILE VDF,
    (SELECT
    CREATION_CHANGE#,
    MAX(COMPLETION_TIME) COMPLETION_TIME
    FROM V$BACKUP_DATAFILE
    WHERE CREATION_CHANGE# IN (
    SELECT CREATION_CHANGE# FROM V$DATAFILE)
    GROUP BY CREATION_CHANGE#
    ) QUERY1
    WHERE VBD.CREATION_CHANGE# = VDF.CREATION_CHANGE#
    AND VBD.CREATION_CHANGE# = QUERY1.CREATION_CHANGE#
    AND VBD.COMPLETION_TIME = QUERY1.COMPLETION_TIME;
    Thanks very much for your time,
    -Adam vonNieda

    In case anyone's wondering, here's the answer. The following query returns the min and max SCN numbers contained in the last online backup.
    SELECT MIN(VBD.CHECKPOINT_CHANGE#), MAX(VBD.CHECKPOINT_CHANGE#)
    FROM V$BACKUP_DATAFILE VBD, V$DATAFILE VDF,
    (SELECT
    CREATION_CHANGE#,
    MAX(COMPLETION_TIME) COMPLETION_TIME
    FROM V$BACKUP_DATAFILE
    WHERE CREATION_CHANGE# IN (
    SELECT CREATION_CHANGE# FROM V$DATAFILE)
    GROUP BY CREATION_CHANGE#
    ) QUERY1
    WHERE VBD.CREATION_CHANGE# = VDF.CREATION_CHANGE#
    AND VBD.CREATION_CHANGE# = QUERY1.CREATION_CHANGE#
    AND VBD.COMPLETION_TIME = QUERY1.COMPLETION_TIME;
    This next one gets the session key for that backup.
    Select distinct session_key from v$backup_datafile_details
    where checkpoint_change# >= <min scn# from above> and checkpoint_change# <= <max scn# from above>;
    And finally, this one returns all files written out during that RMAN session, which includes control files, data files, and archived redo logs
    Select handle from v$backup_piece_details
    where session_key = <session key from above> order by completion_time;

  • Swapping Macs, can't change the image file used for TM to a Time Capsule

    Hello ~
    I have ten Macs connected to one TimeCapsule (TC) and nine of them work flawlessly performing a TimeMachine (TM) backup. On the one that doesn't work properly, it is a PBP with Leopard 10.5.8, and latest updates. The other Macs are mixed 10.5.x and 10.6.x.
    I had a user on the PBP that I had been backing up in the past. I erased the HD and reinstalled the OS, and then created a new account. I wanted to start backing up the new account and have the name of the backup be the new name I put under Sharing Preference (I assume that's where TM gets the name of the backup).
    Well, apparently not, the name of the backup is still the old user name from Sharing, and on the old account before the computer was erased.
    I have repaired permissions, I have thrown out the TM prefs in Mac HD\Library\Preferences\, I have restarted the computer. So far I can not get the name to change on the sparse image that it copies to, even though TM says the backup completed without error.
    So, as it appears the backup is using the same old image file that this Mac had been using, the backup are separate when you go into TimeMachine, they do not seem to access each other's data, and inspecting the contents of the image, the date of the backup file is there for the new user in the old image file.
    I really would just like the PBP to stop using the old image file and create it's own image.
    Any ideas welcome!
    Thanks all
    Chaz

    I'm slightly confused. What is a PBP or did you mean a MacBook Pro (MBP)? And, what do you mean by a backup "image?" TM does not make images. Are you actually referring to the backup folder for this machine?
    If I understand correctly what you need to do is delete the old backup for this machine so TM can start from scratch with a new backup. To do that open the TM application and select your backup, then from the Finder's tool icon in the toolbar select "Delete." which should delete the entire backup.
    Also, see User Tips for Time Machine for help with TM problems. Also you can select Mac Help from the Finder's Help menu and search for "time machine" to locate articles on how to use TM. See also Mac 101- Time Machine.

  • Change default pdf file name

    Hi,all
    How can I change a default pdf file name from unknown.pdf to something else?
    Regards,
    Michael
    Edited by: Michael Beilin on Feb 6, 2008 9:47 AM

    HI Michael,
    Yes you can do that,
    Just do something like
         IWDAttributeInfo attInfo = wdContext.currentContextElement().node().getNodeInfo().getAttribute("PdfSource");
         ISimpleTypeModifiable type = attInfo.getModifiableSimpleType();
         IWDModifiableBinaryType binaryType = (IWDModifiableBinaryType) type;
         binaryType.setFileName("TravelRequest.pdf");  // Set file name
         binaryType.setMimeType(WDWebResourceType.PDF);  // set the mime type
    for example in the doInit() before providing the file for download 
    Regards, Angel

  • Default Report File location for BIP

    Hi Experts,
    Is there a way to change the File Location on where a BIP report is generated, whether via adhoc or a scheduled method?
    Any helpful inputs is highly appreciated :)
    Thanks!

    Hi,
    Based on my tested in my environment, I went to set the Default File Location via group policy.
    Word: Microsoft Word 2013/Word Options/Advanced/File Location/ and change the Default File Location
    Excel: Microsoft Excel 2013/Excel Options/Save and change Default file location
    Both of them works fine. As you said " However, Group Policy will set it in Excel." Does it mean that you set Word and Excel via two group policies at the same time, but it only works in Excel?
    If it is, please try to re-download and change the
    Word ADMX to test.
    If the issue still exist, please try to use Gpresult command Or RSOP to check group policy result on client.
    When troubleshooting group policy issues, we use the gpresult command to confirm whether GPOs are really applied to the client (computer/user). You can run the following command in a command prompt:
    gpresult /z > c:\policy.txt
    For more details about the usage of command Gpresult, please refer to the following link:
    http://technet.microsoft.com/en-us/library/bb490915.aspx
    When you read the output, the c:\policy.txt file in this sample, please
    examine the results of the report to find the answers to these questions.
    Does the report list the particular GPO as applied?
    Is the setting listed in the report?
    Is the GPO listed in the Denied List
    More reference:
    http://social.technet.microsoft.com/Forums/windowsserver/en-US/382c97e8-93c8-4022-b8fe-22401037d14c/forum-faq-common-steps-to-start-troubleshooting-group-policy-application-issues?forum=winserverGP
    Regards,
    George Zhao
    TechNet Community Support

  • How to change Default editor in Linux for PL/SQL Programming

    Deare friends ,
    I am using oracle 8i (8.1.6) on RedHat Linux 7.2 , But i donot know how to change default editor for modify editor on sql prompt say ex:-
    In winodow
    SQL> ED
    it open nope pad to modify sql and pl/sql statement
    while in linux
    SLQ > ED
    it open one editor but it is not easy to work and i want to change that editor so could you tell me how to chane editor i want to use vi editor .
    if any boyd know reply me on :-
    [email protected]
    or on this forum
    Thanking you in advance
    Piyush Patel

    Either manually do a 'define editor=vi' when you log in through sql*plus, or put that in the glogin.sql in $ORACLEHOME/sqlplus/admin or put that in a login.sql in the directory you run sqlplus from.

  • How do i change the HTML file names for existing index

    Hi,
    How do i change my existing HTML file names for indexes. The Html file name is disabled when we click on properties.
    Ex:   Index Keywork : Architecture
            Old HTML Page/URL =: Architecture.htm
    I want to change  Old HTML Page/URL =: Architecture.htm to architecture_new.htm
    Please find the screenshot attached.

    That's because you are looking at the Properties and that is not how you create index entries.
    Highlight the Index keyword ("Paste" in this example). It shows below what is already linked. If you delete that, the keyword will be displayed in bold to show no keyword is attached. You can add further keywords by dragging them from the Topic List.
    See www.grainge.org for RoboHelp and Authoring tips
    @petergrainge

  • Default WorkBook file extension for all users of BEx 7 in Offce 2007

    Hi Experts
    We recently started using office 2007 with BEx 7.
    However, many users still has Office 2003 installed.
    I am looking to set the default file extension for all users to be .XLS.
    I know that this option is available in Client level (Global Settings - Use XLS file format ) but I require that the checkbox will be automatically checked.
    Is there a way to do it?
    Thanks,
    Yaniv

    Hello Yaniv,
    Yes, you can maintan them globally.
    this can be done in registry under :   HKEY_CURRENT_USER\Software\SAP\BEx\Analyzer.
       UseXLSFileFormat
       Type: String Value
       Value true or false
    For more information refer to SAP Note 1254112
    Regards,
    Arvind

  • HT1766 how do I change the backup file location

    My hard drive is almost full. I need to do a backup on my iPad before I can upgrade the iOS software. I have an external hard drive with plenty of space. Any way of getting iTunes to back up to the external drive so I can do the upgrads?

    Mac - How to Move the iPhone & iPad iTunes Backup folder to an External Hard Drive
    http://osxdaily.com/2011/03/05/how-to-move-the-iphoneipad-itunes-backup-folder-t o-an-external-hard-drive/
    Windows - Change iPad default backup location
    http://apple-ipad-tablet-help.blogspot.com/2010/07/change-ipad-default-backup-lo cation.html
    Windows - Changing IPhone and iPad backup location
    http://goodstuff2share.wordpress.com/2011/05/22/changing-iphone-and-ipad-backup- location/
     Cheers, Tom

  • Change default application to Pages for .doc files?

    When I double-click on a .doc file, TextEdit is the application that opens the file. Is there a way to change it, so that Pages '08 is the default application for .doc files?
    Thanks!

    Select the file (in Finder)>File>Get Info, then under "Open With", select Pages and click "Change All".
    Message was edited by: nhuser

  • Change default save file type to gif

    I've seen people submit some solutions but it requires changing codes of the files.... is there a simpler way to do it? I don't understand why it's saving as a jpg file... the older versions used gif as the default for save as web...

    That is odd. What version of Ps are you using? Both CS6 and CC 2014 hold the last used format (GIF) for me.. First, try holding Alt (Win) or Opt (Mac) with Save For Web open - the "cancel" will become a "reset" button. Now try again. Also, when you press Alt/Opt you should see the "done" will become a "remember."
    Benjamin

  • Changing default open file location

    Hi all,
    In Outlook 2010, is there anyway to change the default folder that is opened by explorer when you want to open any pst files?
    I have tried the registry changes listed in other forums but this only changes the default save location. I have managed to change the default open location for Word, Excel etc but not Outlook.
    Any help would be appreciated
    Thanks

    Hi,
    Do you mean you want to change the default location when you click File > Open > Open Outlook Data File?
    We can achieve this goal by modifying the registry, I managed to do this in my environment. Please follow the steps below:
    Note: Serious problems might occur if you modify the registry incorrectly. For added protection,
    back up the registry before you modify it.
    Locate the registry path:
    HKEY_CURRENT_USER\Software\Microsoft\Office\14.0\Outlook
    Add the ForcePSTPath registry value:
    Value name: ForcePSTPath
    Value type: REG_EXPAND_SZ
    Value: path to your storage folder
    Restart your Outlook to check the result.
    For more information, please refer:
    http://www.msoutlook.info/question/370
    Regards,
    Steve Fan
    TechNet Community Support

Maybe you are looking for