CMIS connector save behavior on Mac OSX question

I've been working on implementing a CMIS compliant server and have a question about the behavior of Adobe Drive when saving files on Mac OSX. When an application saves a file to the network drive, Adobe Drive is sending a request to create a folder named "(A Document Being Saved By ...)" as part of the process. This only occurs on OSX and not on Windows.
Since a lot of the CMIS connector's testing seemed to be against Alfresco, I took at look at how Alfresco Handles the situation. Alfresco seems to work around this annoyance by allowing the folder creation but automatically removes the folder in short order. While I could implement similar behavior, I am trying to avoid as much client specific handling as possible.
Is this folder creation absolutely necessary on Adobe Drive's part?

Hello,
The folder creation request depends on the specific application. If an document-based application in Mac OS X uses NSDocumentController to operate the document, a temporary folder "(A Document Being Saved by xxx)" will be created, this is the normal document saving process. If the document is saved, the temp folder will be deleted soon by this application. Please see this link: http://developer.apple.com/library/mac/#documentation/Cocoa/Conceptual/Documents/Articles/ ObjectInteractions.html as reference.
So the folder create request from Adobe Drive is normal for this scenario, and after saving the document into the mounted drive by Adobe Drive, the delete request(deleting this temp folder) will be sent from Adobe Drive. I think Alfresco doesn't provide any workaround for this. For Alfresco server, it just handles the temp folder creation and deleting as the same as the normal folder.
Hope this helps.
Thanks,
Zhiqiang

