How to make folder view static on shared volume

I have an external drive connected to a Mac Mini (10.6.8).  We use that external drive as our shared network drive.  4 Macs and 2 PCs access the drive.  Please tell me how I can alter the ".DS_store" file on the SHARED VOLUME so that each user can expand disclosure triangles, etc. on the server volume, but each individual user isn't affected by how any particular user is viewing the folders.  Right now, if User #1 expands a bunch of folders, all of the other users see that, too.  I've done this before, using the Terminal.  Alas, I've lost the directions for that.  I believe it involved changing the permissions on the "DS_store" file on the server volume.  Thanks in advance.

The following should work
cd /path/to/the/folder
chmod 444 .DS_Store
Repeat for each folder of interest.
If you have an entire directory tree, you could use something like
cd /path/to/the/top/folder
find . -iname .DS_Store -print0 | xargs -0 chmod 444
The 444 is read for owner, group, everyone else, and no write, and no execute permissions for the .DS_Store file.  No write means no one should be able to change the contents of the .DS_Store file.
The find command will start at the current folder, then walk down the directory tree looking for all the .DS_Store files and pipe those files to xargs which will execute the chmod 444 command for each .DS_Store found.
Does this sound like what you did before?

Similar Messages

  • How to make Scroll viewer zoom disable

    how to make Scroll viewer zoom disable in windows store app

    Hi Imtiyazk,
    Thanks for sharing the solution, should help others have the same issue.
    --James
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • How can I make folder view the default view when I open Organizer?

    I just bought Adobe Elements Photshop and Premier 11.  I spent 2 to 3 hours getting my picture video library into Adobe's organizer.  I had some problems with duplicate picture (that I wanted to be there - so I had to rename them) and a couple pictures with corrupted metadata.  After I got all that sorted out I am a bit miffed about the folder view on Adob'es organizer.
    I love that you can switch to folder view - since this is how I have been organizing my pictures for a long time.  I would like to continue organizing this way for now until I get a grasp on the other ways I can organize them in elements.  However, every time I close and re-open organizer it switches back to the default view instead of folder view.  PLEASE tell me that there is a way to set folder view to the default view!  HELP!

    99jon wrote:
    Perhaps it’s a design feature to speed up the Organizer launch.
    I am sure it is.
    - The normal use of the Organizer is not the folder view, it's the thumbnail view with an organization based on categories and folder. That way you should forget completely where your pictures are stored. Anyway, the folder view in the Explorer is not a map of the location of the different bits of your file, it's only a logical representation. That's easy to see when you are doing a defragmentation.
    - The folder view is useful even for those using normally the thumbnail view, but that is only for rare cases when you must change the folder organization, for instance moving files to another drive. The folder view is here to prevent you from changing things from the explorer and outside of the Organizer.
    - The new folder list view, which you find 'funny' is there to help better organizing using tags. Its huge advantage is that such a view is created extremely quickly by extracting the last subfolder in the media table : it's the way the database sees the folders, based on its own content,  totally ignoring the complex folder organization of your disk with media files or any unrelated other kind of data. You should use it in many cases, the main purpose being assigning tags when you have assigned descriptive folder names. I had suggested such a solution to prevent the long standing bugs in the folder view of previous versions.
    So yes, the purpose is:
    - to speed up switching modes
    - to help folder organization fans to migrate to tags organization
    - to hopefully get rid of the old folder organization bugs

  • How to make Help view well on both laptops and desktops

    Hi -- I'm trying to learn RoboHelp 7 and just created my first WebHelp project. I want to show it to a friend, but don't have a server I can publish it to, so I copied all the files onto my flash drive and put it on my laptop. It all works fine, which is a relief -- however, the custom colors are way off, and some of the screenshots are now too big, so the user would have to scroll (which can be annoying). I created it on my desktop and have been looking at it on a larger monitor (1680x1050), but the laptop is old (1024x768). The thing is, a lot of people might have to view it on 800x600.
    I couldn't find any information in RH's Help about how I should have set it up so that it views well on different systems. I'm hoping someone could please advise me as to what I should have done, and if there's anything I can do now to fix it, or point me to some information. I used Arial 10 pt for the text, and now it looks 12 pt. Should I have made it 8 pt? Is there a rule for how large an image should be to be viewed on a laptop and a desktop?
    One last thing, it's too large to put on a CD, so is does anyone know how to make this into an executable?
    Thanks in advance for any help you can give!
    Daryl

    Hi Daryl
    I use an eBook compiler to convert WebHelp to an executable file. You might investigate eBook compilers for that bit. However, I'm not sure how that would help you since a compiler will do little more than to take a swarm of WebHelp files and store them in a wrapper to create a single file. Generally you will end up with something that although it exists as a single file, is larger than what is inside.
    Are you SURE it's too big for CD? CD will hold 650 megs (700 if you buy the extended types).
    On the screen size issue WebHelp itself should adapt fine. Probably it's the images you are concerned with. And the general rule of thumb is to capture images at a reasonable size to begin with. Never EVER just insert a big ole image into RoboHelp and grab the sizing handle to make it smaller. It will still consume a larger amount of space and the quality will suffer badly. So the best approach is to copy the image at a reasonable size to begin with. Something that may fit nicely in the Topic Pane area as it is presented in the space provided by the lowest common denominator. In your case I believe you said that many are still at 800x600.
    Your 10 point text will still be 10 points at a smaller resolution. It will just look a bit different.
    Hopefully this helps... Rick
    Click here for Adobe Authorized Captivate and RoboHelp HTML Training
    Click here for the SorcerStone Blog
    Click here for RoboHelp and Captivate eBooks

  • How to make list view the default in finder?

    Is there a way to make "List view" be the default view for all folders opened?
    I know that with a window open, you can hit CMD-1, 2, 3 or 4 for icon, list, column, or cover view, but I want "list view" to be the default.
    I know that in some windows I can set the list view the way I want it and then close the folder, knowing the next time it opens, it will remember it, but that doesn't seem to work for encrypted sparse-bundle drives. They ALWAYS come up in icon view, regardless of the previous view it was in.
    So hopefully, setting the overall default will help me solve this problem.
    TIA for any advice/tips!
    Steve

    I could swear that I've done this before, in exactly this way, and it worked fine on my internal HD, but not on my encrypted sparse-bundles. But now it's working.
    Sorry to have created chaff in the group. I should have tried again just before I posted....
    Steve

  • How to make Folder Action work on file, subfolder content change?

    Hi!
    I looking for information in how to make a Folder Action, Work Flow or any action from Automator to work on file change and not only on deletion, moving or insertion. What I want to know is if it's possible to trigger some script or app while monitoring a folder and its contents, files and subfolders, changes. Meaning that when I have a file that has its contents updated the action will be triggered like an txt file that I only insert a new line in it, for example.
    Is there any solution that is not third party? Is there an internal Mac OS X solution that would work on Snow Leopard, Lion and Mountain Lion?

    i have same problem. i would like to move automatically saved Word backup copy to another folder, but the folder action doesn't recognize the save as a new file that needs to be acted upon.

  • How to make Hierarchy view  fixed in marketing plan .

    Hi Gurus,
    I have a requirement to make the Hierarchy view  as fixed ie To remove the toggel functionality .
    Component MPL_MAIN .
    for which
    I removed the toggel button and make the view visible all the times .
    I have removed the button by commenting the code .
    but I am not sure how can I make the view always visible ?
    I can understand that i have to use the same code as the toggel event 'ONTOGGLEHIERARCHY'is using ,
    but where should I be putting that code so that it takes the  Hierarchy view at the time of initial loading .
    Thanks ,
    Naval Bhatt.

    Hi Naval,
    you can try putting this into the "DO_PREPARE_OUTPUT" Method of the Overview-View.
    Regards
    Dennis

  • How to make this object static ?

    Hi,
    I have such an InputStream :
    InputStream kombinace = getClass().getResourceAsStream("/kombinace.txt");is there anyway how to make it static ?
    thanks for help

    BigDaddyLoveHandles wrote:
    ClassLoader loader = Thread.currentThread().getContextClassLoader();
    InputStream in = loader.getResourceAsStream(path);
    I'm not sure that this is guaranteed to work since the class loader you have obtained from the current thread may not be the one that holds the resource.

  • How to repair Folder view after Move

    After several moves of pictures to a new disc (via File, Move within Photoshop Elements Organiser 9) the folder view no longer shows the correct photos.
    The photos are in the correct locations and the properties also show the correct location.
    If I select a directory in folder view however, several photos are shown that are not in that directory.
    I tried to repair the catalog, but that didn't change the problem.
    Any ideas?
    I am very much missing a facility in the Organiser to move directories, a complete directory tree or just the disk letter of my catalog.

    See:
    http://www.johnrellis.com/psedbtool/photoshop-elements-faq.htm#_Move_your_photos
    (still true in PSE9)
    and
    http://www.johnrellis.com/psedbtool/photoshop-elements-faq.htm#_Folder_Location_view
    I have found many posts about this bug and I am not sure its reasons have been understood, since it seems very difficult to reproduce the situation when it does appear. I am not sure how to correct that bug. I have never had such a problem because I work normally in thumbnail view, although the folder view is useful for me in certain circumstances.
    Moving the folders by drag and drop in the left panel in folder views should work.
    Moving folders from a drive to another should also work.

  • How to set folder view to text wrap the tittles?

    Hi!
    I always use folder view to go through my documents, but some of the folder names are too big so it only shows the beggining and the end of each tittle. So it looks like this...
    How can I change that to show more lines and wrap the texts?
    kind of like this when you select it, but with more lines?

    Maybe this:
    Show Full File & Folder Names on the Mac Desktop
    Show Long File & Folder Names on the Mac OS X Desktop

  • How to make materialized view fast refresh parallel

    We have Oracle 11.2.0.1 on Redhat 5.2. We use a dozen of fast refresh materialized views in our application.
    From time to time MV refresh takes longer time than the refresh interval.
    One of way to improve performance of MV refresh is to make the refresh parallel, e.g. http://www.dba-oracle.com/t_materialized_views_refreshing_performance.htm
    - Use parallel DML - Oracle author Michael Armstrong Smith notes "I've done parallel materialized view refreshing
    on tables recently and improved the load times considerably. Rather than having one load which took 2 hours,
    I run 4 parallel loads, one for each partition. The length of time for the whole process is now determined by
    how long the biggest partition takes to load. In my case, this is 40 minutes, with two 30 minute loads and one
    20 minute load.  Overall I am saving 1 hour 20 minutes. I can now add further partitions and do the same thing.
    My only limitation is the parallel loads because I don't have unlimited processing power.
    {code} My master tables are not partitioned, but think parallel will still better than non-parallel.
    Now the question, how to make refresh parallel. According to the paragraph cited above, Use parallel DML appears doing the job. Can someone  confirm that.
    We use {code}
    alter materialied view MV_OFFENSE parallel REFRESH FAST start with sysdate next sysdate+ 1/24;
    {code}to schedule refresh. Does the parallel clause here parallels query the MV or refresh the MV?
    Any other way to make MV refresh parallel?
    Thanks                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

    Doc http://download.oracle.com/docs/cd/E11882_01/server.112/e16579/refresh.htm#i1006319 says:
    >
    In a data warehousing environment, assuming that the materialized view has a parallel clause, the following sequence of steps is recommended:
    1.
    Bulk load into the fact table
    2.
    Enable parallel DML
    3.
    An ALTER SESSION ENABLE PARALLEL DML statement
    4.
    Refresh the materialized view

  • Please Suggest, How to make this view efficient ?

    Hi there,
    Could you please suggest me,how to make the following VIEW (QUERY) efficient regarding performance point of view.
    CREATE OR REPLACE VIEW XXX_TRX_TO_NUM_V
    (ROW_NUM, ORIG_TRX_NUM, TRX_NUMBER, TRX_DATE, PURCHASE_ORDER,INTERFACE_HEADER_ATTRIBUTE6, INTERFACE_HEADER_ATTRIBUTE1, INTERFACE_HEADER_ATTRIBUTE5, BILL_TO_CONTACT_ID, REMIT_TO_ADDRESS_ID, BILL_TO_CUSTOMER_ID, BILL_TO_SITE_USE_ID, ORG_ID)
    AS
    Select rownum row_num,trx_number orig_trx_num,to_number(a.trx_number) trx_number,a.trx_date,a.purchase_order,a.interface_header_attribute1
    ,a.interface_header_attribute6,a.interface_header_attribute5,a.bill_to_contact_id
    ,a.remit_to_address_id,a.bill_to_customer_id,a.bill_to_site_use_id,a.org_id
    from ra_customer_trx_all a
    where a.trx_number is not null
    and a.trx_number not in
    (select trx_number
    from
    (select rownum,/*+ ALL_ROWS ,16 */ r.trx_number,ltrim(rtrim(translate(/*+ ALL_ROWS ,16 */ r.TRX_number,'0123456789',' '), ' ' ), ' ' ) tx
    from ra_customer_trx_all r)
    where tx is not null)
    order by trx_number
    Thanks in Advance !
    Shahzad

    I think you have the hints in the wrong place - as far as I was aware, the hint had to come straight after the SELECT/UPDATE/INSERT/DELETE key word - but I could be wrong as I've never really tried it elsewhere. Also, unless the optimiser mode for your database is set to FIRST_ROWS or RULE (god help you!:), ALL_ROWS is the default behaviour.
    Basically what you are trying to say is bring me back all ra_customer_trx_all rows that have purely numeric trx_numbers right?
    Why, if you need to be able to represent trx_number as a number, do you have non-numeric data in there???? That's a bit dodgy isn't it?
    Anyway, what about:
    CREATE TABLE dt_test_num (id varchar2(10))
    insert
    into
         dt_test_num
    select
         chr(47 + rownum)
    from
         all_tables
    where
         rownum <= 20
    select
         to_number(id),
         id
    from
         dt_test_num
    where
         translate(id,'0123456789',' ') IS NULL
    update
         dt_test_num
    set
         id=id||chr(67-rownum)
    select
    FROM
         dt_test_num
    select
         to_number(id),
         id
    from
         dt_test_num
    where
         translate(id,'0123456789',' ') IS NULL
    /Also, you are selecting rownum and aliasing it. Why? rownum will be assigned before the sort.
    HTH
    David
    Message was edited by:
    david_tyler
    Hello
    Slight correction to the where clause. Art first I thought you didn't need the trim on there, but that was just down to the number sequence in translate...
    SQL> select nvl(translate('1A','1234567890',''),'NULL') from dual
      2  /
    NVL(
    NULL
    SQL> select nvl(translate('1A','1234567890',' '),'NULL') from dual
      2  /
    NV
    A
    SQL> select nvl(translate('1','1234567890',' '),'NULL') from dual
      2  /
    N
    SQL> select nvl(translate('2','1234567890',' '),'NULL') from dual
      2  /
    NVL(
    NULL
    SQL> select nvl(translate('2','0123456789',' '),'NULL') from dual
      2  /
    NVL(
    NULL
    SQL> select nvl(translate('1','0123456789',' '),'NULL') from dual
      2  /
    NVL(
    NULL
    SQL> select nvl(translate('0','0123456789',' '),'NULL') from dual
      2  /
    N
    SQL> select nvl(TRIM(translate('0','0123456789',' ')),'NULL') from dual
      2  /
    NVL(
    NULL
    SQL> select nvl(TRIM(translate('1','0123456789',' ')),'NULL') from dual
      2  /
    NVL(
    NULLTranslate still confuses me :-(

  • How to make a view created using enhancement framework as Interface View

    Dear Experts.
    I Created A  new View and window  by using Enhancement Framework for a standard webdynpro comp. Now i want to use the same window as a  UIBB in FPM , since in window properties interface view check box is unchecked it's not allowing me to use a UIBB in FPM.
    Kindly answer for the following.
    1) Is there any way to make a view a interface ( whcih is by default in nature but while creating from Enhancement framework behaivng Strangly).
    2) If there is no way then how to use enhanced (additional View Created  in Standard WDA comp) further like in FPM ( UIBB ).
    thanks in Advance.
    Best Regards,
    Kranthikumar Palle

    >
    kranthi9121 wrote:
    > Dear Experts.
    >
    > I Created A  new View and window  by using Enhancement Framework for a standard webdynpro comp. Now i want to use the same window as a  UIBB in FPM , since in window properties interface view check box is unchecked it's not allowing me to use a UIBB in FPM.
    >
    > Kindly answer for the following.
    >
    > 1) Is there any way to make a view a interface ( whcih is by default in nature but while creating from Enhancement framework behaivng Strangly).
    >
    > 2) If there is no way then how to use enhanced (additional View Created  in Standard WDA comp) further like in FPM ( UIBB ).
    >
    >
    > thanks in Advance.
    >
    > Best Regards,
    > Kranthikumar Palle
    Hi,
    Please see [https://cw.sdn.sap.com/cw/docs/DOC-21546|https://cw.sdn.sap.com/cw/docs/DOC-21546]
    windows created through enhancement are local to component and hence they are not visible outside.
    You need to find other way to provide your interface view to UIBB.

  • How to make my ip static?

    Hello,
    I often need ports open for programs I use, and i haev multiple computes on my base station. It is always changing my ip number according to number of computers on my network. I was wondering how I make it so i am always the same. Does it have anything to do with being over .201? Thanks,
    Andre

    Open the Networking preference pane on your Mac and manually assign it an IP address of 201 or above. The DHCP server in the AirPort Extreme base station (AEBS) only uses the range 2-200.
    Also see Steve Newstrum's tip "How do I use Port Mapping (Part I)".

  • How to recover deleted files from a shared volume?

    Setup - Mac Mini Server (OSX 10.8.4, Server 2.2.1(169)), 256GB Flash drive, System data only.  External 8TB G-Raid holds all business data, backed up to a LaCie 6TB Quadra using Intego Backup Manager Pro 1.0.9.  The G-Raid has two folders 0_Clients and  DATA which are shared through OS X Server.
    Situation, told customer backup drive (LaCie) was almost full mid April, purge data.  They didn't and backups stopped running at end of April.  Yesterday, they accidentally deleted a folder / with files.  User was on an iMac, connected to the share DATA when deleted.  Called in a panic of course.  New folder and files were created after the last back was executed.
    Question - Folder and files were deleted but Trash was not "emptied".  Researching, I learned about hidden trash folders.  So, I was hopeful I'd find the info in the hidden /.Trashes folder on the shared Volume G-Raid.  My understanding is that that's where it would go, until an "empty trash" is executed.  I've shown all hidden files / folders via "defaults write com.apple.finder AppleShowAllFiles TRUE".  Navigated to the volume G-Raid/.Trashes and the folder/ files are not there.  Is there another location where they may possibly be??? Or, are they hosed and it's really gone "Deleted"???
    Thx

    With a locally connected volume e.g. a hard disk or USB flash drive, when you delete a file it does get moved to the 'Trash' folder and until the Trash is emptied can still be retrieved. However with a network volume if a logged in user deletes a file or folder it normally gets deleted immediately. (The user would get a message saying "This item will be deleted immediately. You can’t undo this action.")
    So the likelihood is that the items are not in any trash folder even if you found and looked in them.
    It used to be the case that even when using a network file server you still had the benefit of files first going to the trash folder but Apple stopped doing this a long time ago. The network trash folder would be at the top level of the network share. (If it exists and works.) Some NAS devices might still support it but as I mentioned I don't believe Apple themselves do.
    So you could try using Terminal.app to look for an invisible folder at the top-level folder of the network share, if the network share is a folder called 'Fred' then this invisible folder would be in 'Fred' and would be called "Network Trash Folder". You can try looking for this either on the server or from a logged in client.
    Do ls -la in Terminal.app the 'a' flag means show all including invisible files.
    As you have probably guessed by now it is almost certainly the case these files are lost and cannot be retrieved. The users unfortunately are guilty of multiple mistakes.
    They ignored your warning about the backup drive
    They deleted something they should not have
    They ignored the warning the Mac would have shown about "This item will be deleted immediately. You can’t undo this action."
    I would add an additional error that they and perhaps you as their advisor are guilty of. Never rely on a single level of backup, ideally you should have a rotating set of backups i.e. one for each day - Monday, Tuesday, etc. and even more importantly should store these off-site unless being used so that in the even of a fire, flood or other disaster you still have intact backups.
    In theory ACL permissions can be set to allow reading, allow writing but disallow deleting. Unfortunately in the real world trying to use the disallow deleting option is a waste of time. This is because many programs 'save' changes by saving a new temporary file, deleting the original file, and renaming the temporary file to the original name. This will not work if you block deleting.

Maybe you are looking for

  • Possible solution to iTunes 6 not opening, and B Noir is a genius

    Hello Im a first time poster here, and I have had some success getting my iTunes 6 update to work after I was experiencing the same problems that many posters here have had. I thought I would share how I fixed it, and maybe it would help someone else

  • Check amount of transition stock during inbound delivery creation

    I want to move stock between plans, therefore I have the following steps: 1. Stock Transfer Order (STO), e.g. 500 pieces 2. Sending plant: MIGO (GI for STO) with MT 351 to post to transition stock,  e.g. 100 pieces 3. Receiving plant: Inbound Deliver

  • Ever since I updated my Macbook Pro, the shortcuts on the F1-F12 keys no longer work as they did before.

    Ever since I updated my Macbook Pro, the shortcuts on the F1-F12 keys no longer work. I used to press just the F12 key and I would be able to raise the volume, now it switches to the home page. I want the old shortcuts back and I don't know how to do

  • JSP getting local machine time?

    I need to create a program which the users are located in two time zone. I will hence need to use the local machine time from their PC to check against certain record in my database. I understand JSP is processed at the server end. Is JSP capable of

  • Text datasource enhancement

    hello guys I am trying to enhance text datasourcein R3 and got this problem. I am trying to load texts for infoobject 'material number' fromR3 table MAKT.....I created view on fields MANDT,MATNR,MAKTX (client,material number,material description) and