Folder permissions for users in sub folders in a directory

Questions about file sharing through NFS/CIFS/AFP? Post it here!
Forum rules
We've moved! Head over to Synology Community (community.synology.com) to meet up with our team and other Synology enthusiasts!
askario
I'm New!
I'm New!
Posts: 2
Joined: Thu Feb 01, 2018 4:48 am

Re: Folder permissions for users in sub folders in a directory

Unread post by askario » Sat Feb 03, 2018 5:42 am

john510 wrote:Right now I have a synology unit set up with several users and folders but having a problem setting permissions for sub folders and user. I know how to set them for the Main folders but what about setting permissions to view certain sub folders so other users to access those sub folders?

For instance..........
Don't know why flopper and PaulS bothered to reply with half ass answers but I think I have our solution. I had the same problem; I read go720er's instructions and they didn't work for me but the instructions at this link worked for me: https://developcents.com/wp-content/upl ... olders.pdf

If for some reason you can't access let me know and I'll type it out here. Super simple and not tedious at all as some would have you believe.

Flopper
Specialist
Specialist
Posts: 1105
Joined: Tue Nov 09, 2010 6:00 pm

Re: Folder permissions for users in sub folders in a directory

Unread post by Flopper » Sat Feb 03, 2018 3:59 pm

askario wrote: Don't know why flopper and PaulS bothered to reply with half ass answers but I think I have our solution. I had the same problem; I read go720er's instructions and they didn't work for me but the instructions at this link worked for me: https://developcents.com/wp-content/upl ... olders.pdf

If for some reason you can't access let me know and I'll type it out here. Super simple and not tedious at all as some would have you believe.
You are a very arrogant person stating this, we tried to help someone LEARN something along the way instead of just giving a step by step for dummies. If someone is too lazy to learn, why would we put more of our time in it?
Anyway, your 'solution' is not rocket science and is easily found in the Synology Help and/or Documentation, but of course, one should take the trouble of READING it!
Some people spent a lot of time writing the Help files, use it!
Do not expect serious answers if it can be found by searching for it yourself.

J.Aza
Beginner
Beginner
Posts: 27
Joined: Wed Jul 08, 2009 1:08 am

Re: Folder permissions for users in sub folders in a directory

Unread post by J.Aza » Thu May 10, 2018 2:14 am

You are a very arrogant person stating this, we tried to help someone LEARN something along the way instead of just giving a step by step for dummies. If someone is too lazy to learn, why would we put more of our time in it?
Anyway, your 'solution' is not rocket science and is easily found in the Synology Help and/or Documentation, but of course, one should take the trouble of READING it!
You mean like when the help files don't match the UI you're looking at? Is that the "easily found in the Synology Help and/or Documentation" you mean?

While the askers may (MAY) have shown some laziness your arrogance shines through brightly. If you are volunteering your time and tired/annoyed/etc. then disengage and don't answer. To answer as you did is both arrogant and rude. No one is forcing you to type. You CHOOSE to type and you CHOOSE to answer as an arrogant ass.

I will continue to search for MY answer but frankly your tone and demeanor are offensive. Be objective and read your own replies and you'll realize that YOU would be offended too if anyone would ever talk to you that way.
I'm sure your elders taught you if you have nothing nice to say, keep your pie hole shut. Heed them.
Your behavior is inexcusable. No matter the circumstance.

miczyow
I'm New!
I'm New!
Posts: 1
Joined: Tue May 29, 2018 8:10 am

Re: Folder permissions for users in sub folders in a directory

Unread post by miczyow » Tue May 29, 2018 8:15 am

Hello John, I don't know if this question's already been answered.

But let me share to you how I solved this problem.

I go to File Station -> Select Specific Folder -> Right Click (Properties) -> Permission -> Advanced Options -> Select Make Inherited permission explicit

That helped me remove specific user access for specific folder.


Hope I helped.

andrewmedic
I'm New!
I'm New!
Posts: 1
Joined: Tue Jun 05, 2018 6:47 pm

Re: Folder permissions for users in sub folders in a directory

Unread post by andrewmedic » Tue Jun 05, 2018 6:54 pm

go720er wrote:
Thu Jan 11, 2018 7:16 am
john510 wrote:Right now I have a synology unit set up with several users and folders but having a problem setting permissions for sub folders and user. I know how to set them for the Main folders but what about setting permissions to view certain sub folders so other users to access those sub folders?

For instance


Say I have three users “John”, “Bob” and “Sandy”.
I have a main folder called “Documents”

Inside that folder “Documents”each user has there own folder such as
bob1
john1
sandy1

How do I set permissions so each user can write, read, there own folder but NOT the other users?

Again I know how to do it if I made folders in the main directory and grant permissions but don't understand if they are in a sub folder?
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

Hi john510. I have found a solution for your problem and it's really easy to do. In order to set permissions so each user can read, write to their own folder bot Not to the others you have to follow the steps bellow. I did it on my DS116 and test it with 2 account and worked perfect. I made an account called "tester" and another account called "tester1". I then logged in to "tester1" account and was UNABLE to see the "tester" account folder and/or files, then went back to the "tester" account and was able to see the folders created. So, in short, the user can create folders to their own account, but NOT able to see other accounts.

