[SOLVED] Setting deletion age for files in /tmp

Hi, I've just migrated to Arch from (K)ubuntu. In Ubuntu, I had "TMPTIME=1" in /etc/default/rcS. This meant that files in /tmp were deleted (during boot) only if they were older than 1 days.
Is there an equivalent setting in Arch? I couldn't find a pre-existing /etc/default/rcS, nor /etc/init/mounted-tmp.conf, which runs the deletion in Ubuntu.
Last edited by Salkay (2014-06-08 02:04:55)

WonderWoofy wrote:/tmp doesn't neceessarily have to be on a tmpfs.  The file /usr/lib/systemd/system/tmp.mount is what makes it default to that.  But like all unit files, you can override it with your own.  So if you would like to have it on the normal disk, you can do that.  The tmpfiles.d config will still clean it up according to those intervals listed.
Okay, thanks. I think I'll leave it for the moment. I'll live with the default for the moment. I've already spent tens of hours fiddling with my Arch install!
WonderWoofy wrote:
loqs wrote:You could use /var/tmp which is not on tmpfs and defaults to 30 days before file removal.
I don't think that /var/tmp is really meant to be used in the same way as /tmp.  I recall seeing advice to not do this...
Ah, that's a pity. It's a good idea in theory, although 30 days is probably too long for me.

