-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.

mdpc
  • 11,856
  • 28
  • 53
  • 67
ridermansb
  • 215
  • 3
  • 9

1 Answers1

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)

neal
  • 161
  • 1
  • 4