Re: [WebDNA] Silly question
This WebDNA talk-list message is from 2009
It keeps the original formatting.
numero = 103221
interpreted = N
texte = > Is there an easy way to set file permissions to 777 as> default for all .db files (in CentOS/Apache)?Assuming you're using a default CentOS 5.3 + WebDNA 6.2 installation and logging in as root to manage your website files you do NOT have to change any file permissions. Here's the easy way to get permissions working properly when setting up a default CentOS 5.3 + WebDNA 6.2 server:1- Change umask from 022 to 002 in /etc/bashrc2- Put user "apache" into the "root" groupThat's all there is to it.If you perform these two simple tasks then reboot *before* you upload any files to the server WebDNA will work correctly at its default permission settings. You can even make these changes before installing WebDNA. Here's how it works:The umask change insures that newly created and uploaded files can be modified by other users in the same group as the user who created/uploaded those files. This means (for example) that when root uploads a file every user in the root group can modify it -- including user "apache" which you just put into the root group.And since WebDNA is "apache" on a CentOS server this means WebDNA can modify every file created and uploaded by "root" -- after you've made those two simple changes above.:)Sincerely,Ken Grome
Associated Messages, from the most recent to the oldest:
> Is there an easy way to set file permissions to 777 as> default for all .db files (in CentOS/Apache)?Assuming you're using a default CentOS 5.3 + WebDNA 6.2 installation and logging in as root to manage your website files you do NOT have to change any file permissions. Here's the easy way to get permissions working properly when setting up a default CentOS 5.3 + WebDNA 6.2 server:1- Change umask from 022 to 002 in /etc/bashrc2- Put user "apache" into the "root" groupThat's all there is to it.If you perform these two simple tasks then reboot *before* you upload any files to the server WebDNA will work correctly at its default permission settings. You can even make these changes before installing WebDNA. Here's how it works:The umask change insures that newly created and uploaded files can be modified by other users in the same group as the user who created/uploaded those files. This means (for example) that when root uploads a file every user in the root group can modify it -- including user "apache" which you just put into the root group.And since WebDNA is "apache" on a CentOS server this means WebDNA can modify every file created and uploaded by "root" -- after you've made those two simple changes above.:)Sincerely,Ken Grome
Kenneth Grome
DOWNLOAD WEBDNA NOW!
Top Articles:
Talk List
The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...
Related Readings:
[WebDNA] Apple Server (2013)
WebCat2b13MacPlugIn - [showif][search][/showif] (1997)
serial number generation (1997)
[carts] and databases (1997)
protect tag on NT IIS (1997)
sendmail spaces (1997)
WebCat2b13MacPlugin - [math][date][/math] problem (1997)
IIS4/WebCat3.0 Authentication (1999)
RE: Help name our technology! (1997)
Upload images to non DNA server (2004)
What about this [delete] situation? (1998)
Nested vs conditional (1997)
Plugin or CGI or both (1997)
2.0 Info (1997)
Almost a there but..bye bye NetCloak (1997)
shownext (1997)
Hiding HTML and page breaks (1997)
Grant, please help me ... (1997)
Webcat causing crashes left and right! (1997)
shipcost (1997)