1. Log in to your DSM account as admin.
2. Go to Control Panel and double click the icon Group. That's where the administrators, http, users and video groups are.
3. Double click the users word and that will bring the users window.
4. When you get the users window, DO NOT CHECK MARK on anything, instead click on the tab Permissions that will bring all your folders on your Synology. Again DO NOT CHECK MARK on anything.
5. On the name area you will see the homes folder and on the right you will see Group Permission, No Access, Read/Write, Read Only and Custom. This folder is the one that holds all your users with their respective access and their files and folders.
6. Click on Custom and that will bring another window called Permission Editor.
7. In the Permission Editor window make sure you select the following:

User or group: select users
Inherit from: <none>
Type: Allow
Apply to: Child folders, Child files, All descendants (SELECT ONLY THESE 3 OPTIONS. MAKE SURE THIS FOLDER IS NOT SELECTED)

8. Under that there is a drop down or check list, Do Not select or check mark anything under Administrators, Change permission and Take ownership. Everything else on the Read and Write area you can select or check mark so each user can create and access their own files and folders.

Hope this can help you and others with the same issues.
Hi, I'm setting up our synology and am attempting to do the same. I am trying to set group permissions to each sub file and am following the steps above and am having a hard time understanding how this helps with solving this issue. Thanks!

XbrvhrtX
I'm New!
I'm New!
Posts: 1
Joined: Wed May 30, 2018 11:34 pm

Re: Folder permissions for users in sub folders in a directory

Unread post by XbrvhrtX » Tue Jun 05, 2018 7:25 pm

miczyow wrote:
Tue May 29, 2018 8:15 am
Hello John, I don't know if this question's already been answered.

But let me share to you how I solved this problem.

I go to File Station -> Select Specific Folder -> Right Click (Properties) -> Permission -> Advanced Options -> Select Make Inherited permission explicit

That helped me remove specific user access for specific folder.


Hope I helped.
Thanks for the helpful reply miczyow, I set up a shares folder for friends and family and now able to restrict the access to each folder with your help.

If Bill for example tries to open Ben's folder within "Shares" they just get a pop saying "sorry, this user account has not been assigned proper privileges to perform this action".

All good, however do you or anyone reading know how I can prevent the users even seeing subfolders within "Share" so for example Bill can only see the "Bill" folder and not Ben's Peter's or Paul's folders.

Hope that makes sense lol

Thanks
Johnnie

J.Aza
Beginner
Beginner
Posts: 27
Joined: Wed Jul 08, 2009 1:08 am

Re: Folder permissions for users in sub folders in a directory

Unread post by J.Aza » Wed Jul 11, 2018 1:46 am

XbrvhrtX wrote:
Tue Jun 05, 2018 7:25 pm

Thanks for the helpful reply miczyow, I set up a shares folder for friends and family and now able to restrict the access to each folder with your help.

If Bill for example tries to open Ben's folder within "Shares" they just get a pop saying "sorry, this user account has not been assigned proper privileges to perform this action".

All good, however do you or anyone reading know how I can prevent the users even seeing subfolders within "Share" so for example Bill can only see the "Bill" folder and not Ben's Peter's or Paul's folders.

Hope that makes sense lol

Thanks
Johnnie
If I understand you correctly look in CP in the Shared Folder's properties. On General tab find "Hide sub-folders and files from users without permissions"

caucus
I'm New!
I'm New!
Posts: 2
Joined: Sat Mar 11, 2017 8:10 pm

Re: Folder permissions for users in sub folders in a directory

Unread post by caucus » Sat Jul 21, 2018 6:06 pm

Hello Group

Sorry to tag on to this but I got the instructions for Synology and still get not get it to work. However I kept trying and it does work for protecting supb folders

https://www.synology.com/en-us/knowledg ... /privilege

1. I had all my sub folder (Child) under 1 Main folder.

2. So the users logged into Main Folder and 10 child folders were under that. I never could get only one user to work on that so I did something else

3. I created a new folder outside of the Parent called Folder1

4. I added 2 new users: User1 and User2

5. I gave both of them permission to the new folder Folder1

6. From the Parent I copied to folders that also had Child folders to Folder1

7. Now the instruction work from the link above except if your ignorant as I am there is a little quirk that I did not catch

8. Of course you are logged in as admin

9. Go to Folder1 and open it. I have two folders int there

10. Highlight the first one and click the action button then go to properties

11. The trick that I did not know is you have to make the user for this folder User1

12. Go to Create now for this to work User1 has to already have permission to enter Folder1

13. Select User1 from the User of gorup

14. Of course the type is going to be allow

15. Apply to: I selected All

16. Admin I left blank

17. Read and write I gave them what I wanted

18. Hit OK

19. Now for the next folder so User2 can have access to the next folder that you do not want User1 to have access to you have to do the same thing

20. User1 can only get in the one folder and of course the child folders in that first folder. User1 cannot get into an folders except the one I gave permission to

21. User2 cannot get into the folder that User1 has access to.

To make this happen and being ignorant as I am I had to start thinking differently or looking at the directions with a open mind and try to fill in the blanks.

Any way it does work. I did not try to hide them yet but I have permissions on child folders now.

Thanks to this forum and Synology I accomplished something.

Locked

Return to “File Sharing: Windows, Mac OS X, Linux”