NuSphere Forums Forum Index
NuSphere Forums
Reply to topic
Access /var/www with phpEd


Joined: 09 Jun 2008
Posts: 5
Reply with quote
Ubuntu 7 server
windows development environment phpEd


Hi,
I am really enjoying the phpEd env. my question is long winded....I am working in (phpEd) on windows with a large project hundreds of files on an Ubuntu server. I can access my home directory ubuntu/home/me with filezilla and phphEd. I have used putty to move files from my directory to the /var/www folder. My question is how can I gain access to the /var/www folder from my IDE. I have chmod 777 /var/www I can see the file structure of the /var/www folder and download the files in that folder (/var/www) but I need to modify the files in the /var/www folder. Please help it is simply not practical to move each modified file from my home directory to the /var/www folder. Does anyone have a workaround this security measure.


al
"What good is security if it makes you a prisoner."
View user's profileFind all posts by technotoolSend private message
Site Admin

Joined: 13 Jul 2003
Posts: 8342
Reply with quote
This is not an issue with PhpED. If you get an "access denied" error when you're uploading a file to the remote server, you have to adjust file permissions/ownership according to the rules that are mostly the same for all Linux/Unix platforms. Alternatively you may want to ask your server administrator to provide you with an appropriate account that is already granted with necessary permissions. Everything depends on the directory Owner/Group, file Owner/Group and your account name relationships. For example, if your account is in the directory's Group, you need to have group-write permission or you won't be able to create/delete files in that directory. If your account is neither Owner nor listed in the Group, you need world-write permission on the directory. Same goes for the file read/write operations.

_________________
The PHP IDE team
View user's profileFind all posts by dmitriSend private messageVisit poster's website
/var/www


Joined: 09 Jun 2008
Posts: 5
Reply with quote
thanks
I modify those permissions.
technotool
View user's profileFind all posts by technotoolSend private message
accessing /var/www


Joined: 09 Jun 2008
Posts: 5
Reply with quote
Hey Dmitri,

Changing the permissions worked like a charm. Thanks so much--is there anything you don't know.
Do you give relationship advice?
My girlfriend says I spend too much time on the computer?
What should I tell her?
View user's profileFind all posts by technotoolSend private message
Veteran

Joined: 06 Jun 2007
Posts: 289
Location: Vancouver, Canada
Reply with quote
Relationship and financial advice? Yes, that is exactly what all of us geeks need! Wink

_________________
Smile
View user's profileFind all posts by annoSend private messageVisit poster's website
Access /var/www with phpEd
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT - 5 Hours  
Page 1 of 1  

  
  
 Reply to topic