Hi Bob,
Sorry for my late reply regarding this thread.
As I stated in my e-mail, it is a deployment script. It retrieves the
latest source code from a code repository, compresses it into a .tar.gz
file, sends that file to the production server, and then runs a remote
script on the production
On 06/19/2014 01:31 PM, Wouter Thielen wrote:
Hi Bob,
Sorry for my late reply regarding this thread.
As I stated in my e-mail, it is a deployment script. It retrieves the
latest source code from a code repository, compresses it into a .tar.gz
file, sends that file to the production
On 06/19/2014 02:34 PM, Pádraig Brady wrote:
The variation on some systems where users can give away files
is discussed at the APPLICATION USAGE and RATIONALE sections of:
http://pubs.opengroup.org/onlinepubs/9699919799/functions/chown.html
We should mention this _portable_ behavior in the
On 06/19/2014 06:57 PM, Pádraig Brady wrote:
diff --git a/man/chown.x b/man/chown.x
index 96b0c23..31e7104 100644
--- a/man/chown.x
+++ b/man/chown.x
@@ -27,4 +27,4 @@ If only a colon is given, or if the entire operand is
empty, neither the
owner nor the group is changed.
.SH OPTIONS
Looks fine. Two nits barely worth mentioning: one in the .texi file:
s/group in/group of/
one in the log:
s/\*man/* man/
Also, in the relative formality of documentation,
it's slightly better to write It is than It's
On 06/19/2014 07:45 PM, Jim Meyering wrote:
Looks fine. Two nits barely worth mentioning: one in the .texi file:
s/group in/group of/
one in the log:
s/\*man/* man/
Also, in the relative formality of documentation,
it's slightly better to write It is than It's
Pushed with those
Hello Wouter,
Wouter Thielen wrote:
Sorry for my late reply regarding this thread.
And I am late too. It is summertime here and fun stuff is happening.
Exactly. So if the application user (let's call him appuser) was a member
of the www-data group, then the deployment script run by appuser
Wouter Thielen wrote:
Here is a very common usecase:
sudo chgrp www-data dir
in a deployment script.
Hmm... Why are you often changing files to www-data? That is usually
the process id that owns the web server process. Usually running
apache or nginx or other web process. It is chosen
Hi,
Here is a very common usecase:
sudo chgrp www-data dir
in a deployment script.
I have always used sudo with this because I didn't know why I was getting
an operation permitted error when doing so. Until I found out that if the
effective user is a member of the target group www-data, the