Similar Messages

  • I do not have a delete option for files or folders in Adobe Creative Cloud

    I do not have a delete option for files or folders in Adobe Creative Cloud
    im looking and looking....
    im stumped.....
    4 weeks now....
    kai

    HOW TO DELETE FILES or FOLDERS or Assets from Adobe Creative Cloud Brouser/Web Portal By: Kai Buskirk rev:130626
    Adobe now burried deleting or trashing unwanted iteams files or folders in the Archive section of your creative cloud brouser/web portal.
    Note!! - No longeer is there a standard TrashCan icon or simple Delete button... its burried in the archive sector: but why i ask?
    An archive is an accumulation of historical records, or the physical place they are located.[1] Archives contain primary source documents that have accumulated over the course of an individual or organization's lifetime, and are kept to show the function of that person or organization. Professional archivists and historians generally understand archives to be records that have been naturally and necessarily generated as a product of regular legal, commercial, administrative or social activities.
    In general, archives consist of records that have been selected for permanent or long-term preservation on grounds of their enduring cultural, historical, or evidentiary value. Archival records are normally unpublished and almost always unique, unlike books or magazines for which many identical copies exist. This means that archives (the places) are quite distinct from libraries with regard to their functions and organization, although archival collections can often be found within library buildings
    A person who works in archives is called an archivist. The study and practice of organizing, preserving, and providing access to information and materials in archives is called archival science. The physical place of storage is sometimes referred to as an archive repository.
    To delete files folders or individual assests in the current incarnation of adobe creative cloud brouser/web portal rev:130626
    1 - Check mark the box on left and select files or folders you would like Deleted/Trashed and move them to the ARCHIVE folder location inside your adobe creative cloud brouser/web portal....Then navigate to the ARCHIVE SECTION
    2 - Once the files or folders you have check marked are moved to the ARCHIVE folder location you can select them for Permanant Deletion (Trash)
    ps: you can also restore them......if you so choose....
    3 - in case you missed this step after selecting/checking the files or folders in the ARCHIVE folder there is a small Triangle Selector drop down that will reviel the Permanently Delete option.... clicking that is the point of no return i think..... so do not be misled my the use of the term ARCHIVE.... DELETING PERMANANTLY IS DELETING YO!
    4 - OK DONE NOW YOU GOT IT .....
    Good Luck Happy House Cleaning.....
    Wamest Blessings,
    Kai Buskirk
    Message was edited by: [email protected] rev: 130626

  • Setting archive attribute for files

    Hi,
    I've written a program to make backups from files. I'd like to set archive attributes for files so the program knows which files have changed since the last backup.
    Is there any way to do that?

    nope,
    unless you write your own dll with VB or C++ and call this through native methods.
    Try to find a workaround.

  • Control/set a limit for file attachment

    Hello,
    I would like to know if there is a way to control/set a limit for file attachment in Workbench ES. e.g. Assign Task > Attachments & Notes.
    Can you please advise.
    Thanks,
    Han Dao

    No. You would have to customize Workspace to do that.
    Jasmin

  • Standard/Custom program to set deletion flag for Purchase Requistions

    Hi all,
    If any of you know the Standard/Custom program to set deletion flag for purchase requistions, please let me know. It would be of great help.
    Thanks in advance,
    Karthik

    Hello
    Bapi BAPI_REQUISITION_DELETE will help you.

  • Prerequisites required to set Deletion Flag for an Order

    Hi Experts,
    I need to know what are all the Prerequisites required to set Deletion flag for an Order.
    i.e. can i set deletion flag for any existing order?
    Kavin

    Hi Kevin,
    System will allow you to set deletion flag if,
    - No Goods Movement is carried out.
    - No Confirmation has has been carried out.
    - Conclusion of point 1 and 2 is order should not carry any cost.
    - If In process Inspection is active then Result Recording should be not started.
    - In case of Process Order CRCR (Control Recipe Created) status is not allowed.
    Regards,
    Dhaval

  • Cannot set deletion flag for order

    Dear Experts,
    I am trying to set deletion flag for order XXXX,
    i am getting Error Massage " You cannot set deletion flag for order XXX (see log) Message no. CO432"
    my order status is REL  CNF  DLV  PRC  GMPS MACM OPGN SETC
    How can i set deletion flag for order.....
    Please give your suggestion.
    Thanks for support.......

    Dear,
    Order status is REL CNF DLV PRC GMPS MACM OPGN SETC
    And, I have checked log u201CThere are no entries in the deletion flag logu201D
    There no balance- I have not done any confirmation (Total Qty 1000 EA, Delivered Qty 0 EA)
    You have done confirmation and delivery has happened thats why the status shows "CNF & DLV" You need to complete your settlement.
    Check and revert back.
    Regards,
    Alok Tiwari

  • [SOLVED] setting up permissions for mounted usb devices

    Hi all,
    I've been having the following problem when mounting my external hd: in order to mount the external hd I created a folder /mnt/usbstick/ giving permissions to a non-root user to read the files/directories in this folder (using chmod); however, after I mount the external hd, the set of permissions for /mnt/usbstick/ change so that a non-root user cannot  read the mounted files in /mnt/usbstick. This is a problem for me because, when I copy a file from the external hd to the non-root home folder, the copied file can only be read by the root user.   
    Do you know how I can solve this problem? Should I write a udev rule and place it at /etc/udev/rules.d/? Or should I simply add the non-root user to a specific group from /etc/group? Any ideas?
    Thanks!
    Last edited by falsum (2010-05-08 09:21:59)

    You could try adding an entry for your usb device in /etc/fstab and specify the option user to let non-superusers mount it.
    Here's an example of an entry for my external HD. I'm sure there are probably other (and better) ways to do this but it works for me.
    UUID=4376-0BFB /media/FIRELITE vfat rw,user,noauto,async 0 0
    Nice howto found on the wiki: http://wiki.archlinux.org/index.php/Fstab

  • [Solved] Setting a cronjob for my user

    I want to create a cronjob speficially for my user to run offlineimap, so that it is run by my user.
    I do not understand, however, how to do that... When I run crontab -e as my user I am getting redirected to some file in /tmp/ ...
    EDIT: Exactly what was needed... Now it is working, it seems.
    If I get errors with the command I am running, where are they printed to? to /var/log/crond?
    Also.... I don't have the feeling the command is actually executed; I don't see mails popping up in my account.
    EDIT: Everything works nicely...
    Last edited by Stalafin (2009-02-03 22:45:34)

    Stalafin wrote:
    Vintendo: Thanks for the hijack, I wondered about that as well.
    fukawi2: Yeah, sorry; this is solved.
    brisbin33: I don't understand, what is the advantage of fcron over cron?
    Also, I don't keep offlineimap running, as that is not needed. In ~/.offlineimaprc, I have autorefresh deactivated. So what that leaves me with, is cron invoking offlineimap, which runs, synchronizes my mailboxes, and then quits.
    I think this makes more sense than your solution. You basically have offlineimap running and check every few minutes if it is still running, right?
    fcron has many advantages over cron, you can check their site.
    i want offlineimap running all the time and quick-syncing often so i get emails... um, when i get them.  offlineimap has a tendency to quit for no reason so i have that cronjob script that runs every five minutes, but - if offlineimap's already running it immediately exits w/o errors or consuming any extra resources.  seemed like the appropriate method to me.
    oh well, glad you found a solution that works for you.
    cheers,
    pat

  • How to set default path for file open in SQL Developer

    Hi,
    I am new to Oracle SQL Developer. Everytime when I open a file, it will default to the install directory. It is hurtingmy hand because I have to click back to the folder where I put my sql statements.
    Is there any way to set the Home or Work button to point to the location I like? or add anther button to point to my folder? I just don't want to click 5 to 10 times to open a file.

    There are a few things. One is that you can set a working directory for any files you run in the SQL Worksheet i.e. @myfile.sql will pick up this directory.
    You can also set a preference for exporting files.
    Also if you use File -> Open, it should remember where you were the last time, so you hunt the first time, then it remembers for the next time. There is a bug for ctrl-O that always goes back to the original directory, but that has been fixed for the next patch release, so ctrl -O will also remember where you were last.
    The differences here are because we are dependent on the IDE from JDeveloper, and so we don't have full control over the Save and Open dialogs. We are aware of this frustration and are planning to change this for a future release.
    Regards
    Sue

  • How to set DEBUG severity for File adapter in J2SE AE

    Hi,
    Can anyone help me in setting the severity level to DEBUG for file adapter?
    I have tried to set in logging.properties file as given below,
    formatter[Trace]         = TraceFormatter
    formatter[Trace].pattern =%24d [%t] %-6s %l - %m
    log[Trace] = FileLog
    log[Trace].pattern     = swb_%g.log
    log[Trace].limit     = 2000000
    log[Trace].cnt          = 5
    log[Trace].formatter     = formatter[Trace]
    com.sap.aii.messaging.adapter.severity = DEBUG
    logging components
    #com.sap.aii.axis.logs = +log[Trace]
    #com.sap.aii.axis.severity = DEBUG
    #org.apache.axis.logs = +log[Trace]
    #org.apache.axis.severity = DEBUG
    Please correct me if I have did anything wrong and sugest me hot to set the DEBUG level as soon as possible.
    Best Regards,
    Soorya

    Hi Sejoon,
    when we changed the host of XI server in one of our projects one of the things we had to change was the exchange profile entries
    http://server:port/exchangeProfile/index.html
    to see how your adapter engine is configured
    http://server:port/sld
    SLD -> Content Maintenance
    then
    Subset: landscape description
    Class: XI Adapter Framework
    buth check the exchange profile entries first
    Regards,
    michal

  • Set Deletion Flag for the Preventive Maintenance Order

    Hi,
    I need to set the Deletion flag for the Service Order. Deletion flag available in the screen disabled. Please suggest.
    also I need know under which I shall be able to set such deletions.
    Thank you,
    Vijaya

    Hi Vijaya,
    Pls refer the help.sap.com related to deletion flag for PM/CS Orders. Some of the check criteria mentioned below for your reference.
    Before a deletion flag is set, the following requirements must be met:
    u2022 Any manually added purchase requisitions or purchase orders for the order must be deleted first.
    The balance of the actual costs for the order must be zero. This means that the deletion flag can only be activated if the order has already been settled, or if no actual costs were incurred for the order.
    u2022 Commitments relating to the order must be deleted.
    u2022 Unprocessed and incorrect goods movements must be processed.
    When the deletion flag is activated, all remaining capacity requirements are deleted. A deletion indicator is also set in any open material reservations.
    An order that has been flagged for deletion cannot be changed. However, you can cancel the deletion flag.
    Thanks
    Siva
    Edited by: sivakumar kasi on Sep 3, 2009 12:09 PM
    Pls set the Order as Techically completed (TECO) and check the deletion flag set.
    Thanks
    Siva

  • Setting software preference for file types

    Hi all
    Can someone please tell me how you set a preference for different file types? For example, I want all .avi files to play using VLC player and not Quicktime. However, my computer automatically wants to use Quicktime. How do I change this? I have looked in Preferences and couldn't see an option.
    Thanks
    Steven

    Select an .avi file via the Finder and use Get Info for the file.
    At Open With, select the VCL player and below "use this application to open all documents like this", select Change All.

  • Setting "Open With" for files in specific folders?

    Hello -- I cannot figure out how to have some of my .html files open in DreamWeaver (for when I'm working on my website) while having other .html files open in my web browser (for normal viewing).
    I know I can set an individual file to open with a specific application or set all files with the .html extension to always open with a specific application, but I want to be able to select a folder of files (such as the folders that contain my website files, 600+ of them) and set those to open with DW.
    Does anyone know how to make this work? Many thanks in advance!

    I think you can probably do it, at least for files that are already present in a particular folder.
    For safety, try this first on a copy of a folder that contains the files that you want to change. Make sure all the files in the folder are .html files, and that there are no subfolders.
    Click inside the folder window and type Command-A, selecting all the files. Then type Option-Command-I, opening up an "inspector" window, essentially a multiple-item Get Info. In that window, go to the "Open With" section and change the choice to DreamWeaver, Do NOT click the "Change All" button.
    I don't have DreamWeaver, but when I tried this on the above test folder I was able to change all the .html files in that folder so that they would open in Safari, while leaving the default as Firefox for all the .html files outside the folder.
    You might also be able to set up an Automator/Applescript folder-action that would automatically convert new files that are placed into a particular folder, but I don't know how to do that.

  • Set deletion flag for Order before releasing the order

    Hi all,
    can we set the Deletion Flag for an order before release of that order.
    Regards,
    Bhanu.

    Hi,
    You can lock and unlock order without releasing.
    In case of Un execute we can not release order further.
    Path:
    ORDER-FUNCTION-LOCK
    order-function-unlock
    Regards,
    Sudhakar

Maybe you are looking for