Can IFS be set up so that new files inherit the ACL of the folder they are created in

I realise that a file created or saved in IFS takes on the ACL of the User who created it. This is fine if users always save items into the same folders or belong to a single group. However, it causes problems when users need to save different items in many folders, each of which may have different audiences/require different security.
With this in mind, is it possible to set up IFS so that a file inherits the ACL of the folder in which it was created/saved, at creation/saving point?
I'd appreciate any info on this, as have read the documentation and couldn't find any info on it.
Cheers,
Caroline

We are faced the same problem.
So I wrote a script that syncs ACLs of the files and folders they're in only if differs.
I use SQL script that generates ifsshell script and then it is run from the client. See below
The content of aclsync.sql :
set serveroutput on size 1000000
set feed off
set term off
spool aclsync.txt
begin
     dbms_output.put_line('login system/manager');
     for X in (     select
                                   I.object_id, F.acl_id
                              from
                                   ifs_folder_items I,
                                   ifs_folders F
                              where
                                        I.folder_id = F.folder_id
                              and     I.type = 'DOCUMENT'
                              and     F.acl_id != I.acl_id) loop
          dbms_output.put_line('setattr -id '||X.object_id||' acl -avid '||X.acl_id);
     end loop;
dbms_output.put_line('exit');
end;
spool off
set term on feed on
exit
And the content of the batch file that calls above mentioned script and executes its output
sqlplus -s ifssys/ifssys@IFS @aclsync
set PATH=%PATH%;C:\"Program Files"\Oracle\"Oracle 9iFS CmdLine"
ifsshell -i aclsync.txt
Anyway
I'd appreciate some automatic way of doing that.
Regards Vladimir
---

