In Progress CPANEL-39589 - [File Manager] Path error

Operating System & Version
CentOS v7.9.2009 STANDARD kvm
cPanel & WHM Version
v106.0.4

cPRex

Jurassic Moderator
Staff member
Oct 19, 2014
16,505
2,605
363
cPanel Access Level
Root Administrator
Before changing anything with "chown" I would strongly recommend confirming that is indeed the actual issue, but checking the files on the system. Did you confirm that was indeed the issue? If so, it is also very unlikely to be happening on all accounts on the system.
 
May 13, 2020
12
1
3
Yemen
cPanel Access Level
Root Administrator
Before changing anything with "chown" I would strongly recommend confirming that is indeed the actual issue, but checking the files on the system. Did you confirm that was indeed the issue? If so, it is also very unlikely to be happening on all accounts on the system.

The problem appears in most sites and when I delete the following folders at the user:

Code:
.cpanel
.cphorde
.htpassword
.pki
.spamassasin
.ssh
.subaccounts
The user's file manager is working properly and he doesn't have this problem again
 

willjusti

Registered
Apr 5, 2023
1
0
1
Brasil
cPanel Access Level
Reseller Owner
@cPRex We are facing the same issue here. What happens is that when some user sign-in at his cPanel account, let`s say "userabc", and open the File Manager, the inicial directory should be /home/userabc, but instead, it try to show other random account directory, like /home/userf34. Is the same as described in the image sent by @KhaedAlkhamesi . It happens for every user in ouer server.
 

fenix83

Member
Oct 21, 2020
5
1
3
Lima
cPanel Access Level
Root Administrator
Did you delete those directories? If so, that's going to cause issues for the account in the future.

If you have an account where it's not properly showing up in File Manager, we'd like to see a ticket about that.
Yes, it's the same as @KhaedAlkhamesi's original image. It started after one of the last updates (about 6 months ago or something)
 

Attachments

cPRex

Jurassic Moderator
Staff member
Oct 19, 2014
16,505
2,605
363
cPanel Access Level
Root Administrator
We have case CPANEL-39589 open with our developers to resolve this issue. Our team is currently working on that, but I don't know what cPanel version will contain the fix just yet.

You can likely resolve this on an individual account basis by editing the file at /home/username/.cpanel/nvdata/defaultdir and updating that path to the correct value. You may also need to run this command to update the cache so those changes are live in the interface:

Code:
mv /home/username/.cpanel/nvdata/.cache {,.bak-`date +%Y%m%d`}