Current time: 11-05-2024, 08:56 PM Hello There, Guest! (LoginRegister)


Post Reply 
Suggestion to have multiple sites share a common shared directory
Author Message
gilbert Offline
Junior Member
*

Posts: 45
Joined: May 2007
Reputation: 0
Post: #6
RE: Suggestion to have multiple sites share a common shared directory
Hi,

The client has a dedicated server so security is not an issue of access between the sites is not an issue and or all sites on the server.

user for site that initiates the copy is vu2001
when I su vu2001
issue
cp /var/www/virtual/site1.com/htdocs/copyTest/pumadisc.jpg /var/www/virtual/site2.com/htdocs/copyTest/

I get
cp: accessing `/var/www/virtual/site2.com/htdocs/copyTest/': Permission denied

ls -l /var/www/virtual/
drwxrwx--- 8 vu2010 www-data 4096 2009-09-02 00:26 site2.com
ls -l /var/www/virtual/site2.com/
drwxrwxr-x 5 vu2010 www-data 4096 2009-08-31 15:12 htdocs
ls -l /var/www/virtual/site2.com/htdocs
drwxrwxr-x 2 vu2010 www-data 4096 2009-08-31 15:12 copyTest


Would I have to add vu2001 to www-data group is that a good solution?

Thanks,
Gilbert.
(This post was last modified: 09-03-2009 09:51 AM by gilbert.)
09-03-2009 09:50 AM
Find all posts by this user Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Suggestion to have multiple sites share a common shared directory - gilbert - 09-03-2009 09:50 AM

Forum Jump:


User(s) browsing this thread: 2 Guest(s)