Similar Messages

  • If I photo just refers to the original photos in your home folder, how come that when i delete pictures in my home folder they are still in i photo?

    I want to make more space and simply get rid of the pictures i don't want anymore.
    I thought that I have to delete the pics in the original forlder becasue I photo is just a program that refers to the original folder, but apparently the pictures i deleted in the home folder, are still in my i photo library?
    How is it possible and how can I synchronise these two libraries?

    Couple of possibilities:
    By default, iPhoto does not reference the photos, and so unless you made a change in the iPhoto Preferences, then photos have also been copied to the Library,a nd you've been keeping two copies all along.
    To delete  pic from iphoto, put it the iPhoto trash, empty it and then empty the system trash.
    If you have been running a Referenced Library correctly, then you will need to delete the original file from your own folder storage as well. You chose to manage the files yourself.
    There is no way to "synchronise these two Libraries". One is a database, the other is a collection of folders.
    Regards
    TD

  • HT1766 i have backed up my iphone 5 and have a 5s I want to set up from that backup file. I have gone through the process once, and when I next connect the new AND the old phone to the mac and open itunes, restore or create new phone comes up not synch??

    i have backed up my iphone 5 and have a 5s I want to set up from that backup file. I have gone through the process once, and when I next connect the new AND the old phone to the mac and open itunes, restore or create new phone comes up not synch?? Tried starting the whole process over once but same result. Seems not to recognise the phone and just synch as it should. Help?

    Hello CosK,
    The following guide can step you through the process of using a backup of your iPhone 5 to transfer your content to your iPhone 5s.
    Transfer content from an iPhone, iPad, or iPod touch to a new device
    http://support.apple.com/kb/HT2109
    Should one or both of your phones fail to appear in iTunes, the following article provides troublesooting steps that can assist.
    iOS: Device not recognized in iTunes for Windows
    http://support.apple.com/kb/TS1538
    Cheers,
    Allen

  • I've just migrated my Logic Pro 9.1.8 to a new Mac because my old computer crashed. They are asking for a serial number, but I don't have the install disks anymore. Is there someplace in the software itself that I can find the serial number?

    I've just migrated my Logic Pro 9.1.8 to a new Mac because my old computer crashed. They are asking for a serial number, but I don't have the install disks anymore. Is there someplace in the software itself that I can find the serial number?

    Please stop making multiple posts on the same subject.. This is the third thread you have created in a short space of time asking the same question.
    Please read the answers given in this thread you posted...
    https://discussions.apple.com/thread/5311324?tstart=0

  • Macbook pro fails to read sd card with movies recorded on it, any ideas? I can view them in the video camera so know they are there somewhere. I am now thinking I should have formatted or initialised the new card before using it.

    My macbook pro is failing to read a new sd card with movies recorded on it. Any ideas please? A previously used SD card has downloaded without problems. I have tried using a card reader as well as downloading from the video camera itself, neither works.
    I can view the latest recordings on the video camera so know they are there somewhere. I am now thinking I should have formatted or initialised the new card before using it but didn't think of that at the time. Obviously don't want to do this now as it will wipe the movies.

    Hi and Welcome to the Forums!
    From everything you've described, you've done everything possible. Hence, I recommend you seek out your warranty support.
    Good luck and let us know.
    Occam's Razor nearly always applies when troubleshooting technology issues!
    If anyone has been helpful to you, please show your appreciation by clicking the button inside of their post. Please click here and read, along with the threads to which it links, for helpful information to guide you as you proceed. I always recommend that you treat your BlackBerry like any other computing device, including using a regular backup schedule...click here for an article with instructions.
    Join our BBM Channels
    BSCF General Channel
    PIN: C0001B7B4   Display/Scan Bar Code
    Knowledge Base Updates
    PIN: C0005A9AA   Display/Scan Bar Code

  • How can I install Creative Cloud on a new computer? Should I uninstall the old computer?

    How can I install Creative Cloud on a new computer? Should I uninstall the old computer?

    Hi Bussada,
    No, you dont have to uninstall Creative cloud from the other machine. You can use your Adobe ID to download and install the software on the other machine. Please ensure that you don't use both machine at the same time.
    Download creative cloud desktop app from this link.
    https://creative.adobe.com/products/creative-cloud
    Regards,
    Abhijit

  • I imported 635 images into an iPhoto album so that I can share them via a photo-stream. However, iPhoto says there are only 600. When I try to add the missing images it says they are already there. Why can i not see these images in iPhoto?

    I imported 635 images into an iPhoto album so that I can share them via a photo-stream. However, iPhoto says there are only 600. When I try to add the missing images it says they are already there. Why can i not see these images in iPhoto?

    Generally I would not use Facebook for sharing any photos, it compresses the photos substantially, and when you have shadows and dark colours you get visible "bands" where there should be subtle gradients, ie at sunsets and sunrises.
    It sounds like you are using two methods to upload to Facebook:
    1. Sharing from within Aperture, which basically syncs Facebook with your Aperture album, so any changes made at either end gets synced, hence the deletions from Albums, although the original file should still be in your library, just removed rom the album. It is like a playlist in iTunes.
    2. Exporting pics and uploading to Facebook from the browser.
    I am not sure how method 1 gets compressed, but I know that uploading hi-res jpegs to Facebook using method 2 results in poor quality images.
    I wouldn't even bother comparing option 1 or 2, and they will both be poor images once you view them on Facebook, as opposed to viewing uploaded images on proper image sharing / hosting sites.
    Your problem is not with Aperture, it is using Facebook for showing your work.
    If you export pics form Aperture at high res jpegs or TIFFs your images will be fine.
    If you insist to use Facebook as your way to share your work, then your workflow should be this:
    1. Right click images you want to share.
    2. Select Export version.
    3. Export as 100% size and ensure the export settings are set at 100% quality.
    4. Upload this pic into Facebook.
    This will get you the best image size and resolution on Facebook.
    See how you go.

  • Can iTunes be set to play only one song and then stop when the song is finished and not go on to play another unless commanded?

    Can iTunes be set to play only one song and then stop when the song is finished and not go on to play another unless commanded?

    If you uncheck all of the songs, they will only play if explicitly commanded. Command-click in a checkbox and they will all be unchecked. Command-clicking again will check the all again should you want to do that.

  • I transferred photos to my computer by cutting and pasting.  I have some on my phone that I didn't cut and paste.  Now they are can and I cannot find them anywhere on phone or computer

    I transferred photos to my computer by cutting and pasting.  I have some on my phone that I didn't cut and paste.  Now they are gone and and I cannot find them anywhere on phone or computer. Are they lost forever.  I have done no back-up recently or icloud.  My daughters 8th grade graduation was on it.  I am devastated.

    A lot of I should haves.  I had too many photos and while at work I opened up the 4 folders inside of the DCIM folder on my phone.  I didn't think it would be a big deal to just cut the photos and paste on my computer as I have  done this before.  i moved one folder that had 803 pictures in it and all was fine.  I ran out of time and unplugged phone and went home.  When I got to work this morning I was looking at my phone and realized I only had 34 pictures.  I knew there should have been 400+ there and they are gone.  Don't know what happened and if they were deleted off phone or computer I cannot see them anywhere.  I didn't back up (I know mistake) Lessoned learned I just hope there is something i can do!

  • InDesign CS 5.5 - Why am I getting an error message saying my files ( that I created in 5.5 ) can not be opened because they are created in CS6? Says I have to open in 6 and back save to 4.

    Why am I getting an error message saying my files ( that I created in 5.5 ) can not be opened because they are created in CS6? Says I have to open in 6 and back save to 4.

    Ask in the ID forum and provide at least some useful info like system specs, what's contained in the files, where they are stored...
    Mylenium

  • When i take a call or dial a call in the high density traffic area or noicy area i can't hear properly so at that time i put my phone in the loud speaker mode.

    when i take a call or dial a call in the high density traffic area or noicy area i can't hear properly so at that time i put my phone in the loud speaker mode.

    I have had this happen to me on 3GS, 4 and 4s.   Usually the solution is one of the following:
    1-  If  your volume indicator says  headphones even though they are not plugged in, then:
    Stick your headphones into the headphone jack and then remove quickly.
    2. If that does not work Power your phone off. Then when restarting Reset the phone by pressing the home button and the power button at the same time until the apple logo appears.
    3. Make sure you have not chosen to send audio to an Airplay device such as Apple Tv.
    Hope one of these works for you

  • HT1689 I am trying to sync some new purchases on to my i phone but they are coming up as restricted in downloads and are unplayable can anyone help?

    I am trying to sync some new purchases on to my i phone but they are coming up as restricted in downloads and are unplayable can anyone help?

    Overdrive media are not iTunes purchases so they do not transfer with:
    iTunes Store: Transferring purchases from your iOS device or iPod to a computer
    Overdive media are copy protected so you can only read them via Overdrive. I do not understand what you mean by free books and are now paid. Overdrive are typically books for a public library.
    You can try looking on your iPod via a third-party program like PhoneView, Touch copy or the free program iFunBox

  • Is there a way to set the ACLs on a folder so that users cannot copy a file?

    Hello,
    Is there a way to set the ACLs on a folder so that users cannot copy a file?
    I have a customer that wants to put an employee handbook into a FORMS FOLDER. But he doesn't want users to be able to copy the file into other folders or onto removable media.
    Admittedly, I have never run into this before and my testing hasn't yielded an answer...
    Any Ideas?
    Thanks again,
    Robert

    Use third party software for security management (http://www.wave.com/ ,
    http://www.devicelock.com/ ,
    https://www.lumension.com/, etc) . Standard access rights that come with operating system do not go beyong permission/share schema.
    Rgds
    Milos

  • HT201229 can a person i blocked still get my text meggages in a group message, if they are in that group?

    can a person i blocked still get my text meggages in a group message, if they are in that group?

    Of course.  You blocked them...they didn't block you.

  • How can I input read a line from a file and output it into the screen?

    How can I input read a line from a file and output it into the screen?
    If I have a file contains html code and I only want the URL, for example, www24.brinkster.com how can I read that into the buffer and write the output into the screen that using Java?
    Any help will be appreciate!
    ======START FILE default.html ========
    <html>
    <body>
    <br><br>
    <center>
    <font size=4 face=arial color=#336699>
    <b>Welcome to a DerekTran's Website!</b><br>
    Underconstructions.... <br>
    </font> </center>
    <font size=3 face=arial color=black> <br>
    Hello,<br>
    <br>
    I've been using the PWS to run the website on NT workstation 4.0. It was working
    fine. <br>
    The URL should be as below: <br>
    http://127.0.0.1/index.htm or http://localhost/index.htm
    <p>And suddently, it stops working, it can't find the connection. I tried to figure
    out what's going on, but still <font color="#FF0000">NO CLUES</font>. Does anyone
    know what's going on? Please see the link for more.... I believe that I setup
    everything correctly and the bugs still flying in the server.... <br>
    Thank you for your help.</P>
    </font>
    <p><font size=3 face=arial color=black>PeerWebServer.doc
    <br>
    <p><font size=3 face=arial color=black>CannotFindServer.doc
    <br>
    <p><font size=3 face=arial color=black>HOSTS file is not found
    <br>
    <p><font size=3 face=arial color=black>LMHOSTS file
    <br>
    <p><font size=3 face=arial color=black>How to Setup PWS on NT
    <BR>
    <p><font size=3 face=arial color=black>Issdmin doc</BR>
    Please be patient while the document is download....</font>
    <font size=3 face=arial color=black><br>If you have any ideas please drop me a
    few words at [email protected] </font><br>
    <br>
    <br>
    </p>
    <p><!--#include file="Hits.asp"--> </p>
    </body>
    </html>
    ========= END OF FILE ===============

    Hi!
    This is a possible solution to your problem.
    import java.io.*;
    class AddressExtractor {
         public static void main(String args[]) throws IOException{
              //retrieve the commandline parameters
              String fileName = "default.html";
              if (args.length != 0)      fileName =args[0];
               else {
                   System.out.println("Usage : java AddressExtractor <htmlfile>");
                   System.exit(0);
              BufferedReader in = new BufferedReader(new FileReader(new File(fileName)));
              StreamTokenizer st = new StreamTokenizer(in);
              st.lowerCaseMode(true);
              st.wordChars('/','/'); //include '/' chars as part of token
              st.wordChars(':',':'); //include ':' chars as part of token
              st.quoteChar('\"'); //set the " quote char
              int i;
              while (st.ttype != StreamTokenizer.TT_EOF) {
                   i = st.nextToken();
                   if (st.ttype == StreamTokenizer.TT_WORD) {          
                        if (st.sval.equals("href")) {               
                             i = st.nextToken(); //the next token (assumed) is the  '=' sign
                             i = st.nextToken(); //then after it is the href value.               
                             getURL(st.sval); //retrieve address
              in.close();
         static void getURL(String s) {     
              //Check string if it has http:// and truncate if it does
              if (s.indexOf("http://") >  -1) {
                   s = s.substring(s.indexOf("http://") + 7, s.length());
              //check if not mailto: do not print otherwise
              if (s.indexOf("mailto:") != -1) return;
              //printout anything after http:// and the next '/'
              //if no '/' then print all
                   if (s.indexOf('/') > -1) {
                        System.out.println(s.substring(0, s.indexOf('/')));
                   } else System.out.println(s);
    }Hope this helps. I used static methods instead of encapsulating everyting into a class.

Maybe you are looking for