-1

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.

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

1 Answer 1

1

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)

Not the answer you're looking for? Browse other questions tagged .