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?
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?
In Webconfig
Share this post:
Responses (1)
-
Accepted Answer
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
Please login to post a reply
You will need to be logged in to be able to post a reply. Login using the form on the right or register an account if you are new here.
Register Here »