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

Join 86,374 Programmers. There are 1,419 online right now! Ask your question and get quick answers from Dream.In.Code experts. Join the #1 programming help community on the internet! Registration is fast and FREE... Join Now!

Chat LIVE With a Expert
Powered by LivePerson.com

Register to Make This Box Go Away!

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
post 1 Mar, 2008 - 03:46 PM
Post #1


D.I.C Regular

Group Icon
Joined: 30 Aug, 2007
Posts: 456



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
Go to the top of the page
+Quote Post


no2pencil
post 2 Mar, 2008 - 10:24 PM
Post #2


DIC K-mart

Group Icon
Joined: 10 May, 2007
Posts: 3,322

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
Go to the top of the page
+Quote Post

aj32
post 3 Mar, 2008 - 05:26 AM
Post #3


D.I.C Regular

Group Icon
Joined: 30 Aug, 2007
Posts: 456

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
Go to the top of the page
+Quote Post

baavgai
post 3 Mar, 2008 - 05:38 AM
Post #4


Dreaming Coder

Group Icon
Joined: 16 Oct, 2007
Posts: 1,078

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 online!Profile CardPM
Go to the top of the page
+Quote Post

Fast ReplyReply to this topicStart new topic
Time is now: 5/17/08 02:47AM

Live Help!

Tutorials

Programming

Web Development

Reference Sheets

Code Snippets

Bye Bye Ads

Free DIC T-Shirt

T-Shirt Example

Related Sites

Monthly Drawing

Thumb Drive

Partners

Top Contributors

Top 10 Kudos This Month