Solved

Changing file permissions in cpanel to 4755

Posted on 2009-06-30
10
1,053 Views
Last Modified: 2013-11-08
Hi,

I need to change the file permissions on a folder I want to use for a cron job - and have been told that I can do this in cpanel. Have navigated to the File Manager section, but the only options I am presented with are the standard CHMOD properties.

Can someone help me set these permissions without having to write Linux commands on the command line?

Cheers,

Daisy
0
Comment
Question by:daisydoos
  • 6
  • 4
10 Comments
 
LVL 3

Expert Comment

by:Siridivi
ID: 24745136
Click on the "Perms" column, and edit the permissions. I was not, however, able to change it back from 4644 to 0644 using this method, I had to go to the command line to change it back, so beware. I don't know if that has to do with my cPanel setup or cPanel in general.
0
 

Author Comment

by:daisydoos
ID: 24745683
Hi,

Thanks for getting back to me. Sorry about this - not that familar with cpanel - when I am logged in, I can only navigate to Files > File Manager.... When I am logged in as the root user, I cannot see a column marked Permissions/Perms either.... sorry!

Cheers,

Daisy
0
 

Author Comment

by:daisydoos
ID: 24746217
Am trying to use Putty to access the command line.... let you know how it goes! If there's anything else you can suggest, please let me know!

Cheers,

Daisy
0
Back Up Your Microsoft Windows Server®

Back up all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

 
LVL 3

Expert Comment

by:Siridivi
ID: 24746267
I've attached a screen shot, just be sure we're speaking of the same thing. Also, what version of cPanel are you using? There should be a left side column with a list of items and paths, one of them should be cPanel following by the version.
cpanel.jpg
0
 

Author Comment

by:daisydoos
ID: 24747398
Hi,

I am usign 11.24.4-RELEASE

I can access the same menu as your screenshot - it's just that if go to "change permissions" on the folder I want to do this for I can only undertake the standard properties - no way to set 4755..

Cheers,
 
Daisy
0
 
LVL 3

Expert Comment

by:Siridivi
ID: 24747723
If you click the "change permissions" button, that's correct, if you click on the "Perms" column for that folder, it because editable and you can enter the value you want.
0
 

Author Comment

by:daisydoos
ID: 24748035
Hi,

Many thanks for getting back to me. Really helpful - thank you - I didnt realise you could edit these values directly!

However, I thought I needed to edit the permissions for the folder for which I wanted to work with on the cron job - when I try to set the task up, cpanel is giving me the same message: /usr/bin/crontab permissions are wrong (0755). Please set to 4755.  Can you help out on this?

Cheers,

Daisy
0
 

Author Comment

by:daisydoos
ID: 24748161
I've tried logging into to the command line with Putty, but I am not able to progress past entering the root username - this is driving me nuts!!!!!!!!!!!!!!
0
 
LVL 3

Accepted Solution

by:
Siridivi earned 500 total points
ID: 24748253
You need to set the permissions for crontab. Login as root and do the following:

chmod 4755 /usr/bin/crontab
0
 

Author Comment

by:daisydoos
ID: 24751780
Hi,

Thanks for your message - yes, I know this from doing some reading. Problem though is when I login as the root user using Putty, I can't enter the password! Will have to contact the hosting company.

Cheers,

Paul
0

Featured Post

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

How many times have you wanted to quickly do the same thing to a list but found yourself typing it again and again? I first figured out a small time saver with the up arrow to recall the last command but that can only get you so far if you have a bi…
Introduction We as admins face situation where we need to redirect websites to another. This may be required as a part of an upgrade keeping the old URL but website should be served from new URL. This document would brief you on different ways ca…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

680 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question