I locked myself out with groupfolders acl

so the nextcloud is doing its job just fine i just locked myself out by mistake and cannot see the folder anymore and i am a bit confused by the occ commands.
sudo -u www-data php occ groupfolders:list

with this i get the folder id

sudo -u www-data php occ groupfolders:permissions 4

and with this i can see the permission so far so good.

but i need to change permissions of a subfolder so i can read it agains as the admin.

how do i do this when the folder id and the name of the subfolder are known (i can see it in permissions)

how is the syntax? could someone give me an example how for example path has to look like? is it relative from the parent folder with the id? is it an absolute path? is it just the folder name?

i would highly appreciate some assistance thx in advance

post deleted

1 Like

i can only adjust the parent folders in the admincenter. it is correct that when i disable advanced permissions the folder is readable again but as the advanced permission are disabled i cannot adjust them. when i now enable advanced permission again the folder disappears again cause the permissionms are still saved.

Adjust the permission through occ: GitHub - nextcloud/groupfolders: 📁👩‍👩‍👧‍👦 Admin-configured folders shared by everyone in a group. https://github.com/nextcloud-releases/groupfolders

1 Like

did you read my post?

post deleted

for that i need to be abl to see it. the problem is with enabled permissions i cannot access the folder and with disabled permission i cannot edit them.

but i figured out how to do it with occ. the documentation could be better

post deleted

that is the parent folder. but i adjusted settings from a subfolder in the normal filemanager under sharing (that is not accessible from the admincenter menu). With subfolders it is possible to lock yourself out cause without reading permission you do not see the folder anymore therefore you cannot access the permissions of this subfolder without occ.

When you disable advanced permission in admincenter for the parentfolder you can see it again but then there are no option in the sharing menu to adjust the acl cause it is disabled.

https://github.com/nextcloud/groupfolders/issues/2822 here is an open issue describing the problem

but as is said i fixed it so this can be closed

post deleted

as said multiple times: once you locked yourself out you cannot access this anymore over the gui as is also described in the open issue (not mine)

There’s a work in progress to improve that https://github.com/nextcloud/groupfolders/pull/2960. But glad the link to the occ documentation helped.

if you would have read the opening post it should be pretty obvious that i read that already before opening this. So no nothing in this thread was even remotly helpful.

one dude refused to understand the problem even after explaining it multiple times
the other one just yelled rtfm after politly asking for some explanation about the syntax (which i obviously got from the github site)

What helped was try&error.

but keep padding yourself on the back for doing jackshit. that is what brings a community forward

I’m sorry that nobody was able to help. Maybe you should get professional support somewhere or switch to Microsoft.

1 Like

How do you think others here found out about the stuff they share on the forums?

I’ll tell you, mostly through RTFM and trial and error.

This is a community forum, not a support hotline, and you should be grateful that several people have volunteered to look into your issue, even if they were not able to solve it directly. In the end, at least you got a link pointing you in the right direction, so the forum has served its purpose.

If you don’t want to do any RTFM or trial and error yourself, hire an IT service provider to do it for you, or buy a Nextcloud Enterprise subscription which includes an official support contact who has to deal with your issues. A community forum does not offer that, everything here is completely voluntary and on a best effort basis.

1 Like

and another one who can not read.

i did read the github page before i even posted here which is very obvious from my starting post.

this community is really something else.

No, it’s not necessarily obvious where you got those commands from, unless the person replying is very familiar with that particular documentation and can tell at a glance that these are the exact commands from that documentation.

And in general, it is perfectly legitimate to provide a link to the documentation in the hope that it will help, and then perhaps answer any follow-up questions about it in a later post if the link didn’t lead to the solution.

Also, most people’s motivation to help drops significantly when they receive responses as demanding and dismissive as yours. Remember, people are doing this voluntarily in their spare time, they don’t owe you anything.

Oh, and since you mentioned the community. If the documentation isn’t good enough, be a good community member and help make it better. Community isn’t a one-way street.

as this community seems to like to antagonize users by telling them to go to microsoft even after they fixed the problem themselves it seems helpful documentation is not wanted.

so who am i to interfere

That reply was preceded by a completely arrogant style of communication on your part.

One last time, we don’t owe you anything here, you’re not a customer here, you’re a community member like everyone else.

And one more thing: if the word ‘community’ actually meant anything to you, you would have provided details of how you solved your issue, which could have helped others with similar issues, but instead you had to moan about how the community failed to help you and how misunderstood you felt.

Sorry to see that we ended up in a discussion that no one will ever be satisfied with. The posts here were intended to help and/or to figure out how to help you. For myself it was not clear that you already knew that part of the documentation or if you just discovered the command on the commandline, hence the link to the documentation.

Anyway, I am glad that the issue is solved for you and it’s now working. I’ll close the issue now, as it will lead to nowhere.

1 Like