Your best friend for file transfer.

Fetch application logoFetch

Newbie chmod problems on a mac... (19 posts)

  • Started 7 years ago by echsllc
  • Latest reply 2 years ago from Jim Matthews
  • echsllc Member

    I want to set permissions on a directory I just created on my server. Am I missing something simple here?

    1.) I select the file in the ftp window

    2.) I use the 'Remote' dropdown and choose 'Send FTP Commands'

    3.) I click on 'Set upload permissions'

    4.) I type 777 into the blank (just 777, nothing else) and hit the button and I get the following error:

    "Fetch could not send the command "SITE UMASK
    000" because the FTP server sent an unexpected response.

    "SITE UMASK 000
    500 'SITE UMASK' not understood
    ftp_cmd/ftp_user: -30000 (state == QUOTE_CMD)"

    ....so I wasn't sure what to make of that. is this a server thing, or morely likely, driver error?

    Posted 7 years ago #

  • Scott McGuire Administrator

    Hi,

    You don't want to use the "Set upload permissions" feature - that's for setting permissions automatically when uploading, and doesn't operate on files that have already been uploaded. Also, most servers (such as yours) don't support the "Set upload permissions" feature anyway.

    To set permissions on folders and/or files, you should:

    (1) Select the folder.
    (2) Click the Get Info button, or choose the Get Info item from the Remote menu.
    (3) In the info window that appears, click on the disclosure triangle next to the words "Ownership and Permissions".
    (4) Set the permissions using the checkboxes or entering the permissions in the UNIX equivalent field.
    (5) Click the Apply button.

    Please let us know if this doesn't do what you want.

    Thanks,

    Scott McGuire
    Fetch Softworks

    Posted 7 years ago #

  • echsllc Member

    you are the bomb... thx for the crazy quick reply... I'm sure this will nail it...

    Posted 7 years ago #

  • presto Member

    Hello,

    I am having the same issue. The only difference is that there is no triangle next to any "Ownership and Permissions." To remedy this do I need to set the folder permissions before I upload it?
    If so, how can I CHMOD once a folder is uploaded?
    Cheers,

    -presto

    Posted 5 years ago #

  • Scott McGuire Administrator

    Hi Presto,

    No, you should not set the folder permissions before you upload a folder - the permissions that you set on a folder on your Mac are not copied when you upload a folder to the server.

    In order to give you the best advice, could you please tell us which version of Fetch and which version of Mac OS X you're using?

    Thanks,

    Scott McGuire
    Fetch Softworks

    Posted 5 years ago #

  • presto Member

    Hello Scott,

    Thank you for the timely reply. I am using version 5.3. My mac is version 10.4.10.

    -presto

    Posted 5 years ago #

  • Scott McGuire Administrator

    Hi Presto,

    Thanks for the info. Could you please try the following?

    * Connect to your server.
    * Select the problem folder.
    * Go to the Remote menu, and choose Get Info.
    * At the top of the info window in the "General" section, just below the folder icon, look at the "Kind" - what does it say? Does it say folder, or does it say something else?

    Thanks,

    Scott McGuire
    Fetch Softworks

    Posted 5 years ago #

  • presto Member

    Hello Scott,

    It says folder. But I found out something interesting along this same topic. When I signed into another one of my sites I am able to do the CHMOD just as you have described above. Is it possible that I may need to adjust something with my web host in order to have this access? Thanks again,

    -presto

    Posted 5 years ago #

  • Scott McGuire Administrator

    Hi,

    Thanks for the information. Some servers simply do not support setting permissions of files and folders (these are usually Windows-based FTP servers) and your server may be one of those.

    We can try to figure that out if that's the case. Could you please do the following?

    * Quit Fetch, if it's running.
    * Open Fetch again.
    * Connect to your server.
    * Go to the View menu and choose Refresh.
    * Go to the Window menu, and choose Fetch Transcript.
    * Copy the entire contents of the transcript window, and paste them into a reply to this message.

    And we'll take a look and let you know.

    Thanks,

    Scott McGuire
    Fetch Softworks

    Posted 5 years ago #

  • cindy Member

    Hi,
    I am having a similar issue to the above posting, except that when I view info for any file, I don't see a permissions tab at all.

    Below is the transcript I have after following your last set of instructions for presto. Any help would be appreciated. Thanks!

    Fetch 5.1 (5B286) Intel running on Mac OS X 10.4.9 (8S2167) Intel English
    StuffIt Engine 0x820, StuffIt SDK Version 10.1.1b1
    Partial serial FETCHEX001-SVF4-EVKP T
    Connecting to www.simplyorganizeme.com port 21 (OS X firewall is off) (8/24/09 5:36:48 PM)
    Connected to 208.109.181.34 port 21 (8/24/09 5:36:49 PM)
    220 Microsoft FTP Service
    USER calicoskies17
    331 Password required for calicoskies17.
    PASS
    230 User calicoskies17 logged in.
    SYST
    215 Windows_NT
    PWD
    257 "/calicoskies17" is current directory.
    MACB ENABLE
    500 'MACB ENABLE': command not understood
    PWD
    257 "/calicoskies17" is current directory.
    TYPE A
    200 Type set to A.
    PASV
    227 Entering Passive Mode (208,109,181,34,16,255).
    LIST -al
    125 Data connection already open; Transfer starting.
    07-30-07 11:51AM <DIR> _db_backups
    08-02-07 03:19AM <DIR> aspnet_client
    08-24-09 02:11PM <DIR> files
    08-29-06 11:52AM 2472 gdform.asp
    08-24-09 02:14PM 147 htaccess
    08-10-07 12:31PM 44300 index.htm
    08-24-09 02:14PM 2509 index.php
    08-10-07 01:18PM 292311 j0399350.jpg
    08-10-07 01:17PM 898 j0424090.wmf
    08-24-09 02:17PM <DIR> ndxz-studio
    08-20-07 06:51AM <DIR> ssfm
    07-14-09 10:20PM <DIR> stats
    08-29-06 11:52AM 2890 welcome.html
    226 Transfer complete.
    CWD /calicoskies17
    250 CWD command successful.
    PWD
    257 "/calicoskies17" is current directory.
    PASV
    227 Entering Passive Mode (208,109,181,34,17,8).
    LIST -al
    125 Data connection already open; Transfer starting.
    07-30-07 11:51AM <DIR> _db_backups
    08-02-07 03:19AM <DIR> aspnet_client
    08-24-09 02:11PM <DIR> files
    08-29-06 11:52AM 2472 gdform.asp
    08-24-09 02:14PM 147 htaccess
    08-10-07 12:31PM 44300 index.htm
    08-24-09 02:14PM 2509 index.php
    08-10-07 01:18PM 292311 j0399350.jpg
    08-10-07 01:17PM 898 j0424090.wmf
    08-24-09 02:17PM <DIR> ndxz-studio
    08-20-07 06:51AM <DIR> ssfm
    07-14-09 10:20PM <DIR> stats
    08-29-06 11:52AM 2890 welcome.html
    226 Transfer complete.
    CWD files
    250 CWD command successful.
    PWD
    257 "/calicoskies17/files" is current directory.
    PASV
    227 Entering Passive Mode (208,109,181,34,17,27).
    LIST -al
    125 Data connection already open; Transfer starting.
    08-24-09 02:11PM <DIR> gimgs
    226 Transfer complete.
    CWD gimgs
    250 CWD command successful.
    PWD
    257 "/calicoskies17/files/gimgs" is current directory.
    PASV
    227 Entering Passive Mode (208,109,181,34,17,28).
    LIST -al
    125 Data connection already open; Transfer starting.
    226 Transfer complete.
    CWD /calicoskies17/files
    250 CWD command successful.
    CWD /calicoskies17
    250 CWD command successful.
    PWD
    257 "/calicoskies17" is current directory.
    Update check skipped at 08/24/2009 05:38 PM (next check after 08/25/2009 06:04 AM)
    PWD
    257 "/calicoskies17" is current directory.

    Posted 5 years ago #

  • Scott McGuire Administrator

    Hi Cindy,

    The transcript shows that your server is Windows-based, and as I mentioned to presto, many Windows-based servers do not support setting of permissions via FTP. So Fetch does not show the Permissions tab when the server doesn't support that capability.

    You should contact the folks who run the server and ask them if there's a some way to enable the ability to set permissions on your FTP account. (Some Windows servers do have this capability, and maybe it is just disabled for you or they can move you to another server that supports it.)

    Thanks,

    Scott McGuire
    Fetch Softworks

    Posted 5 years ago #

  • cindy Member

    Ok awesome, I'll look into it. Thanks so much for your help Scott!

    Posted 5 years ago #

  • Leonard Member

    Related issue: can I use Fetch to chmod a directory and its contents all at once, the way I do in Transmit?

    Posted 4 years ago #

  • Jim Matthews Administrator

    Hi Leonard,

    You can run an AppleScript to chmod a directory and all its contents. The script is called "Recursive Set Permissions" and is one of the Fetch Example Scripts you can download from http://fetchsoftworks.com/fetch/download

    Thanks,

    Jim Matthews
    Fetch Softworks

    Posted 4 years ago #

  • Leonard Member

    Thanx!

    Posted 4 years ago #

  • andrew Member

    Hi,

    I am having an issue uploading a HTML file to my website. I have followed all of the instructions: using Put icon, and selecting HTML from folder on desktop. The file is uploading into the fetch menu without any issue, when I double click on it in fetch, it tells me the transfer is complete. However, when I visit my URL, there is no information there indicating I have uploaded the info.

    can you please assist me?

    Thanks in advance,

    Andrew

    Posted 2 years ago #

  • Jim Matthews Administrator

    Hi Andrew,

    We'd be happy to help trouble-shoot this problem. Could you try uploading the HTML file again, and then choosing "Fetch Transcript" from the Window menu and posting the entire contents of that window? That will give us useful information about what is happening. Also, it would be useful to know what the URL of your site is.

    Thanks,

    Jim Matthews
    Fetch Softworks

    Posted 2 years ago #

  • LDMartin1959 Member

    -----
    To set permissions on folders and/or files, you should:

    (1) Select the folder.
    (2) Click the Get Info button, or choose the Get Info item from the Remote menu.
    (3) In the info window that appears, click on the disclosure triangle next to the words "Ownership and Permissions".
    (4) Set the permissions using the checkboxes or entering the permissions in the UNIX equivalent field.
    (5) Click the Apply button.
    -----

    When attempting to change the settings of an entire directory structure, how do I set the permissions for all files and folders below the selected folder? The change seems to only affect the actual selected folder but nothing contained within. I see a reference to running a script but not sure how to incorporate that into Fetch.

    Edited 2 years ago #

  • Jim Matthews Administrator

    Hi,

    We don't have that feature built into Fetch, but we've written a script called Recursive Set Permissions that will do the trick. It's one of the Fetch 5 Example Scripts, which you can download from http://fetchsoftworks.com/fetch/download

    Please let me know if Recursive Set Permissions doesn't do what you need.

    Thanks,

    Jim Matthews
    Fetch Softworks

    Posted 2 years ago #

Topic closed

This topic has been closed.