1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice
  3. Dear Pleskians, I really hope that you will share your opinion in this Special topic for chatter about Plesk in the Clouds. Thank you!
    Dismiss Notice

Solution to Dreamweaver Time Sync

Discussion in 'Plesk for Linux - 8.x and Older' started by sphiengollie, Oct 14, 2005.

  1. sphiengollie

    sphiengollie Guest

    I've had several clients complain about dreamweaver's file sync not working...

    The problem is a permission problem...

    My solution: (from the shell)

    $ cd /home/httpd/vhosts/domain.com
    $ mkdir dreamweaver
    $ cd dreamweaver
    $ ln -s ../cgi-bin
    $ ln -s ../error_docs
    $ ln -s ../httpdocs
    $ ln -s ../httpsdocs
    $ ln -s ../private
    $ cd ..
    $ chown -R user dreamweaver

    Then all that's left is to inform the user to use "dreamweaver/" as their starting host directory.

    Everyone seems to be happy as the solution also allows them to store their dreamweaver related templates/libraries, notes, etc.

    If somebody could please help...
    - How do I make plesk do this for me?
    . (Skeleton directory somewhere?)

    Anyways, hope this helps someone...
  2. jamesyeeoc

    jamesyeeoc Guest

  3. sphiengollie

    sphiengollie Guest

    The plesk skel instructions don't cover adding additional directories? let allone setting the permissions...

    Any help?
  4. jamesyeeoc

    jamesyeeoc Guest

    Sorry, just read your *entire* post, last time I glanced and saw you wanted info on skeleton.

    Probably the best way to do what you want is to put your commands into a script and have it execute from the Plesk Event Manager, triggered on "Physical Hosting Created", this way, each time a new domain's Hosting is created (directories and such), your script would then run and create the additional dirs and set the perms/ownership, etc.

    The skeleton feature is a bit limited, looks like you want to create the dreamweaver dir at the domain root, not within httpdocs, and I don't believe there is any way to do the owner/perms from skel. I agree the doc's are too sparse.

    Event Manager docs:

    I apologize for not having paid more attention to the entire post the first time around.
  5. maclonghorn

    maclonghorn New Pleskian

    Nov 24, 2007
    Likes Received:
    awesome, james. i didn't even know about the event manager. this actually allows me to fix several problems i've been having lately, such as chmod a new web_user directory so that my client can upload files to a new ftp user acct created for her clients. outstanding!