Thanks, lionstone. I'll see if this works with my host.
--
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com
- Template Triage!
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
http://www.macromedia.com/support/search/
- Macromedia (MM) Technotes
==================
"Lionstone" <HIDElionstone@HIDEhushmail.com> wrote in
message
news:efbe6n$kot$1@forums.macromedia.com...
> Command line, sure, but it would also work from a BAT or
COM file or WSH
> (windows scripting host) or anything that can send a
command to the
> Windows shell.
> Some hosts allow you to run CACLS on your directories.
Some do not.
>
>
> "Murray *ACE*" <forums@HAHAgreat-web-sights.com>
wrote in message
> news:efbdtb$ke0$1@forums.macromedia.com...
>> Thanks, lionstone.
>>
>> But I have to do this with host priveleges, right?
And I have to do it
>> from a command line on the server, right?
>>
>> --
>> Murray --- ICQ 71997575
>> Adobe Community Expert
>> (If you *MUST* email me, don't LAUGH when you do
so!)
>> ==================
>>
http://www.dreamweavermx-templates.com
- Template Triage!
>>
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
>>
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
>>
http://www.macromedia.com/support/search/
- Macromedia (MM) Technotes
>> ==================
>>
>>
>> "Lionstone" <HIDElionstone@HIDEhushmail.com>
wrote in message
>> news:efbd7g$jgg$1@forums.macromedia.com...
>>> Windows calls it an "Access Control List", which
is why the command is
>>> unpronounceable.
>>>
>>> CACLS (change access control list settings is
how I remember it) is what
>>> you're looking for.
>>> Basic usage:
>>>
>>> CACLS filename [/G
user:permission] [/R user:permission]
>>> [/P user:permission] [/D user:permission]
>>>
>>> You can specify more than one user in each
command (/G user:permission
>>> user:permission), but I normally am just doing
it for either IUSR or my
>>> FTP account, so I'm a little rusty. :)
>>>
>>> /T is used if you want to apply the ACL to all
specified files in the
>>> current directory and subdirectories (you can
use DOS wildcards * and ?
>>> to specify more than one file at a time without
using /T, but it won't
>>> hit subdirectories that way).
>>>
>>> /E is used if you want to edit the current ACL
rather than replace it
>>> (you'll almost always be using /E).
>>>
>>> /C says to continue on access denied errors
(only applies if you're
>>> specifiying more than one file/user).
>>> /G stands for "grant"
>>> /R stands for "revoke"
>>> /P stands for "replace"
>>> /D stands for "deny"
>>>
>>> Allowed values for "permission" are:
>>> N - none (except you can't "grant none" or "deny
none", N can only be
>>> used with /P)
>>> R - read
>>> C - change (write)
>>> F - full control (create, delete, etc)
>>>
>>> Examples:
>>> To grant IUSR permission to create new files in
a directory, you'd enter
>>> CACLS directoryname /E /G IUSR_SERVERNAME:F
>>>
>>> If you want to grant IUSR read-only permission
for all the files in a
>>> certain directory and its subdirectories, you'd
enter
>>> CACLS directoryname /E /G /T IUSR_SERVERNAME:R
>>>
>>> To specifically deny write access over the same,
you could do
>>> CACLS directoryname /E /D /T IUSR_SERVERNAME:C
>>>
>>>
>>> "Murray *ACE*"
<forums@HAHAgreat-web-sights.com> wrote in message
>>> news:efb36g$66e$1@forums.macromedia.com...
>>>> How can I CHMOD files on Windows servers?
>>>>
>>>> --
>>>> Murray --- ICQ 71997575
>>>> Adobe Community Expert
>>>> (If you *MUST* email me, don't LAUGH when
you do so!)
>>>> ==================
>>>>
http://www.dreamweavermx-templates.com
- Template Triage!
>>>>
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
>>>>
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
>>>>
http://www.macromedia.com/support/search/
- Macromedia (MM) Technotes
>>>> ==================
>>>>
>>>>
>>>>
>>>
>>>
>>
>>
>
>