File permission changing problem in FileManager

SoCal

Verified User
Joined
May 13, 2007
Messages
24
Hi,

I am unable to change the permission of my files in filemanager, What s wrong with it, There is not a Tick enabled so i check or uncheck it.

Am i missing something or is it a problem with DA?

Thanks.
 
Hi,

Anybody please reply,

I see my filed and i want to change permission from file manager, But the tick is disabled? How may i corrdct this thiung, Cpanel doesnt gave this problem.
 
Is it your server? If so, you should shell into it, and post the output of ls -al for the files you can't change.

If not you should contact your hosting company.

Jeff
 
Hi,

I have root access. Here is ls-al of files:

-rw-r--r-- 1 root root 972 May 21 10:55 article.php
-rw-r--r-- 1 root root 2914 May 21 10:55 backend.php
-rw-r--r-- 1 root root 4562 May 21 10:55 banner.php
drwxr-xr-x 2 haryanajan haryanajan 4096 Jun 2 20:40 cgi-bin
-rw-r--r-- 1 root root 54207 May 21 10:55 class2.php
-rw-r--r-- 1 root root 10001 May 21 10:55 comment.php
-rw-r--r-- 1 root root 4141 May 21 10:55 contact.php
-rw-r--r-- 1 root root 2521 May 21 10:55 content.php
-rw-r--r-- 1 root root 236 May 23 12:36 data.html
-rw-r--r-- 1 root root 28588 May 21 10:55 download.php
-rw-r--r-- 1 root root 331 May 24 06:14 download1.php
-rw-r--r-- 1 root root 164 May 21 10:55 e107.htaccess
drwxr-sr-x 4 root root 4096 May 21 10:26 e107_admin
-rwxrwxrwx 1 root root 927 Jun 2 20:44 e107_config.php
drwxr-sr-x 3 root root 4096 May 21 10:26 e107_docs
drwxr-sr-x 13 root root 4096 May 21 10:27 e107_files
drwxr-sr-x 6 root root 4096 May 21 10:29 e107_handlers
drwxr-sr-x 14 root root 4096 May 21 12:58 e107_images
drwxr-sr-x 3 root root 4096 May 21 10:38 e107_languages
drwxrwxrwx 41 root root 4096 May 21 10:49 e107_plugins
drwxrwxrwx 16 root root 4096 May 21 10:54 e107_themes
-rw-r--r-- 1 root root 5514 May 21 10:55 email.php
-rw-r--r-- 1 root root 2916 May 21 10:55 error.php
-rw-r--r-- 1 root root 22486 May 21 10:55 favicon.ico
-rw-r--r-- 1 root root 108 May 21 10:55 forum.php
-rw-r--r-- 1 root root 256 May 21 10:55 forum_viewforum.php
-rw-r--r-- 1 root root 260 May 21 10:55 forum_viewtopic.php
-rw-r--r-- 1 root root 5066 May 21 10:55 fpw.php
-rw-r--r-- 1 root root 2427 May 21 10:55 gsitemap.php
-rw-r--r-- 1 root root 5472138 Jun 2 11:45 haryanaj.zip
-rw-r--r-- 1 root root 170082 Jun 2 20:12 hjan.sql
-rw-r--r-- 1 root root 10992164 Jun 2 20:36 hjan.zip
drwxrwxrwx 2 root root 4096 May 25 13:01 images
-rw-r--r-- 1 root root 3464 May 21 10:55 index.php
-rw-r--r-- 1 root root 392 May 23 12:41 insert.php
-rw-r--r-- 1 root root 118010 May 21 10:55 install
-rw-r--r-- 1 root root 142 May 21 10:55 links.php
-rw-r--r-- 1 root root 2497 May 21 10:55 login.php
-rwxr-xr-x 1 haryanajan haryanajan 13954 Sep 16 2006 logo.jpg
-rw-r--r-- 1 root root 957 May 21 10:55 membersonly.php
-rw-r--r-- 1 root root 20754 May 21 10:55 news.php
-rw-r--r-- 1 root root 10978 May 21 10:55 online.php
-rw-r--r-- 1 root root 11830 May 21 10:55 page.php
-rw-r--r-- 1 root root 3058 May 21 10:55 print.php
-rw-r--r-- 1 root root 1523 May 21 10:55 rate.php
-rw-r--r-- 1 root root 14465 May 21 10:55 request.php
-rw-r--r-- 1 root root 130 May 21 10:55 robots.txt
-rw-r--r-- 1 root root 1726 May 26 13:11 s.htm
-rw-r--r-- 1 root root 1711 May 26 12:37 s.html
-rw-r--r-- 1 root root 1639 May 26 12:40 s.php
-rw-r--r-- 1 root root 19098 May 21 10:55 search.php
-rw-r--r-- 1 root root 1721 May 26 12:25 searchtry1.php
-rw-r--r-- 1 root root 26674 May 21 10:55 signup.php
-rw-r--r-- 1 root root 1115 May 21 10:55 sitedown.php
-rw-r--r-- 1 root root 830 May 21 10:55 subcontent.php
-rw-r--r-- 1 root root 7879 May 21 10:55 submitnews.php
-rw-r--r-- 1 root root 9210 May 21 10:55 top.php
drwxr-sr-x 3 root root 4096 Jun 1 07:09 trial
-rw-r--r-- 1 root root 747 May 22 11:20 try.php
-rw-r--r-- 1 root root 6938 May 21 10:55 upload.php
-rw-r--r-- 1 root root 342 May 24 05:57 upload1.html
-rw-r--r-- 1 root root 671 May 24 05:57 upload1.php
-rw-r--r-- 1 root root 4377 May 21 10:55 user.php
-rw-r--r-- 1 root root 7487 May 21 10:55 userposts.php
-rw-r--r-- 1 root root 13928 May 21 10:55 usersettings.php


Please provide me solution, I will be very thanksful.
 
Files are owned by root, FileManager can only reset ownership when the files are owned by apache. Do this in ssh:
Code:
chown -R haryanajan:haryanajan /home/haryanajan/domains/[B]domain[/B]/public_html
Change domain to your domain name.
 
Last edited:
Hi, Thanks for the help :)

I havent set the domain as root.

I created a reseller and then set the domain in that reseller account.

How may I change the default setting that domains not to be set as root users.

By default my all domains show this same problem.
 
Oops yeah maybe this problem happenned because i moved the files from other host and extracted the domain's files as a root user.


Thanks smtalk and jlasman
 
Back
Top