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/bashrc 2- Put user "apache" into the "root" group That'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:

    
  1. Re: [WebDNA] Silly question (Stuart Tremain 2016)
  2. Re: [WebDNA] Silly question (christophe.billiottet@webdna.us 2016)
  3. [WebDNA] Silly question (Steve Craig 2016)
  4. Re: [WebDNA] Silly question (Kenneth Grome 2009)
  5. Re: [WebDNA] Silly question (William DeVaul 2009)
  6. Re: [WebDNA] Silly question (Kenneth Grome 2009)
  7. Re: [WebDNA] Silly question (William DeVaul 2009)
  8. Re: [WebDNA] Silly question (Marc Thompson 2009)
  9. Re: [WebDNA] Silly question (Frank Nordberg 2009)
  10. Re: [WebDNA] Silly question (Terry Wilson 2009)
  11. Re: [WebDNA] Silly question (John Butler 2009)
  12. Re: [WebDNA] Silly question (Kenneth Grome 2009)
  13. Re: [WebDNA] Silly question (Terry Wilson 2009)
  14. Re: [WebDNA] Silly question (Bob Minor 2009)
  15. [WebDNA] Silly question (Frank Nordberg 2009)
> 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/bashrc 2- Put user "apache" into the "root" group That'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:

Re:Need help... (1997) Wanted: More Math Functions (or, Can You Solve This?) (1997) Password Generator (2004) Platform Switch (1997) Re:Finding max value for a field (1997) Wireless WebDNA available today! - ATT: TECH SUPPORT (2000) sorting dates (1999) syntax question, not in online refernce (1997) RE: 2.01 upgrade problems (1997) SORRY (1997) Another question (1997) [SearchString] usage (1997) Re:affiliate marketing program (1998) Shhh... (2006) [WebDNA] Receive JSON POST (2019) take me off mailing list please (2001) 3.0 [TEXT] variables (1998) Dynamic Pop up menu? (1997) Error.html (1997) WebCat2 - [include] tags (1997)