Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 5 of 5
  1. #1
    Regular Coder
    Join Date
    Oct 2003
    Location
    SC
    Posts
    936
    Thanks
    0
    Thanked 0 Times in 0 Posts

    ftp> chmode setup/ 400

    ftp> chmode setup/ 400... what does that mean, and how can I do it?

  • #2
    Super Moderator
    Join Date
    May 2002
    Location
    Perth Australia
    Posts
    4,040
    Thanks
    10
    Thanked 92 Times in 90 Posts
    what it does depends on the FTP client/server e.g.

    chmod setup/ 0400

    would chmod the folder ./setup to 0400

    why do you want to do it if you don't know what it does ? can you elaborate your needs ?
    resistance is...

    MVC is the current buzz in web application architectures. It comes from event-driven desktop application design and doesn't fit into web application design very well. But luckily nobody really knows what MVC means, so we can call our presentation layer separation mechanism MVC and move on. (Rasmus Lerdorf)

  • #3
    Mega-ultimate member
    Join Date
    Jun 2002
    Location
    Winona, MN - The land of 10,000 lakes
    Posts
    1,855
    Thanks
    1
    Thanked 45 Times in 42 Posts
    Chmod 400 is a very restrictive setting giving only the file onwer read-only access. No write / execute capabilities for the owner, and no permissions what-so-ever for anyone else.

    Why do you need such restrictive permissions?

  • #4
    Regular Coder
    Join Date
    Oct 2003
    Location
    SC
    Posts
    936
    Thanks
    0
    Thanked 0 Times in 0 Posts
    I dont care what i does, but for that script i down loaded it says that i have to chmode 3 files, and if i dont the script says its not gonna run for me

    so I have to chmode those files, but how????

  • #5
    Regular Coder
    Join Date
    Feb 2004
    Location
    WA
    Posts
    213
    Thanks
    0
    Thanked 0 Times in 0 Posts
    You may want to understand what the script requires and why it requires it. Because if it is a script that allows users to modify configuration and/or other files, then you may want to restrict it as much as is possible. btw, chmod is a unix/linux command. It does not work in windows. you can achieve the same purpose by setting the access control lists if you are using NTFS.
    Nobody is Perfect. I am Nobody.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •