Chmod On A Windows 2000 Server..

StormLiongStormLiong Join Date: 2002-12-27 Member: 11569Members
<div class="IPBDescription">Any ideas how to do this remotely?</div> Hi,
I was wondering how does one change the file permission of a file on a ftp remotely. I know that if teh server was a Unix server, its just a simple case of running the CHMOD command. But the server is a Windows 2000 server. So how does one do the CHMOD equivalent? Or does it require direct access to teh server by the server administrator?

Thanks

Comments

  • ShockehShockeh If a packet drops on the web and nobody&#39;s near to see it... Join Date: 2002-11-19 Member: 9336NS1 Playtester, Forum Moderators, Constellation
    Storm, I'm afraid this is one of the biggest problems WITH Windows. There are a few ways to do it, but probably something in the FTP Server program should be able to configure it.

    Otherwise, you just cry, tbh.
  • StormLiongStormLiong Join Date: 2002-12-27 Member: 11569Members
    Damn. Thanks for the reply.

    It because of this. I am the server admin for my student union where our webserver also host various clusb and societies of our union whihc are individually administered. I had just installed Invision forum for the 1st time on one of them and one of the things I had to do was to directly access the server (via PCAnywhere) and set the permissions for the various files there.

    Does it mean everytime someone need a particular file permission set for various reason (invison forums etc). They (the clubs and societies webmasters) have to like tell me it and I have to set there then myself. Man that will be alot of work. But I guess I cant help it. Dont want to go through the trouble of getting the union to upgrade the server to a Unix server. <!--emo&:D--><img src='http://www.unknownworlds.com/forums/html/emoticons/biggrin.gif' border='0' style='vertical-align:middle' alt='biggrin.gif'><!--endemo-->
  • MonsieurEvilMonsieurEvil Join Date: 2002-01-22 Member: 4Members, Retired Developer, NS1 Playtester, Contributor
    Why do you have to do it via FTP - you have no other access to the web admin consoles or terminal services or telnet? That's your school's fault, hardly the OS's. Using a clear text transmitter like FTP to change permissions has been a dumb idea for 20 years. Using an RPC or SSL connected admin console is my preference.
  • Spyder_MonkeySpyder_Monkey Vampire-Ninja-Monkey Join Date: 2002-01-24 Member: 8Members, NS1 Playtester, Contributor
    edited December 2003
    ^^ What he said.

    Use Terminal Services Client

    ... and FTP? I believe the Amish just got approval to use this... as it's far from technology.

    Oh, and a side note, Active Directory is your bestest friend.

    <3
  • DOOManiacDOOManiac Worst. Critic. Ever. Join Date: 2002-04-17 Member: 462Members, NS1 Playtester
    edited December 2003
    We use active directory at work, and it pwns. Except when it lags, but that's rare...

    What sucks is having to download email from an IMAP server that's around 1500 messages a day :X
  • StormLiongStormLiong Join Date: 2002-12-27 Member: 11569Members
    Thanks for the help. I am just totally lost with "active directory". And whats wif " RPC or SSL connected admin console"? You mean to remotely accessing the server. If so then I can do that myself as the main web admin with PCAnywhere. I am pretty sure I dun wan to give other users the ability to do that even if it is accessing their own folder only.

    Access via telnet?! Well i assume that was possible via telnet so I just tried connecting to my webserver via it but i cant figure out the port number. Even if it does work, the extra work for me to write up the documentation for other users to use.

    I have so far came to the conclusion that I will have to write up a set of procedures for the various webmasters who need certain files set of its permission to email me their request and I set it myself manually. Slower way i suppose and more work for me but seems to be the most easiest and fool-proof way. Only thing that could go wrong is if i set the wrong files wrong or wif the wrong permission by accident. <!--emo&:D--><img src='http://www.unknownworlds.com/forums/html/emoticons/biggrin.gif' border='0' style='vertical-align:middle' alt='biggrin.gif'><!--endemo-->
  • Spyder_MonkeySpyder_Monkey Vampire-Ninja-Monkey Join Date: 2002-01-24 Member: 8Members, NS1 Playtester, Contributor
    We use a variety of admin consoles where I work. Besides the ol' NT boxes (some systems we run still require this crap), we hardly have to touch any systems by hand anymore.
  • ShockehShockeh If a packet drops on the web and nobody&#39;s near to see it... Join Date: 2002-11-19 Member: 9336NS1 Playtester, Forum Moderators, Constellation
    At the same time, you can't go telling him FTP is insecure & old, and then suggest <i>telnet</i>?!?!?!

    At least SSH MonsE, think of the children! WON'T SOMEONE THINK OF THE CHILDREN!?
  • MonsieurEvilMonsieurEvil Join Date: 2002-01-22 Member: 4Members, Retired Developer, NS1 Playtester, Contributor
    edited December 2003
    I was just describing a few alternate methods to FTP, and not all of them secure. There is no MS-provided SSH service for Windows servers. You can make telnet relatively secure, as it does use NTLM authentication though, and you can activate and deactivate the service via an RPC call when not in use. It's considerably more robust on Windows than on *nix, although you are 100% right that it still sucks ponce.

    I guess my biggest question is, if he's an admin on that box, why not just use Windows Explorer or (on the commandline) CACLS/XCACLS/ROBOCOPY/SUBINACLS/PERMCOPY/etc... to set the security remotely? Firewall blocking 135?
  • StormLiongStormLiong Join Date: 2002-12-27 Member: 11569Members
    <!--QuoteBegin--></span><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> </td></tr><tr><td id='QUOTE'><!--QuoteEBegin-->I guess my biggest question is, if he's an admin on that box, why not just use Windows Explorer or (on the commandline) CACLS/XCACLS/ROBOCOPY/SUBINACLS/PERMCOPY/etc... to set the security remotely? Firewall blocking 135? <!--QuoteEnd--></td></tr></table><span class='postcolor'><!--QuoteEEnd-->
    hehe. sorry ive got no clue how do that.

    But just as an update. Ive checked my web server (a Windows 2000 server) and the worse is true. It doesnt have Active Directory installed! And I cant install it. Not because I dont have the ability or resource to do it. Just a simple click of the mouse at the administrative tool.

    Just that I realized that it will require a restart of the server. Now for one thing, my boss is not going to like the fact that the site will be down, even if it is for 10 minutes or so. And the other thing is that, I am not physically at the server. I am controlling the server remotely via PCAnywhere. Should the restart go wrong sumwhere, I got no means to fix accept by calling support and telling them.

    So yeh, overall for me its back to my sub-users to email me the files/folders they need to change permission on. OR I just create a folder called like "data" where all permissions has been set. I'll c how it goes. <!--emo&:D--><img src='http://www.unknownworlds.com/forums/html/emoticons/biggrin.gif' border='0' style='vertical-align:middle' alt='biggrin.gif'><!--endemo-->
Sign In or Register to comment.