You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
The reason will be displayed to describe this comment to others. Learn more.
Looks like this umask causes the extracted directory to have 700 permissions. This might be good for the temp directory, but not for the target directory, since ALL files under the temp will have 700 permissions. In effect this does "chmod go-rwx" for all files -- probably not the desired effect.
The reason will be displayed to describe this comment to others. Learn more.
Actually having this issue now.
I am trying it with that line removed now. I will let you all know how it goes.
Basis:
Unpack tar, install script installs some stuff then copies to /var/www/html.
Wrong permissions mean no apache.
842dedf
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks like this umask causes the extracted directory to have 700 permissions. This might be good for the temp directory, but not for the target directory, since ALL files under the temp will have 700 permissions. In effect this does "chmod go-rwx" for all files -- probably not the desired effect.
842dedf
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actually having this issue now.
I am trying it with that line removed now. I will let you all know how it goes.
Basis:
Unpack tar, install script installs some stuff then copies to /var/www/html.
Wrong permissions mean no apache.
842dedf
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thinking about making a flag to turn this feature off on build.