Solved

Changing file permissions in cpanel to 4755

Posted on 2009-06-30
10
1,052 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
Simplifying Server Workload Migrations

This use case outlines the migration challenges that organizations face and how the Acronis AnyData Engine supports physical-to-physical (P2P), physical-to-virtual (P2V), virtual to physical (V2P), and cross-virtual (V2V) migration scenarios to address these challenges.

 
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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
High Bandwidth Usage 6 75
Linux boot cd to do hardware report on PC? 3 51
ftp to port 21 4 53
Migrating php-mysql-jquery application to Microsoft Azure Cloud 7 38
Little introduction about CP: CP is a command on linux that use to copy files and folder from one location to another location. Example usage of CP as follow: cp /myfoder /pathto/destination/folder/ cp abc.tar.gz /pathto/destination/folder/ab…
Setting up Secure Ubuntu server on VMware 1.      Insert the Ubuntu Server distribution CD or attach the ISO of the CD which is in the “Datastore”. Note that it is important to install the x64 edition on servers, not the X86 editions. 2.      Power on th…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
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…

809 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