Page 1 of 2 12 LastLast
Results 1 to 10 of 11
  1. #1
    Join Date
    Jan 2011
    Posts
    58
    Plugin Contributions
    0

    help question Please tell me there is an easier way...

    Is there a quick and easy way to quickly verify the permissions on files and folders, without using an FTP program to go through and examine each directory and file?

  2. #2
    Join Date
    Apr 2006
    Location
    London, UK
    Posts
    10,569
    Plugin Contributions
    25

    Default Re: Please tell me there is an easier way...

    Yes. Run a shell script on the site to recursively set all file and director permissions and then tweak the two configure files to their tighter settings.

    If you don't have shell access to your server. Ask your webhost (nicely) if they'll do it for you.

    FileZilla will do this for you too, but it sends each command separately, which is painfully slow given the number of times it needs to do so.
    Kuroi Web Design and Development | Twitter

    (Questions answered in the forum only - so that any forum member can benefit - not by personal message)

  3. #3
    Join Date
    Jan 2011
    Posts
    58
    Plugin Contributions
    0

    Default Re: Please tell me there is an easier way...

    I don't know what a shell script is, but I do use FileZilla, so how do you do that?

  4. #4
    Join Date
    Apr 2006
    Location
    London, UK
    Posts
    10,569
    Plugin Contributions
    25

    Default Re: Please tell me there is an easier way...

    Right click on a folder, set the permissions you need, check the "Recurse into subdirectories" checkbox and select the apply to directories only radio button.

    When that's finished, right click on a file, set your file permissions, check the "recurse" box and select apply to files only.

    When that's done, go and reset your two configure.php files to have permissions "444".
    Kuroi Web Design and Development | Twitter

    (Questions answered in the forum only - so that any forum member can benefit - not by personal message)

  5. #5
    Join Date
    Jan 2011
    Posts
    58
    Plugin Contributions
    0

    Default Re: Please tell me there is an easier way...

    I should set all the folders to 755, and all files to 644 right? Set the two configure.php files to 444, and weren't there some other pages that were recommended to have only read access?

  6. #6
    Join Date
    Apr 2006
    Location
    London, UK
    Posts
    10,569
    Plugin Contributions
    25

    Default Re: Please tell me there is an easier way...

    What you should set the permissions to will depend on your server operating system, and the security protocols in operation there. That's down to your web host to explain.

    You're right about there being some other folders that need different permissions. You can get more information about this from this FAQ Entry.
    Kuroi Web Design and Development | Twitter

    (Questions answered in the forum only - so that any forum member can benefit - not by personal message)

  7. #7
    Join Date
    Jan 2011
    Posts
    58
    Plugin Contributions
    0

    Default Re: Please tell me there is an easier way...

    Thank you!

  8. #8
    Join Date
    Dec 2010
    Posts
    248
    Plugin Contributions
    0

    Default Re: Please tell me there is an easier way...

    I did this this morning!!

    You can do this in one step by going to the root of your site and if, for examplem, the root of your site is Public_HTML for example, right click on that and set the file permission you want check the "Recurse into subdirectories" box and select the apply to directories only radio button.

    When that's finished, do the same thing again only check the "recurse" box and select apply to files only.


    Cheers,

    Maxy
    Mitch B
    www.lovetovape.com.au
    love the Zen-Cart forums!!!

  9. #9
    Join Date
    Jan 2011
    Posts
    58
    Plugin Contributions
    0

    Default Re: Please tell me there is an easier way...

    I've noticed that Filezilla AND WinSCP both have an issue changing anything below 644 on my site. Is that an issue with the applications (both of them) or is my hosting provider preventing outside applications from changing permissions below 644? I did the recursive step on my public_html folder and it changed anything above 644 down to 644, I did the same thing for the folders (down to 755), and then had to go to my hosts file manager to change the configuration files down to 444, as Filezilla and WinSCP couldn't alter them. Wierd.

    Any thoughts or ideas?

  10. #10
    Join Date
    Apr 2006
    Location
    London, UK
    Posts
    10,569
    Plugin Contributions
    25

    Default Re: Please tell me there is an easier way...

    I use both FileZilla and WinSCP and have never noticed this on either of them. Sounds as though your server security is configured to prevent these changes (or prevent them through FTP at least). That would be one to discuss with your webhost.
    Kuroi Web Design and Development | Twitter

    (Questions answered in the forum only - so that any forum member can benefit - not by personal message)

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. Is there an easier way to do downloadable products?
    By chaze in forum General Questions
    Replies: 5
    Last Post: 17 Nov 2012, 01:14 AM
  2. there must be an easier way
    By secondnature in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 17 Mar 2011, 02:54 PM
  3. Specials - Is there an easier way?
    By amyleew in forum Setting Up Specials and SaleMaker
    Replies: 6
    Last Post: 18 Jan 2010, 12:48 AM
  4. Is There An Easier Way?
    By apinkpony11 in forum Setting Up Categories, Products, Attributes
    Replies: 5
    Last Post: 9 Aug 2006, 03:04 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR