Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I use FileZila, and must give 777 permissions to a folder on my site.

This folder contains the database file.

FileZila tried changing the folder permissions, the command is running smoothly but the permissions are not changed.

How can I do this via the command line in windows (cmd)? I managed to connect, list and even send files via FTP using Windows cmd but I can not change the permissions of a file or folder.

share|improve this question

closed as off topic by Zoredache, squillman, GregD, mailq, MDMarra Oct 6 '11 at 22:10

Questions on Server Fault are expected to relate to server, networking, or related infrastructure administration within the scope defined by the community. Consider editing the question or leaving comments for improvement if you believe the question can be reworded to fit within the scope. Read more about reopening questions here.If this question can be reworded to fit the rules in the help center, please edit the question.

What type of FTP server, what OS is the server running on? Are you even permitted to modify permissions? – Zoredache Oct 6 '11 at 18:19
Windows' permissions system works differently from Unix/Linux's. What OS is the target file on? – Pekka 웃 Oct 6 '11 at 18:35
OS: Windows. I am the owner of the folder – Ridermansb Oct 6 '11 at 19:39
One of the tags on this post indicates the OS (Windows 7) – Ridermansb Oct 6 '11 at 19:40
You can't give 777 to a Windows folder. Windows doesn't use the Unix Owner/Group/World permission structure. – MDMarra Oct 6 '11 at 19:46

If it is a windows host, try icacls:

icacls foldername

this will print out the existing perms.

icacls directory_name /grant your_group:F /t

this will grant full control recursively to the directory to your group (or substitute your username)

share|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.