• The Four Hundred
  • Subscribe
  • Media Kit
  • Contributors
  • About Us
  • Contact
Menu
  • The Four Hundred
  • Subscribe
  • Media Kit
  • Contributors
  • About Us
  • Contact
  • Leave My Stream Files Alone, Please

    October 20, 2010 Hey, Competent IBM i Professional

    Recently one of your fellow readers told me that her shop’s nightly job halted because one of the users had inadvertently dragged something from one network folder and dropped it into another one. Don’t you just hate it when little mistakes cause big problems? Here’s an easy way to help reduce the likelihood of such errors in the Integrated File System.

    The Integrated File System (IFS) is the umbrella file system that allows IBM i to store many types of data. It is a directory-based system.

    To create a directory, use any of three versions of the Create Directory command: CRTDIR, MD, or MKDIR. And now comes the good part. The Create Directory command has a parameter named Restricted Rename and Unlink (RSTDRNMUNL). Setting this parameter to *YES prevents unauthorized users from renaming, deleting, or moving objects in the directory.

    CRTDIR DIR('/home/mydir') RSTDRNMUNL(*YES)
    

    Authorized users include an object’s owner, the directory’s owner, and anyone with special authority. The file systems for which this attribute may be set (as of IBM i 7.1) are the Network File System (NFS), QFileSvr.400, “root” (/), QOpenSys, and user-defined file systems.

    This authority is a characteristic of the directory, not the objects in the directory. Moving an object from a restricted directory to a non-restricted one may allow other users to rename, move, and delete that object.

    –Ted



                         Post this story to del.icio.us
                   Post this story to Digg
        Post this story to Slashdot

    Share this:

    • Reddit
    • Facebook
    • LinkedIn
    • Twitter
    • Email

    Tags:

    Sponsored by
    Midrange Dynamics North America

    Want to deliver DevOps on IBM i?

    DevOps enables your IBM i development teams to shorten the software development lifecycle while delivering features, fixes, and frequent updates that are closely aligned with business objectives. Flexible configuration options within MDChange make it easy to adapt to new workflow strategies and policies as you adopt DevOps practices across your organization.

    Learn More.

    Share this:

    • Reddit
    • Facebook
    • LinkedIn
    • Twitter
    • Email

    Sponsored Links

    Help/Systems:  FREE Webinar: Manage your temporary storage and IFS. Oct. 21, 9 a.m. CST
    Vision Solutions:  Leaders Have Vision...And Vision Has Leaders! FREE White Papers!
    COMMON:  Join us at the 2011 IT Executive Conference, May 1-3, in Minneapolis, MN

    IT Jungle Store Top Book Picks

    BACK IN STOCK: Easy Steps to Internet Programming for System i: List Price, $49.95

    The iSeries Express Web Implementer's Guide: List Price, $49.95
    The iSeries Pocket Database Guide: List Price, $59
    The iSeries Pocket SQL Guide: List Price, $59
    The iSeries Pocket WebFacing Primer: List Price, $39
    Migrating to WebSphere Express for iSeries: List Price, $49
    Getting Started with WebSphere Express for iSeries: List Price, $49
    The All-Everything Operating System: List Price, $35
    The Best Joomla! Tutorial Ever!: List Price, $19.95

    Acxiom Touts Big Savings with New Digital Identifier Technology IBM i Competes with AIX/Oracle on Power 720s, Gets Beat on 750s

    Leave a Reply Cancel reply

Volume 10, Number 32 -- October 20, 2010
THIS ISSUE SPONSORED BY:

SEQUEL Software
Profound Logic Software
inFORM Decisions

Table of Contents

  • Rowing with Your OAR
  • Leave My Stream Files Alone, Please
  • How Do I Record a PC5250 Macro?

Content archive

  • The Four Hundred
  • Four Hundred Stuff
  • Four Hundred Guru

Recent Posts

  • The Power11 Transistor Count Discrepancies Explained – Sort Of
  • Is Your IBM i HA/DR Actually Tested – Or Just Installed?
  • Big Blue Delivers IBM i Customer Requests In ACS Update
  • New DbToo SDK Hooks RPG And Db2 For i To External Services
  • IBM i PTF Guide, Volume 27, Number 33
  • Tool Aims To Streamline Git Integration For Old School IBM i Devs
  • IBM To Add Full System Replication And FlashCopy To PowerHA
  • Guru: Decoding Base64 ASCII
  • The Price Tweaking Continues For Power Systems
  • IBM i PTF Guide, Volume 27, Numbers 31 And 32

Subscribe

To get news from IT Jungle sent to your inbox every week, subscribe to our newsletter.

Pages

  • About Us
  • Contact
  • Contributors
  • Four Hundred Monitor
  • IBM i PTF Guide
  • Media Kit
  • Subscribe

Search

Copyright © 2025 IT Jungle