Web Analytics Made Easy -
StatCounter make all files with write permision - CodingForum

Announcement

Collapse
No announcement yet.

make all files with write permision

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • make all files with write permision

    hi

    is there any way that in any FTP client when click permiisions and chnage to 777 then all files and directories also get that permission rather than only that directory

  • #2
    Well it's probably just a matter of what FTP client you are using. Different clients have different features.

    Although I have never seen one with such a feature, you can always try selecting more than one file/folder by selecting each files individually while holding Ctrl. That should select the ones you want, then try changing the permissions on one of the selected files/folders and it should change them all. (Note: Should)

    Comment


    • #3
      Originally posted by Mirror_Image View Post
      hi

      is there any way that in any FTP client when click permiisions and chnage to 777 then all files and directories also get that permission rather than only that directory
      it's not a good idea and that's why in ftp clients is not implemented such a thing, as far as I know.
      anyway you can look to -R option of chmod or you can use find and chmod to do that from ssh:
      Code:
      $ find -type f -o -type d -exec chmod 777 {} \;
      best regards

      Comment


      • #4
        i know old versions of smartftp used to give you the option to apply the change to all subdirectories and files. but, it's no longer free... so dunno. it is a pretty dangerous thing to do.

        Comment


        • #5
          whats the danger of that , can anyone explain indetail , whats the use of permissions

          Comment


          • #6
            Originally posted by Mirror_Image View Post
            whats the danger of that , can anyone explain indetail , whats the use of permissions
            Exactly what it sounds like. You give permissions to certain users or usergroups to limit what they can or cannot do to files in the specified directory. For example, if you're running on a public network, you certainly don't want to give everybody write permissions because that runs the risk of losing all your files.

            Denied permissions always take precedence over allowed permissions.

            Comment


            • #7
              Originally posted by Mirror_Image View Post
              whats the danger of that , can anyone explain indetail , whats the use of permissions
              along with Shinykirby replay, maybe this help:

              http://www-sst.informatik.tu-cottbus...der_perm2.html

              another problem except write access, and in my opionon bigger, is the permission to execute.
              ( 777 means ugo+rwx )

              best regards

              Comment


              • #8
                Unless you explicitly need the execute function (at that point you should be wondering why you need the execute permission), I don't see why you would set it for public, along with write. Filezilla has this functionality built in if you set the permissions on the root directory then check "Recurse into subdirectories and files".
                Blog | Twitter
                Useful links: W3C HTML Validator | W3C CSS Validator | HTML 5 Guide
                CF: HTML & CSS Resources/Tutorials Thread | HTML & CSS Posting Rules and Guidelines
                Remember: no link, no code, no help!

                Comment


                • #9
                  what does execute permission mean , diff b/w read and execute?

                  Comment


                  • #10
                    Originally posted by Mirror_Image View Post
                    what does execute permission mean , diff b/w read and execute?
                    means that file can be run or executed( like a executable program).
                    combined with write permision, a user can upload, or write excutable code into a file, then can run the script/programm.

                    best regards

                    Comment


                    • #11
                      u mean to say that user within the shell account can modify the code or any person outside the shell?

                      Comment


                      • #12
                        Originally posted by Mirror_Image View Post
                        u mean to say that user within the shell account can modify the code or any person outside the shell?
                        ugoa,


                        best regards

                        Comment


                        • #13
                          i have seen that before but could not understood completely

                          Comment

                          Working...
                          X