Randy's Stupid Question of the day

Randy Rathbun randy at rrr.2y.net
Thu Sep 7 21:15:42 CDT 2000


Thanks Hal and Mike! 

Well, I am using Dreamweaver quite a bit, but also using blogger.com to
maintain the blog entries, and also getting ready to do a webcam app so I
can program my satellite dish over the web - the webcam app can either
write the file then rename it (which is the best way to do a webcam, I
have found, otherwise the picture can possibly turn to garbage) or rewrite
the same file over and over. 

The main problem though is when I use Dreamweaver or StarOffice - neither
has a way that I have found of doing replacements of files - they both act
like they are writing temp files then deleting and renaming instead of
updating what is already there. Blogger does an overwrite and it
works. All ways though will make the file/directory unreadable if they
are new. 

Well, time to check the umask. Will let ya all know...

On Thu, 7 Sep 2000, mike neuliep wrote:

> Randy, that's definately NOT a stupid question -- indeed the problem may have
> a couple of causes.  Here's the first thing I'd look at to maybe solve the
> problem:
> 
> When you edit the index.html file does your editor delete the file then 
> rewrite it?  If using ftp to access the box, does your ftp client do this?
> 
> If so, it could be the default umask setting it set to 077 when iyou probably
> want it set to 022   Look in your .bashrc your .login or your .profile (or maybe
> even /etc/profile) for anything referring to umask and give it a try.  Also 
> some fancy web-publishing ftp clients will do a chmod 700 on your files after
> it touches them.  If you're using one of these, you might want to check the 
> client settings.
> 
> With all that said, now you know why it isn't a stupid question -- there is no
> simple answer.  Try those things and let us know if you progess!  
> 
> 	Mike Neuliep
> 	mike at illiana.net

-- 

Randy Rathbun
randy at rrr.2y.net
http://rrr.2y.net

Oh, I've seen copies [of Linux Journal] around the terminal room at The Labs.
         -- Dennis Ritchie




More information about the Kclug mailing list