0

I installed Dreamweaver 8 on Kubuntu with Wine, and I've already installed LAMP. Now I'm trying to give Dreamweaver root access to my var/www/html directory so I can write some PHP scripts but I can't find any way of doing that—is it possible?

Also is there any other native Linux app that is as good as Dreamweaver (with syntax highlighting)?

Oxwivi
  • 17,849
danidee
  • 245

1 Answers1

3

OK everybody calm down. You are asking to give a kid the nuclear launch codes of all countries to play with them. I recommend—let me rephrase that—I urgently, highly, extremely, recommend not giving root access to Wine but instead give permission to read and write to the www folder.

I suggest a soft link in your home folder to the www folder.

ln -s /var/www/html /home/USERNAME/www

You should now see a www folder in your home folder. If you have any permission problems you can follow one of this answers (not at my PC and I hate writing through small phones):

Now you can simply point Dreamweaver to the link in there. I would also follow both links provided in the comments by Eliah. They both can help you in other ways.

Luis Alvarado
  • 211,503
  • No chown $USER:www-data? – muru Sep 17 '14 at 16:40
  • Adding to that, I would recommend creating a symlink in your home directory so that you can point Dreamweaver to the directory much easily rather than navigate through Linux's directory. – Oxwivi Sep 17 '14 at 17:10
  • i didn't create a symlink but i got it working by adding permissions to the www folder.Thanks – danidee Sep 17 '14 at 17:14
  • 1
    I would follow the recommendation of @Oxwivi because it helps you navigate better and it gives you better compatibility with Wine since when configured it takes the home folder as the "Document & Settings" as in Windows. – Luis Alvarado Sep 17 '14 at 20:53