Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Changing file permissions in cpanel to 4755

Posted on 2009-06-30
10
Medium Priority
?
1,060 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
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
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 2000 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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Fine Tune your automatic Updates for Ubuntu / Debian
In the first part of this tutorial we will cover the prerequisites for installing SQL Server vNext on Linux.
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ā€¦
Suggested Courses
Course of the Month5 days, 22 hours left to enroll

773 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