Syntax to change chmod in ssh

chamunt

Registered
Mar 19, 2020
3
0
1
UK
cPanel Access Level
Website Owner
I just need to change the permissions on one folder to chmod 777. The web host said I can't use ftp for this as Linux so need to use ssh. I'm using a program called PuTTY to do this, but when I put in:

chmod 777 courses/admin

(admin is the folder whose permission I want to change)

it comes back as 'file not found'.

How should I be writing the command? Apologies, I'm out of my depth, but it's only one thing I want to change.

Many thanks in advance for any help.
 

cPanelLauren

Product Owner II
Staff member
Nov 14, 2017
13,266
1,301
363
Houston
You want to do chmod 777 /full/path/to/the/file are you modifying the permissions of a file that's visible within the file manager? If so you can change the permissions of the file through cPanel>>Files>>File Manager.

Thanks!
 

chamunt

Registered
Mar 19, 2020
3
0
1
UK
cPanel Access Level
Website Owner
OK , thanks for quick reply. I tried that and it was not rejected as before, but the permissions had not changed when I checked.
For the cPanel file manager, how do I access that? Thanks
 

ffeingol

Well-Known Member
PartnerNOC
Nov 9, 2001
856
367
363
cPanel Access Level
DataCenter Provider
If you use Filezilla (or many other FTP programs) you can choose properties for the folder (in the FTP client) and change the permissions from there.
 

chamunt

Registered
Mar 19, 2020
3
0
1
UK
cPanel Access Level
Website Owner
If you use Filezilla (or many other FTP programs) you can choose properties for the folder (in the FTP client) and change the permissions from there.
Tried that. It works for individual files, but not a folder. Something to do with server being Linux and not windows. The provider said need to use ssh, but support not great and my knowledge pretty limited. Cheers anyway.
 

cPanelLauren

Product Owner II
Staff member
Nov 14, 2017
13,266
1,301
363
Houston
OK , thanks for quick reply. I tried that and it was not rejected as before, but the permissions had not changed when I checked.
For the cPanel file manager, how do I access that? Thanks
You'd access through cPanel by going to cPanel -> Files -> File Manager as I indicated previously.