Hi, I'm new here, last week we installed a server in our company, and we decided to use OMV
because it looks like it covers all our needs, here is where I get confused, when I created a shared folder I've made some mistakes testing, first I thought it was ok, just delete the old folder and start again right? Wrong! If you recreate a shared folder with the same name it comes back with the same privileges as before deleting... Same problem with users, At first I created users, and groups and testing I found that User permissions overlap Group permissions, then I've tried to remove the selections I made in the user and looks like you cannot remove, you can only choose between three options available..
So the question is, can I delete a shared folder/user with its permissions so if I create one with the same name again it will come new all options blank?
How to properly delete a shared folder/user and its properties?
-
- OMV 6.x
- resolved
- Gabriel Lorscheiter
-
-
I don't have the time to test it now but if the GUI doesn't help you I think this should help:
https://de.godaddy.com/help/ei…x-nutzer-hinzufugen-19158
And if you delete your shared folder using ssh I'm, pretty sure it is gone for always
Edit: I usually have a 2nd OMV installed in VirtualBox to play around and test things before installing it on my "real" OMV.
-
Hello fahrer17, how are you?! Thanks for taking your time o help me, but it did not worked, the command delete the user but the permissions are still there when I try to recreate the same user, I have recorded a video.
I'm a newbie in Linux, whats the commandline to delete a shared folder via SSH? I've tried "rm -rf folder02/" for example and nothing happens.
-
-
The wiki of ubuntu is always a good source for such questions. Have a look here
https://wiki.ubuntuusers.de/mount/
https://wiki.ubuntuusers.de/fstab/
It's in German and I think that you understand German.
You have to work from top to bottom in the menu when setting up, so first the user, then groups, then shared folders, then the (samba) share itself. If you want to resolve something, you have to work from the bottom up. You cannot delete a user if it is still referenced by shared folders or even a (Samba) share.
A wonderful tool to explore the structures in the terminal more easily is the Midnight Commander
Easy to install with
to start with mc
Reminds a bit of the Norton Commander.
-
The wiki of ubuntu is always a good source for such questions. Have a look here
https://wiki.ubuntuusers.de/mount/
https://wiki.ubuntuusers.de/fstab/
It's in German and I think that you understand German.
You have to work from top to bottom in the menu when setting up, so first the user, then groups, then shared folders, then the (samba) share itself. If you want to resolve something, you have to work from the bottom up. You cannot delete a user if it is still referenced by shared folders or even a (Samba) share.
Both are a pretty good advice!
But you made me curious - I will see if I can reproduce your behavior/problems in my test system.
-
Alright, I did some testing - what I did:
I created two users Alpha and Bravo and two samba shares Alpha and Bravo and gave read/write permissions on their according share.
Code/srv/dev-disk-by-uuid-2d24bf52-a7ab-45e0-9311-7f95e9fb3aed/Alpha /srv/dev-disk-by-uuid-2d24bf52-a7ab-45e0-9311-7f95e9fb3aed/Bravo
List users:
(found on https://linuxize.com/post/how-to-list-users-in-linux/)
A list of a lot of users will appear and I could access the samba shares using Manjaro's file manager (using the according credentials).
Afterwards I deleted the shares (removing their samba share first, then the shares themselves as B3rnd said) and the users (-> no more users and shares were found in terminal as described before).
I rebooted OMV (you never know...) and recreated everything (users and shares) and neither Alpha nor Bravo have now the permissions they had before (see the screenshot).
Everything was done in OMV's GUI, the terminal was only used to check things.
I don't know if I recreated your setting correctly - if not let me know.
As mentioned before I was curious myself so I wanted to try it out.
Edit:
Sorry, I forgot to watch your video (YT is blocked at work) but now I did. I don't understand Portuguese (I guess) but I noticed you didn't delete the shares (don't know if this is important). Moreover you are obviously using OMV6. Since this is still alpha I don't know if this is the problem. If I have time I will try to test it on a OMV6 machine.
-
-
I agree with you, this is probably because we are using the alpha version, I've downloaded the stable version on my virtual machine and it is allowed to uncheck the box in the privileges menu, but in OMV6 you cant go back to no selection once you chose one and apply.
It sucks because we bought the machine in a local store and they installed the system for us, do you think we should ask them to install the stable version instead?
-
OMV 6 ist Alpha, nicht einmal Beta.
Für ein produktives System, dann auch noch in einer Firma, wo man auf die Funktionen angewiesen ist, ist das ein No-Go.
-
Well, difficult to give you advice without having more details on what you ordered and what you need it for.
They definitely should if they are the pro's, you wanted a machine for using it without ado and it was their idea to use OMV6 which is as far as I know in alpha status.
On the other hand installing a basic system+services (for my needs [a family NAS] it doesn't take longer then 20-30min) is propably a lot(!) fasterthen going back and argueing with them. I furthermore have the impression that you're going to be responsible for administrating the machine so you should get familiar with OMV anyway. There are a million helpful people and tutorials out there telling you how to set up a running system.
So my advice here: Go for yourself, learn some new things but don't forget to ask them for a reasonable discount for the trouble they caused
-
-
OMV 6 ist Alpha, nicht einmal Beta.
Für ein produktives System, dann auch noch in einer Firma, wo man auf die Funktionen angewiesen ist, ist das ein No-Go.
What I said.
But I think he is Portuguese and doesn't speak German -
What I said.
But I think he is Portuguese and doesn't speak GermanYes, I'm from Brazil! This days we can communicate with people in any language, as long google can translate it
Thanks for all the advices, I really appreciate it! For sure I will go with the stable version of OMV.
-
A good resource for familiarizing yourself with OMV 5 can be found at https://openmediavault.readthe…r_guide/newuserguide.html
-
-
-
Gabriel Lorscheiter
Added the Label resolved -
Gabriel Lorscheiter
Added the Label OMV 6.x (alpha) -
Hi, I'm new here, last week we installed a server in our company, and we decided to use OMV
because it looks like it covers all our needs, here is where I get confused, when I created a shared folder I've made some mistakes testing, first I thought it was ok, just delete the old folder and start again right? Wrong! If you recreate a shared folder with the same name it comes back with the same privileges as before deleting... Same problem with users, At first I created users, and groups and testing I found that User permissions overlap Group permissions, then I've tried to remove the selections I made in the user and looks like you cannot remove, you can only choose between three options available..
So the question is, can I delete a shared folder/user with its permissions so if I create one with the same name again it will come new all options blank?Deleting the user in the CLI doesn't remove the privileges stored in the OMV database. Because of that the reappear if you create a new user with the same name.
Participate now!
Don’t have an account yet? Register yourself now and be a part of our community!