Similar Messages

  • PermissionDeniedException behavior in Mac OSX Finder

    OSX Finder shows a bit unwanted behavior when it comes to handling permission issues. On Windows, everything works correctly, OSX 10.6.x has an issue with moving files, OSX 10.7.x. shows issues when moving, renaming and deleting files. Note that I'm not sure if this issue is related to Adobe Drive or to how OSX works internally.
    Moving files - an issue with 10.6.x and 10.7.x
    When a user moves files to a location where they don't not have permissions to create a file, OSX Finder shows a system login dialog where you can enter your OSX username and password. After entering the credentials (which aren't the credentials of the DAM server) nothing happens, the file stays in it's original location and no error is shown to the user.
    In this case I would expect to get an error dialog which tells the user it doesn't have permissions to move the file. The OSX login dialog doesn't provide anything in this case as it doesn't allow you to login as a different Drive user.
    Error in the AD log when moving files
    2012/04/23 16:43:02,825 [ConnectionHandler-kernel] ERROR AbstractHandler - com.adobe.drive.data.model.DriveException: com.adobe.drive.data.manager.exception.PermissionDeniedException: Asset is unlocked (ID: 1050 | Field of Sunflowers.jpg | FILE | VISIBLE)
    com.adobe.drive.biz.filesystem.FileSystemException: com.adobe.drive.data.model.DriveException: com.adobe.drive.data.manager.exception.PermissionDeniedException: Asset is unlocked (ID: 1050 | Field of Sunflowers.jpg | FILE | VISIBLE)
         at com.adobe.drive.internal.biz.filesystem.FileSystemService.wrapException(FileSystemService.java:1645)
         at com.adobe.drive.internal.biz.filesystem.FileSystemService.run(FileSystemService.java:1695)
         at com.adobe.drive.internal.biz.filesystem.FileSystemService.run(FileSystemService.java:1668)
         at com.adobe.drive.internal.biz.filesystem.FileSystemService.rename(FileSystemService.java:1003)
         at com.adobe.drive.internal.ncomm.filesystem.RenameHandler.handleRequest(RenameHandler.java:68)
         at com.adobe.drive.internal.ncomm.filesystem.AbstractHandler$1.call(AbstractHandler.java:204)
         at com.adobe.drive.model.context.Context.run(Context.java:88)
         at com.adobe.drive.internal.ncomm.filesystem.AbstractHandler.handleWithContext(AbstractHandler.java:200)
         at com.adobe.drive.internal.ncomm.filesystem.AbstractHandler.handle(AbstractHandler.java:66)
         at com.adobe.csi.internal.ncomm.NCommDelegate.execute(NCommDelegate.java:107)
         at com.adobe.versioncue.internal.nativecomm.host.Host.execute(Host.java:200)
         at com.adobe.versioncue.internal.nativecomm.host.ConnectionHandler.handleRequest(ConnectionHandler.java:162)
         at com.adobe.versioncue.internal.nativecomm.host.ConnectionHandler.run(ConnectionHandler.java:81)
         at java.lang.Thread.run(Thread.java:680)
    Caused by: com.adobe.drive.data.model.DriveException: com.adobe.drive.data.manager.exception.PermissionDeniedException: Asset is unlocked (ID: 1050 | Field of Sunflowers.jpg | FILE | VISIBLE)
         at com.adobe.drive.internal.data.manager.DataManager.convertException(DataManager.java:4617)
         at com.adobe.drive.internal.data.manager.DataManager.moveAsset(DataManager.java:3809)
         at com.adobe.drive.internal.biz.filesystem.FileSystemService$12.execute(FileSystemService.java:1020)
         at com.adobe.drive.internal.biz.filesystem.FileSystemService$FSRunnable.run(FileSystemService.java:1825)
         at com.adobe.drive.data.internal.persistence.PersistenceRunner.run(PersistenceRunner.java:119)
         at com.adobe.drive.internal.biz.filesystem.FileSystemService.run(FileSystemService.java:1688)
         ... 12 more
    Caused by: com.adobe.drive.data.manager.exception.PermissionDeniedException: Asset is unlocked (ID: 1050 | Field of Sunflowers.jpg | FILE | VISIBLE)
         at com.adobe.drive.data.manager.exception.PermissionDeniedException.assetUnlocked(PermissionDeniedException.java:80)
         at com.adobe.drive.data.manager.call.MoveApplication.checkProcessPreconditions(MoveApplication.java:56)
         at com.adobe.drive.data.manager.call.Move.execute(Move.java:139)
         at com.adobe.drive.internal.data.manager.DataManager.moveAsset(DataManager.java:3805)
         ... 16 more
    Deleting files - an issue with 10.7.x
    When a user tries to remove a file it doesn't have permission to, it first shows a confirmation dialog, then a login dialog, see the move issue. After entering the credentials it shows an error dialog which tells that the file cannot be deleted. This is already better than the move behavior, only the login dialog is not necessary.
    Renaming files - an issue with 10.7.x
    When a user tries to rename a file it doesn't have permission to, it first shows a login dialog, see the move issue. After entering the credentials it shows an error which tells that the file cannot be renamed.

    Mac Dreamweaver lists files in alphabetical order by
    default... regardless of what type it is, folders included. It is
    by no mean random, so I'm not sure what to tell you is going on.
    Some people prefer the Windows method of all the folders at the
    top, but alphabetical is just as organized.

  • Mac OSX question - not answered in FAQ or sea

    Hi there. I did a search for this and looked at the FAQ. Either I didn't search correctly or it hasn't been answered, so here's my question!
    I'm running an iBookG4 with Mac OS 0.4.8. Everything is fully updated and current. I love my Mac, but hate iPods.
    I had a Creative Zen Microphoto which tragically died during a stupid human trick (read: dodged an SUV while cycling and ended up making out with the ground). This was before I got my Mac.
    I'm wondering, does the workaround for the Zen Vision M (iTunes plugin) makes all iTunes files compatible with the Zen?
    Thanks!

    Bump...

  • Mac osX question regarding persistent LAN problem using Linksys router

     We are eight months into this problem.
    I had this up on the apple help board 6 months ago but could only get a band aid fix for the problem.
    (The "band aid" is explained on the link below.) 
    We have since exhausted 3 other professional help folks.
    We are using the WRT54GS ver. 5.
    Before we were using BEFSx41 ver. 2 and we had same problem.
    The full description of the problem can be found on this page...
    http://discussions.apple.com/thread.jspa?messageID=9062933#9062933 
    ANY well thought out suggestions deeply appreciated.
    Thanks. 

    Sorry dude, definitely sounds like a mac problem (i.e. editing the cnf files on mac s). Unless you are blocking a special service, which you probably aren't, then its definitely not the router. The reason I say that is all traffic gets transferred at layer 2 of the OSI model, in this case. IP addressing is layer 3 (router/network layer). Short answer is all traffic gets "switched" via mac address, not ip in this case. Your router here is more like a switch that provides dhcp and a default gateway to get to the internet. Any unknown mac (media access control, not mac/apple) traffic will get "routed" to the wan.
    Message Edited by bubbateeth on 02-27-2009 01:46 AM

  • HT4818 hey, I want to install windows on my mac, I have mac osx lion and I'm soon going to get mountain lion. If I use Boot camp to install windows do I need a windows disc, will i lose all my data, etc. If so how to I save them. Can I switch back to osx

    hey, I want to install windows on my mac, I have mac osx lion and I'm soon going to get mountain lion. If I use Boot camp to install windows do I need a windows disc, will i lose all my data, etc. If so how to I save them. Can I switch back to osx after I install windows. ( can I switch between Windows and OS X as many times as I want.) thanks for answering.
    Sebastian

    hey, I want to install windows on my mac, I have mac osx lion and I'm soon going to get mountain lion. If I use Boot camp to install windows do I need a windows disc, will i lose all my data, etc. If so how to I save them. Can I switch back to osx after I install windows. ( can I switch between Windows and OS X as many times as I want.) thanks for answering.
    Sebastian

  • I have a Mac OSX 10.6.8 and I can no longer "save to iphoto" when photos come by email.

    I have a Mac OSX 10.6.8 and I can no longer "save to iPhoto " when I get photos on email.

    What changed, before you could no longer save image attachments to iPhoto?
    Did you install new software or upgrade to newer versions?  Which version of iPhoto are you using?
    The "Save to iPhoto" feature has been missing for some iPhoto versions. I do not remember exactly when it vanished, but it is back with iPhoto 9,6 and MacOS X 10.10.2.
    As  a work-around - you can drag photo attacuments from your mail to the iPhoto icon in the Dock to save them to iPhoto.

  • Mac OSX 10.5.3 Leopard STANDARD Server CHANGEIP questions

    I am confused on how to check and change TCP/IP addresses via Mac OSX Leopard 10.5.3 server in STANDARD mode.
    I watched the great Sean Colins Lynda.com tutorial on OSX 10.5 Server, but i still have a few questions with how to deal with DNSs and CHANGE IP
    Here is the hardware & scenario:
    -- G5 Silver Doors Tower with 1.7GB Ram and Mac OSX 10.5 Leopard 10 user server
    -- Cablevision ISP with there BOOST service [that allows you to set-up a server and does not block ports 25 or 80]
    -- NO Static IP from Cablevison [they change it once in a blue moon when they want so I rely on DYNDNS below]
    -- Apple Airport TimeCapsule [with all latest firmware updates etc]
    -- DynDNS account and client software installed on server to update the DYNDNS severs with the current Cablevisions TCP/IP address
    Problem and Question
    ===
    Three times a year I will need to move this server. 1/3rd of year and at setup it is on residential Cablevision Account and Apple TimeCapsule Router, Then 2/3 of year server will be behind two funky large networks where I will have to set-up manual IP, DNS, and proxy info
    I need to know what the proper process is when I want to move the Mac. When the 10.5.3 STANDARD Server is in STANDARD mode can I just change the TCP/IP address in SYSTEM PREFERENCES...NETWORK ? Do I have to run the CHANGEIP command Afterwards [or Before]
    Also, for DNS config on server does it always need to have the loop back self reference [127.0.0.1] or can it just be configed from the Airport and/or network?
    And, big problem for now... dumbly when I set-up the OSX Server on the TimeCapsule Network I forgot to write down the TCP/IP address used. Now I am on the second funky corporate network and can't use the command:
    sudo changeip - idon't_knowip 10.0.96.48 server.cmtenyoffice.com server.cmtenyoffice.com
    Also, another question for the HOSTNAME... should it be HOSTNAME or FullyQuallifiedDomainName?
    My HOSTNAME seems to be "CMTE-Server.local" but I specified the FullyQualifiedDomainName to "sever.cmtenyoffice.com"
    NOTE: I do NOT have this domain registered and am not yet hosting a website or email server on this machine, but I may soon register the domain and then point MX records etc to the DYNDNS record that would point to server
    Anyhow, to wrap up,
    1- What is the proper process for changing the TCP IP address with a Leopard 10.5.3 STANDARD SERVER?
    2- What do I do with CHANGEIP command if I don't know what the STARTING TCP/IP address is?
    3- For HOSTNAME should I be entering the unregistered FQDN or the "CMTE-Server.local"
    Thanks for any an all info.
    -- Eric ZORK Alan
    -- Professional Poet & BED VLOGGER

    Hi Eric
    You use the one its using now.
    If the Server is Standalone issue:
    sudo changeip - oldIP newIP oldhostname newhostname
    Even if nothing changes you can still issue the command, supply the system admin name and password and let it do its stuff. Prior to doing this you must change the address in the Network Preferences Pane. Although not necessary it does not hurt if you restart afterwards.
    If the Server is an OD Master issue:
    sudo changeip /LDAPv3/127.0.0.1 oldIP newIP oldhostname newhostname
    You will not only be prompted for the system admin name and password but also for the Directory Administrator name and password. With both command you will get feedback as to what is going on. Obviously you will see more changes made if its an LDAP Server. Hostname will be the fully qualifed domain name (FQDN) defined in the DNS Service eg: myserver.mydomain.com.
    man changeip
    For usage. Actually prior to doing any of this and incidentally a good way of finding out not only the hostname but also the IP address associated with that name issue:
    sudo changeip -checkhostname
    You should run this before/after making the change. If everything checks out OK it should report 'the names match, there is nothing to change'. This is a good a test that lets you know its worked. However its not the only test. I would run host, nslookup and dig also. Next set a client to use the Server for its DNS and then test connectivity with firstly the Server's fqdn and lastly its IP Address.
    Ultimately the truest test is: "what impact has the change made on clients accessing the Server and its Services successfully?"
    If the Server is a mature OD Master (possibly PDC as well) with DNS, Mail, AFP, SMB, iCal and any other 2-3 additional services configured and running then issuing changeip may appear - superficially - to have worked. Occsasionally - in my experience - serious problems begin to develop with the LDAP database to the extent where the only 'cure' is to demote to Standalone, sorting out DNS and re-promoting. This can have serious repercussions if you have not made preparations to limit the re-build time prior to changing the IP address and issuing the command. Equally it can be successful. However can you take the risk?
    Tony

  • Hi . i have Intel based iMac. i erased whole hard disk. now it flashes folder icon with question mark... i have no internet or orginal dvd.... i want to clean install any mac osx..friend got mac book pro and osx in dmg format . what are my options?

    hi . i have Intel based iMac. i erased whole hard disk. now it flashes folder icon with question mark... i have no internet or orginal dvd.... i want to clean install any mac osx..friend got mac book pro and osx in dmg format . what are my options?

    On your friend's computer with an internet connection, log into the Mac App Store with your ID and download Yosemite from the Purchases section of the Mac App Store. The make a bootable USB install media using
    http://liondiskmaker.com/
    Then boot from that on your computer and install
    You need an internet connection to install via Recovery mode

  • Firefox does not create a pdf properly using "print Save as pdf" in Mac OSX. Why?

    When I "Print > Save As Pdf" in Mac OSX, Firefox will always clip the right margin of the page, leaving out alot of information from the document. Safari creates the same page effortlessly, but I generally prefer Firefox.
    == This happened ==
    Every time Firefox opened
    == ? After updating to Firefox 3.5.8 - maybe?

    I am able to command-print-save as PDF and get the whole page but Firefox crashes every time.

  • Can I "save as PDF" in iOS like I can with Mac OSX?

    Is there a way to "save as PDF" in iOS? The functionality I need is available in Mac OSX through all print dialogs I've ever seen, like it is part of Mac OSX. I can't seem to duplicate this functionality in iOS, even with the addition of 3rd party apps.
    Any suggestions? Is there a way to submit enhancement requests for Apple to consider in future updates?
    All help would be greatly appreciated.
    Thank you.
    CurtR

    It's not built-in to iOS, but there are a few apps that say that they can convert documents or web pages to PDFs (not that I've got any of them) - I just did a search for 'convert to pdf' in the store and got a few hits.
    If you want to leave feedback for Apple then you can do so here http://www.apple.com/feedback/ipad.html

  • I have a MacBook Pro running mac osx 10.8, Screen saver keeps reverting to national geographic photos.

    I have a MacBook Pro running mac osx 10.8, Screen saver keeps reverting to national geographic photos.

    Just found this solution on another website. I tried it and it works. No more polar bears and Savannahs!
    Apparently if you put it in the folder called "Desktop Pictures" it will work.
    So, copy whatever folder of pictures you would like to use as your screensaver and then go to:
    Macintosh HD>Library > Desktop Pictures
    Paste your folder into this folder called "Desktop Pictures".
    You may have to enter the administrator code (the password you use to open your mac usually).
    Then, go back to System Preferences, go to Desktop and Screensaver, click on the Screensaver tab on the top, go to the drop down menu beside "Source" (under the picture) and click on "Choose Folder". Navigate to the Macintosh HD>Library>Desktop Pictures and then click on the folder you just pasted in there. Click "Choose" and you're all set.

  • Question:  Do I need to run and anti virus program with MAC OSX Lion? Have heard different opinions! If so what would you recommend? Was looking at Sophos. Does anyone have any experience with this? Thanks

    Question:  Do I need to run and anti virus program with MAC OSX Lion? Have heard different opinions! If so what would you recommend? Was looking at Sophos. Does anyone have any experience with this? Thanks

    Do I need to run and anti virus program with MAC OSX Lion? Have heard different opinions!
    You will continue to hear different opinions here, where thoughts range everywhere between "anti-virus software is the evil spawn of Satan" to "anyone not running anti-virus software is a fool."
    Truth is, this is still a very personal decision on a Mac. Depending on circumstances, it is still very easily possible to stay safe without using anti-virus software, but circumstances and personal preferences vary widely. Besides which, anti-virus software cannot even remotely provide you a guarantee of protection!
    To learn how to stay safe (with or without anti-virus software), and how to decide whether to use anti-virus software, see my Mac Malware Guide.

  • CS6 hang during file save on mac OSX 10.6.8

    Experienced several occurances of Photoshop CS6 file save hang during background file save and autosave on mac OSX 10.6.8.
    The file save percentage counter initially showed progress, but then just stopped.
    Close window and quit application commands were blocked by the background save.
    Other editing commands commands were still possible.
    The files were large .psb files (>2Gb)
    Unfortunately no dump available as application was terminated with force quit.
    No problems experienced with these files under CS5.

    Experienced several occurances of Photoshop CS6 file save hang during background file save and autosave on mac OSX 10.6.8.
    The file save percentage counter initially showed progress, but then just stopped.
    Close window and quit application commands were blocked by the background save.
    Other editing commands commands were still possible.
    The files were large .psb files (>2Gb)
    Unfortunately no dump available as application was terminated with force quit.
    No problems experienced with these files under CS5.

  • I have Firefox 3.6 on my Mac OSX 10.6.5 and it will not save settings for igoogle or my password for googlemail or hotmail. Can you help?

    I have Firefox 3.6 on my Mac OSX 10.6.5 and it will not save settings for igoogle or my password for googlemail or hotmail. Can you help?

    Very weird day in Firefoxland
    First on a Powerbook G4 running 10.4.11 I respond to an invitation to upgrade to Firefox 4 (like a lot of others). Long story short, I wind up losing the browser altogether -- including all bookmarks. Why? Because neither the Firefox homepage (or CNET downloads) makes it clear that 4.0 is for OS 10.5 only! Amazing!
    Then I try to register to post a reply in a thread that crits Firefox for not making this System Requirements info upfront clear. But the Register page I’m taken to (https://support.mozilla.com/bs/users/register) is in SERBO-CROATIAN!!
    Then I try to log into Chat a couple of times and when it’s not CLOSED its a long line waiting and THEN it closes.
    WOW!! Are the wheels off the wagon here or what!?!

  • Is there a way to have mac osx save files to multiple venues?

    I'm writing a lot on MW word. I use a desktop, a jump drive, and i-disk. Is there a way to have either mac osx or MW word save the same file to all three sites?
    Thanks, g

    Gxr wrote:
    I'm writing a lot on MW word. I use a desktop, a jump drive, and i-disk. Is there a way to have either mac osx or MW word save the same file to all three sites?
    no. you either have to save to all 3 places by hand or use some sort of syncing software like chronosync to sync between folders you are saving to.

Maybe you are looking for

  • For anyone redeveloping Forms applications in ADF....

    The following event might be of interest to you http://www.ukoug.org/events/ukoug-development-sig-meeting1/ Its free and I know there are only a few places left. regards Grant

  • What are transport routes.

    hi al, can anyone tell me  why do we use tranport routes in TMS. and is there any limit for creating of the transport routes.

  • Iphone 4s always searching for network

    Hi All, I already tried the article that have suggested about iPhone: Troubleshooting No Service http://support.apple.com/kb/ts4429 but it doesn't solve the problem. I even tried to restore to factory setting and replacing the antenna but still the s

  • FCP5 just quit!

    I'm on a PowerMacG5, brand new, along with a brand new copy of FCP5 Studio HD. I've used it several times already with no problems. My latest project, however, I decided to set all the capture scratch, render files, etc. to save on my external harddr

  • N97 cant set up current ovi account

    hi, my n97 got sent in for repair, and i got a new phone replacement. ive been trying to set up my ovi.com mail and for some reason i keep getting the box come up with username and password, then connecting, then user name and password. can anyone he