Jump to content

How to chmod in putty?

- - - - -

  • Please log in to reply
3 replies to this topic

#1
onething

onething

    Programmer

  • Members
  • PipPipPipPip
  • 118 posts
Say you have a webpage you want to chmod, but filezilla will just act retarded and appear to be obeying your command to change it but just wont once you close the window.

Do you:

Login via SSH?

If so, why does the SSH login look so different to the folders you see in a FTP interface?

Thats in WinSCP, and it reminds me of Filezilla, which is depressing. Im looking for some helllooking black hole where I can enter commands, like CLI.

So I get Putty. What would be the command to chmod my particular webpage I want chmodding?

Odd because Im logging into an area, a root, that doesnt show my public html or any of my webpages, so yeah confusing.

#2
Alexander

Alexander

    It's Science!

  • Moderators
  • 4,124 posts
  • Location:Vancouver, Eh! Cleverness: 200
If it is true that you can connect via PuTTY, try to connect with the same credentials under SFTP mode in FileZilla.

The server likely has aimed to allow SFTP/SCP access, in this case there is absolutely no reason to require full shell access and chmod can be done either way.
Be sure to read the updated FAQ! || Health is achieved through the same 10,000 steps.
If a suggested code/method fails, informing us is less important than telling us why or what errors occurred.

#3
Vaielab

Vaielab

    Programming God

  • Members
  • PipPipPipPipPipPipPip
  • 547 posts
The reason ssh is so different than ftp, is because normally in ssh you have access to the whole server, but in ftp you have only access to a subfolder, so you need to find this subfolder and them chmod it.
If you don't know where the ftp folder is, you can always create a file with a unique name with ftp, and with ssh search it with the command find "find / -name TheName" I think is the command

#4
Alexander

Alexander

    It's Science!

  • Moderators
  • 4,124 posts
  • Location:Vancouver, Eh! Cleverness: 200
If you could tell us what you are seeing, it may make sense. "somewhere" in "some command line" is completely unhelpful.
Be sure to read the updated FAQ! || Health is achieved through the same 10,000 steps.
If a suggested code/method fails, informing us is less important than telling us why or what errors occurred.




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users