Cannot Assign Permissions to Files on FTP Connection

Need help with FileZilla Client? Something does not work as expected? In this forum you may find an answer.

Moderator: Project members

Post Reply
Message
Author
Danchat
500 Command not understood
Posts: 2
Joined: 2018-10-08 17:33
First name: Dan

Cannot Assign Permissions to Files on FTP Connection

#1 Post by Danchat » 2018-10-08 18:26

Hello, I'm a new FileZilla user and I'm trying to assign file permissions to a few files on a Wi-Fi network. When I connect to the network, I am able to reach the files and right-click to select "File Permissions...", but no matter which permissions I assign, the operation fails. Here is the result:

Image

How is the "CHMOD" command unknown? Could this FTP connection somehow prevent permissions, and would there be some way to get around that?

User avatar
boco
Contributor
Posts: 26935
Joined: 2006-05-01 03:28
Location: Germany

Re: Cannot Assign Permissions to Files on FTP Connection

#2 Post by boco » 2018-10-08 18:46

Some facts about SITE CHMOD:
1. It works only for UNIX-like filesystems. Windows FTP servers cannot support it, as such permissions do not exist on Windows.
2. Even on UNIX-like OS, FTP servers do not have to support SITE CHMOD at all.
3. SITE CHMOD is not part of any FTP specification, thus it is not an official FTP command.

The FTP server you are connected to simply does not support SITE CHMOD at all, so you can't use it.
No support requests over PM! You will NOT get any reply!!!
FTP connection problems? Please read Network Configuration.
FileZilla connection test: https://filezilla-project.org/conntest.php
FileZilla Pro support: https://customerforum.fileZilla-project.org

Danchat
500 Command not understood
Posts: 2
Joined: 2018-10-08 17:33
First name: Dan

Re: Cannot Assign Permissions to Files on FTP Connection

#3 Post by Danchat » 2018-10-08 21:22

boco wrote:
2018-10-08 18:46
Some facts about SITE CHMOD:
1. It works only for UNIX-like filesystems. Windows FTP servers cannot support it, as such permissions do not exist on Windows.
2. Even on UNIX-like OS, FTP servers do not have to support SITE CHMOD at all.
3. SITE CHMOD is not part of any FTP specification, thus it is not an official FTP command.

The FTP server you are connected to simply does not support SITE CHMOD at all, so you can't use it.
Alright, thanks for the information. I'm confused at the moment, because I know what you're saying is true because during the research I did for this problem confirms it, but the tutorial I'm following requires that I give permissions. (Basically, I'm connecting to a drone's Wi-Fi network and placing some scripts in it that need to be executable.) The tutorial specifically did the CHMOD command in PuTTY, so I'll go try that in a Unix environment.

User avatar
boco
Contributor
Posts: 26935
Joined: 2006-05-01 03:28
Location: Germany

Re: Cannot Assign Permissions to Files on FTP Connection

#4 Post by boco » 2018-10-09 00:19

The CHMOD as a UNIX/Linux command does exist. I just said that the FTP server software doesn't support it and you cannot set the permissions over FTP. You can, however, set them over a remote shell (SSH2). From the screenshot, looks like some sort of Arduino headless system without a screen.
No support requests over PM! You will NOT get any reply!!!
FTP connection problems? Please read Network Configuration.
FileZilla connection test: https://filezilla-project.org/conntest.php
FileZilla Pro support: https://customerforum.fileZilla-project.org

Post Reply