Solved

Changing file permissions in cpanel to 4755

Posted on 2009-06-30
10
1,043 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
 
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
Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

 
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

Backup Your Microsoft Windows Server®

Backup 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.

Join & Write a Comment

Over the last ten+ years I have seen Linux configuration tools come and go. In the early days there was the tried-and-true, all-powerful linuxconf that many thought would remain the one and only Linux configuration tool until the end of times. Well,…
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 several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

746 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now