Re: Sshd, FtpServer and Vysper : missing g+w on /www/mina.apache.org

2010-02-24 Thread Dave Roberts
On 23/02/2010 21:09, Julien Vermillard wrote: I think the problem is due to cron not running the .profile before running the rsync Correct, cron is different from the user environment. It may call the system profile (/etc/profile) depending on OS, but the best option is to set the umask within

Sshd, FtpServer and Vysper : missing g+w on /www/mina.apache.org

2010-02-23 Thread Emmanuel Lecharny
Hi guys, we are unable to update some pages on /www/mina.apache.org because the pages belongs to induvidual (which is normal) but mina group does not have +w rights on them. Can you set your umask to 002 in your .profile, and chmod -R g+w on the directory ? Many thanks ! -- Regards,

Re: Sshd, FtpServer and Vysper : missing g+w on /www/mina.apache.org

2010-02-23 Thread Niklas Gustavsson
On Tue, Feb 23, 2010 at 3:02 PM, Emmanuel Lecharny elecha...@gmail.com wrote: we are unable to update some pages on /www/mina.apache.org because the pages belongs to induvidual (which is normal) but mina group does not have +w rights on them. Can you set your umask to 002 in your .profile,

Re: Sshd, FtpServer and Vysper : missing g+w on /www/mina.apache.org

2010-02-23 Thread Emmanuel Lécharny
On 2/23/10 5:31 PM, Niklas Gustavsson wrote: On Tue, Feb 23, 2010 at 3:02 PM, Emmanuel Lecharnyelecha...@gmail.com wrote: we are unable to update some pages on /www/mina.apache.org because the pages belongs to induvidual (which is normal) but mina group does not have +w rights on them.

Re: Sshd, FtpServer and Vysper : missing g+w on /www/mina.apache.org

2010-02-23 Thread Niklas Gustavsson
On Tue, Feb 23, 2010 at 5:52 PM, Emmanuel Lécharny elecha...@apache.org wrote: I *think* there might be a problem with the script that does a rsync from the server where the wiki is exported. To be checked... The scripts run in my crontab and looks like: 0 * * * * (/usr/local/bin/rsync -r

Re: Sshd, FtpServer and Vysper : missing g+w on /www/mina.apache.org

2010-02-23 Thread Emmanuel Lécharny
On 2/23/10 6:06 PM, Niklas Gustavsson wrote: On Tue, Feb 23, 2010 at 5:52 PM, Emmanuel Lécharnyelecha...@apache.org wrote: I *think* there might be a problem with the script that does a rsync from the server where the wiki is exported. To be checked... The scripts run in my crontab

Re: Sshd, FtpServer and Vysper : missing g+w on /www/mina.apache.org

2010-02-23 Thread Niklas Gustavsson
On Tue, Feb 23, 2010 at 6:44 PM, Emmanuel Lécharny elecha...@apache.org wrote: We should create real scrips in /www/mina.apache.org, and use them in crontab. We're using the documented solution for doing this:

Re: Sshd, FtpServer and Vysper : missing g+w on /www/mina.apache.org

2010-02-23 Thread Julien Vermillard
Le Tue, 23 Feb 2010 21:05:50 +0100, Niklas Gustavsson nik...@protocol7.com a écrit : On Tue, Feb 23, 2010 at 6:44 PM, Emmanuel Lécharny elecha...@apache.org wrote: We should create real scrips in /www/mina.apache.org, and use them in crontab. We're using the documented solution for doing