QB Installed by another admin user in CentOS7 and it can't delete download folde

Linux specific questions, problems.
Post Reply
ARIOLand

QB Installed by another admin user in CentOS7 and it can't delete download folde

Post by ARIOLand »

hello
Thank you for checking ...

I have a problem

I am using pre-configged VPS [CentOS7 64]

it had qb-nox 3.3.7 but it wasn't starting at startup

I installed qb-nox 3.3.7 by root user [this centos is working by root user, all apps and scripts run under root]

and now
It can't delete the "download" folder's contents , after it sends them to the Upload application

some how it doesn't have permission or it's cookie has issue

Please can you help me what I need to do to be able to delete the download folder?

the user which it's running [grep...] is:  ario  [home/ario]

but this installation [qb-nox v3.3.7] is being done by root ,which I need this user works

Thank you again for checking the thread
User avatar
Peter
Administrator
Administrator
Posts: 3049
Joined: Wed Jul 07, 2010 6:14 pm

Re: QB Installed by another admin user in CentOS7 and it can't delete download folde

Post by Peter »

Simply use "chown" to set your proper permissions for your directory.
https://askubuntu.com/questions/693418/ ... les/693423

For example, I have a user called "peter". On Ubuntu, that means I have:
User: peter
Group: peter

And of course, a home folder in: /home/peter

So if I mess around as "sudo" or "root", I have to fix the permissions by doing this:
sudo chown -R peter:peter /home/peter

What this means:
"sudo" - because we do this as root
"chown" - change owner
" -R" - recursive (all folders and files inside)
"peter:peter" - New owner is peter user, in the peter group
"/home/peter" - The home location

In fact I have such scripts on the server too because permissions just always mess up. (For example I fiddle around with backups, I have to do a maintenance, etc. So I set it to always just fix permissions like every half an hour. It really takes like no time to do so.)

! Keep in mind, on CentOS, you might have a different group than your username. Check.

! Make sure you set the permission on the proper folder, and not somewhere else
Post Reply