Forums

Resolved
0 votes
Long story short, I copied a lot of data into v7 flexshares using WinSCP and found that users couldn't do anything meaningful with them.

Looking deeper it's because they were all owned by "root", the account I used for WinSCP.

In the process of chown the shares for users and/or groups I think I may have inadvertently run a chown over the root, /, directory.
The system still works fine for proxy and user directories but flexshares do not work. They still show but cannot be accessed.

More importantly I can now not login to the web GUI. I was hoping to login and delete the flexshares and then recreate them and copy the data using windows shares as this preserves the permissions.

Logging in as root says password invalid
Logging in as a user I get "LDAP Offline".

Can I fix this without rebuilding the server?
Thursday, March 08 2018, 02:38 PM
Share this post:
Responses (1)
  • Accepted Answer

    Thursday, March 08 2018, 03:00 PM - #Permalink
    Resolved
    0 votes
    To be honest, I have no idea how to get out of the mess. Changing all file ownerships back to root:root and then changing user's data is easy enough. The problem is where the files are owned by system users. If they are in /etc a system restore should sort them (generally), but log files have ownerships all over the place and so do a bunch of files and folders in /var/lib and other files dottted all over the place
    The reply is currently minimized Show
Your Reply