Control Web Panel

WebPanel => Installation => Topic started by: ejso on April 03, 2016, 12:47:09 AM

Title: Permissions
Post by: ejso on April 03, 2016, 12:47:09 AM
Good evening, I'm trying to change the permissions of files (as root), but it is not working. I entered File Management -----> Advanced File Manager
Title: Re: Permissions
Post by: Sandeep on April 03, 2016, 04:01:04 AM
Use sftp manager .. Winscp
Title: Re: Permissions
Post by: ejso on April 03, 2016, 12:50:26 PM
Good morning Sandeep, thanks for the excellent suggestion, was having trouble setting up FileZilla and CuteFTP 8.
But still have a problem, I can not change the permissions of directories or files.
Title: Re: Permissions
Post by: Sandeep on April 03, 2016, 12:56:12 PM
Unknown problem ... linux won't run if permissions are not working

do you have the root access ?

what files and folders you're trying to change permissions ?
Title: Re: Permissions
Post by: ejso on April 03, 2016, 01:39:18 PM
the you have the root access? Yes, I have access!

what files and folders you're trying to change permissions? I'm installing wordpress and is not letting install the plugins!
Title: Re: Permissions
Post by: Sandeep on April 03, 2016, 04:59:41 PM
go to cwp >> user accounts >> Fix Permissions >> choose site's user from dropdown menu >> click Fix Account Permissions
Title: Re: Permissions
Post by: Administrator on April 04, 2016, 10:25:08 AM
you should check that you have disabled FileSystemLock option in the users control panel, if FileSystemLock is enabled you want be able to make and changes.

Title: Re: Permissions
Post by: ejso on April 04, 2016, 12:37:58 PM
Good day, please find where FileSystemLock the control panel, my thanks
Title: Re: Permissions
Post by: Sandeep on April 04, 2016, 01:18:07 PM
login with user's name not root
Title: Re: Permissions
Post by: ejso on April 04, 2016, 02:28:13 PM
My sincere thanks
Title: Re: Permissions
Post by: lbocko on September 08, 2017, 07:28:23 PM
Where do I find Users-->Accounts on Dashboard? Installed a WP site in subfolder to set up before replacing current, but I have no permissions to add posts, menus, plugins etc. File Unlocked, and only see FTP accounts. I do not see where I can edit users.
Title: Re: Permissions
Post by: bluebrad on April 05, 2020, 10:11:14 PM
i did a booboo i was typing in chmod 777 -r /home/ and now im getting this permissions 403 forbidden You don't have permission to access / on this server.
Server unable to read htaccess file, denying access to be safe

what are the defaults?
how can i recover from this
Title: Re: Permissions
Post by: ejsolutions on April 05, 2020, 10:16:36 PM
Depends on your setup and which modules you are using..
Code: [Select]
find /home/user_name -type d -exec chmod 755 {} \;
find /home/user_name -type f -name "*" | xargs chmod 644
or
Code: [Select]
find /home/user_name -type d -exec chmod 750 {} \;
find /home/user_name -type f -name "*" | xargs chmod 640

Permissions of 777 should almost never be used!