Re: [WebDNA] Two file tags don't work as expected

This WebDNA talk-list message is from

2009


It keeps the original formatting.
numero = 102707
interpreted = N
texte = > > ... but instead of leaving the permissions set to 777 > > on the moved file, WebDNA changes the moved file's > > permissions to 664. Why does it do this? > > I don't know that the generic WebDNA movefile is that > sophisticated since it is cross platform.. but I haven't > personally looked at the source for that tag yet. Okay thanks, I guess this means we cannot count on WebDNA to move a file without changing its permissions. > [waitforfile file=yournewfile][/waitforfile] > [shell]/chmod 777 ./[/shell] I know I can do a lot with shell script solutions and I will if I have to, but I cannot write a cross-platform website when using shell scripts. > I don't know of too many times where files marked at > 777 is a good thing. Actually my WebDNA prefs were set to 666/660 earlier, but I changed them to 777/777 then ran my tests again so I could see if a Linux permissions issue was causing the problem, and apparently it is not. Sincerely, Ken Grome Associated Messages, from the most recent to the oldest:

    
  1. Re: [WebDNA] Two file tags don't work as expected (Donovan Brooke 2009)
  2. Re: [WebDNA] Two file tags don't work as expected (Kenneth Grome 2009)
  3. Re: [WebDNA] Two file tags don't work as expected (Donovan Brooke 2009)
  4. [WebDNA] Two file tags don't work as expected (Kenneth Grome 2009)
> > ... but instead of leaving the permissions set to 777 > > on the moved file, WebDNA changes the moved file's > > permissions to 664. Why does it do this? > > I don't know that the generic WebDNA movefile is that > sophisticated since it is cross platform.. but I haven't > personally looked at the source for that tag yet. Okay thanks, I guess this means we cannot count on WebDNA to move a file without changing its permissions. > [waitforfile file=yournewfile][/waitforfile] > [shell]/chmod 777 ./[/shell] I know I can do a lot with shell script solutions and I will if I have to, but I cannot write a cross-platform website when using shell scripts. > I don't know of too many times where files marked at > 777 is a good thing. Actually my WebDNA prefs were set to 666/660 earlier, but I changed them to 777/777 then ran my tests again so I could see if a Linux permissions issue was causing the problem, and apparently it is not. 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:

Admin Edit prob. (1997) WebCat2b13MacPlugIn - [include] doesn't allow creator (1997) Comments in db? (1997) Newbie Tax Question (1997) Multi-Row Tables from a search. (1997) Nested tags count question (1997) Re:Emailer Error Question (1998) Help! Missing [showif] or [hideif] (2000) Request for page test (2003) Running _every_ page through WebCat ? (1997) 4.5 Upgrade (2003) Show if time tags (1997) Prevent multiple appends with Reload Button (1997) WebCat2b15MacPlugin - showing [math] (1997) [math] show=F exists? (1997) Questions (1998) Email Formatting and Encryption (1998) One other big addition... (1997) WC2.0 Memory Requirements (1997) Document Contains No Data! (1997)