Welcome to Dream.In.Code
Getting Help is Easy!

Join 136,586 Programmers for FREE! Get instant access to thousands of experts, tutorials, code snippets, and more! There are 2,073 people online right now. Registration is fast and FREE... Join Now!




CHMOD on a windows server?

 
Reply to this topicStart new topic

CHMOD on a windows server?, How can I set the file permissions on a Windows server??

aj32
1 Mar, 2008 - 02:46 PM
Post #1

D.I.C Addict
Group Icon

Joined: 30 Aug, 2007
Posts: 577



Thanked: 2 times
Dream Kudos: 675
My Contributions
Hi all!

I need to set file permissions on my server to CHMOD 444, but when I send the request to the server it returns 504 Command not implemented for that parameter I have read that this is because Windows does not support CHMOD, but I need to set the file permissions, how can I do this on a Windows server?

Thank you!
-AJ32
User is offlineProfile CardPM
+Quote Post

no2pencil
RE: CHMOD On A Windows Server?
2 Mar, 2008 - 09:24 PM
Post #2

My fridge be runnin OH NOEZ!
Group Icon

Joined: 10 May, 2007
Posts: 6,465



Thanked: 66 times
Dream Kudos: 2425
Expert In: Goofing Off

My Contributions
QUOTE(aj32 @ 1 Mar, 2008 - 03:46 PM) *

Hi all!

I need to set file permissions on my server to CHMOD 444, but when I send the request to the server it returns 504 Command not implemented for that parameter I have read that this is because Windows does not support CHMOD, but I need to set the file permissions, how can I do this on a Windows server?

Thank you!
-AJ32

Since you are getting a 504 error... I'm guessing that you are trying to do this via php code? Can you just verify that you can read the file?
User is online!Profile CardPM
+Quote Post

aj32
RE: CHMOD On A Windows Server?
3 Mar, 2008 - 04:26 AM
Post #3

D.I.C Addict
Group Icon

Joined: 30 Aug, 2007
Posts: 577



Thanked: 2 times
Dream Kudos: 675
My Contributions
QUOTE(no2pencil @ 3 Mar, 2008 - 12:24 AM) *

Since you are getting a 504 error... I'm guessing that you are trying to do this via php code? Can you just verify that you can read the file?


I need to set the permissions of a file via FTP client, and I can read all the files, they are all set to 777, which is what I need to change.

Thank you!
User is offlineProfile CardPM
+Quote Post

baavgai
RE: CHMOD On A Windows Server?
3 Mar, 2008 - 04:38 AM
Post #4

Dreaming Coder
Group Icon

Joined: 16 Oct, 2007
Posts: 2,031



Thanked: 105 times
Dream Kudos: 475
Expert In: C, C++, Java, C#, ASP.NET, PHP, Perl, Python, Oracle, SQL Server, MySql, HTML, JavaScript, Lua

My Contributions
QUOTE(aj32 @ 3 Mar, 2008 - 07:26 AM) *

I need to set the permissions of a file via FTP client, and I can read all the files, they are all set to 777, which is what I need to change.


If windows is your ftp server, then this probably isn't possible. Windows permissions are drastically different than basic unix style. If you do need to change permissions, change how the windows user can see the files on that server. If it's anonymous, check to see what pemissions the anonymous proxy user has.

If you're comfortable with the command line, there's a windows server command called "cacls" that you may find useful.

Hope this helps.

User is offlineProfile CardPM
+Quote Post

Fast ReplyReply to this topicStart new topic
Time is now: 12/3/08 01:04AM

Live Help!

Tutorials

Programming

Web Development

Reference Sheets

Code Snippets

DIC Chatroom

Bye Bye Ads

Monthly Drawing

Thumb Drive

Top Contributors

Top 10 Kudos This Month