Guest John Posted February 21, 2008 Posted February 21, 2008 Hi, I download a text file daily from the Weather Bureau using a small batch file and FTP. The file is saved in the same folder as the batch file. Unfortunately, the file is not inheriting the security details from the folder which means users don't have access to it. If I manually change the security on the file by selecting "Allow inheritable permissions from the parent etc." then users have access. But as soon as the file is refreshed, that option is unselected and users no longer have access. Is there a way to either ensure a new file with the same name as the original will inherit the security settings from the folder? Alternatively, can I use my batch file to set the security on this file after downloading? Thanks, John
Guest John Posted February 22, 2008 Posted February 22, 2008 Re: FTP file permission issue Issue resolved by using CACLS in the batch file. Thanks, John "John" <john_corangamite@hotmail.com> wrote in message news:Ofm4GlNdIHA.1212@TK2MSFTNGP05.phx.gbl... > Hi, > > I download a text file daily from the Weather Bureau using a small batch > file and FTP. The file is saved in the same folder as the batch file. > Unfortunately, the file is not inheriting the security details from the > folder which means users don't have access to it. If I manually change the > security on the file by selecting "Allow inheritable permissions from the > parent etc." then users have access. But as soon as the file is refreshed, > that option is unselected and users no longer have access. > > Is there a way to either ensure a new file with the same name as the > original will inherit the security settings from the folder? > Alternatively, can I use my batch file to set the security on this file > after downloading? > > Thanks, > > John
Recommended Posts