Weâve been using Nextcloud for some time now, happily. I noticed a while ago that an admin user account we created wasnât seeing the filesystem we created within Nextcloud properly, but was seeing all the directories created at the âhomeâ (root) level rather than nested as they should be. Since we have other user accounts with similar permissions that do see the proper nested structure, we just avoided using that admin account.
However, I just today learned that one of our regular users is seeing the same problem when he logs in. He sees all the directories and subdirectories he has permission to view at the âhomeâ level, without the proper nesting. Is there some configuration option per account that could cause this?
Weâre running Nextcloud 16.0.4 on a virtual machine running on a shared host from Dreamhost.com. Iâm not sure of the Linux version, but I believe its probably the current long-term-support version of Ubuntu or Debian.
Sounds like some danger to some data if not a complete OS folder hierarchy being at risk.
Please provide some more details to avoid a grave misunderstanding. Besides that get a new admin at your earliest convenience or even better get him or her some training on the job as soon as possible.
Please note the availabilty of the NC Issue Template App which could help in producing a more detailed report including but not limited to the NC server. One can copy & paste excerpts from such report into this forum besides making bug reports.
NOTE: Please always redact any sensitive information which may have found its way into the draft report text before copying such text into the public domain.
A word of advice if I may:
Never ever put a ârootâ folder into NC cloud storage sync.
Almost never put âhomeâ folders of user accounts into NC cloud storage sync.
Always take a dedicated folder (named âNextcloudâ or other name at your convenience) below the resp. âhomeâ folder of each resp. user account into NC cloud storage sync.
Details depend on OS of client computers and the default home folder structure and your IT security policy, I presume.
Take the opportunity to make yourself familiar with the concepts of Cloud storage.
I think I must have explained the situation badly. When I say ârootâ or âhomeâ folder, Iâm not talking about either the / directory on the Linux server or the /home directory (or anyoneâs home directory within /home). I meant the top-level location when a user logs into the system. This is the Nextcloud dedicated folder you talk about, I think.
The problem appears to be entirely how the various folders (subdirectories) are displayed to individual users. As I say, some users see the folders and subfolders in the correct nested relationship, while others see them in a flat list, with all folders regardless of level within the Nextcloud filesystem displaying at the top-level when they log in. There isnât anything wrong with the folders and files being properly constructed and located within the filesystem, just with the display of folders for certain users.
and again your message is not very clear to me, unfortunately.
To me a phrase like your a.m. âthe top-level location when a user logs into the systemâ is the âhomeâ folder of such user account. This home folder i.e. login folder on Linux by default policy is named /home/user1, /home/user2 ... /home/whateveruseraccountnameyoulikemost or similar.
Again, what are you talking about?
A GUI issue?
A design feature you are missing?
What do you expect to see where and how?
What is the expected behaviour and what is the actual behaviour?
There are different options to view files and such options can be choosen in a GUI view of the client OS and can be choosen at the NC GUI view of the browser of each and any user. One choose to use the CLI and may have a totally different opinion.
Please be more specific in details and more expressive in words as otherwise I cannot enjoy the vastness of your human mind and neither your colourful phantasies while reading this poor text and being some mileskilometers away, I presume.
where tviw_admin is the account under which various virtual systems have been created. âfileshare.tviw.usâ is our Nextcloud instance.
I wasnât talking about CLI logins to the main system, as none of our Nextcloud users have accounts on that system, those accounts being limited to administrative users solely.
The Problem Iâm talking about is this. Here is a screenshot of what I see when I login using my credentials:
hereâs a screenshot of what the admin user I mentioned previously sees (limited, as there are many more entries that Iâd have to scroll through to display):
So yes, itâs a GUI issue. Honestly, I donât see how to be any more specific in the problem here. I think Iâve described it pretty clearly.
(I should mention, everything displaying in the admin screenshot, down to âBylaws and other legal documents,â is in the subdirectory âTVIW Organization Documents.â âCopyright Releasesâ is in the subdirectory âTVIW 2019.â All the âDay X - Nov. 1Xâ folders are in the subdirectory âTVIW 2019/2019 Papers and presentations.â)
In NC, each share always gets displayed on the reciepientâs ârootâ folder. As the screenshot shows, all folders have been shared by the same account, so thatâs no design flaw or error, itâs just how NC works.
However, the recipient is always able to move the shared folders to another place on his/her NC account, but new shares will always be linked to the root level folder first.
@dloss My sincere thanks for the details and I can fully agree now. Having a more clear understanding after a look at your two pictures and after learning the quite appropriate answer from @budy my poor old mind can take some rest now, I presume.
Please accept my apologies for being such a narrow minded person. However, as a civil engineer with a more technical educated brain I would call this an utter non-issue. Problem solved.
Thanks @budy and @TP75, I see the cause of the problem. I wasnât sure of the propagation of permissions through the filesystem tree, so I was sharing each subdirectory and file with the user groups that need access to them. That didnât appear in my own account, of course, but was visible to all other users as everything appearing in their top-level view. Iâve gone through and removed all the shares for every child folder and file within the folders I want the users to see at their top-level, and everything seems to be fixed. So the actual problem was (as is unfortunately too often the case) âuser headspace error.â
Just always remember, that in NC, as it is in OC, every view youâll get to see in the browser or via the desktop client are virtual ones. All structures are knitted together using the database, which holds every information about your files, other than the files themselves. This is why the database is to important and why it needs to be taken good care of⌠(hint: backup).