Situation
John Smith Ltd has three departments and wants each one to find its folders on the PC, without seeing those of the others:
| Folder | Who writes | Who only reads | Drive on the PC | Space |
|---|---|---|---|---|
\\atlas\administration |
group administration (jgreen, jbrown) |
group management (jsmith) |
K: |
no limit |
\\atlas\production |
group production (pblack) |
group management |
L: |
no limit |
\\atlas\common |
all users (Domain Users) |
nobody | S: |
50 GB |
Permissions are per group, never per person: when a collaborator arrives or leaves, you only change their group. The personal folders (Z:) are not among these: they are born with the user and everybody sees only their own.
The reference chapter is Shares; for groups Groups and computers; for the GPO that draws the drives Logon scripts and group policies.
What you need
- A console administrator (for example
lwhite). The entries Active Directory → Groups, Shares and Group policies are for administrators only. - The Atlas domain. In a Windows domain (coexistence) the drive letter is not applied: the GPOs belong to the Windows domain controller and the drives are mapped there.
- The users already created (A new hire).
- A test PC already in the domain, and the tool for moving it to another organizational unit (ADUC, the Windows administration tools): Atlas’s Computers page does not move computers.
- If you want the space limit: disk quotas active (ext4 filesystem). Otherwise the «Space» section in a share’s detail does not appear.
For the technician Each share is a block of
smb.confin the domain controller’s container; the folder lives under/srv/data/share/group/<name>with POSIX ACLs for the two groups. The quota is an ext4 project quota, one per share: it counts where the files are, not who writes them.
Steps
A. The groups
- Open Active Directory → Groups. System groups are hidden; they are not needed.
- If
administrationalready exists (withjgreenandjbrown), go to step 6. Otherwise press «Add group» (+). - Write «Name»
administration, «Description»Administration office. The name will no longer be changed: up to 64 characters among letters, digits, space,.,-,_. Names starting withedon_belong to the appliance. - In the «Members» block choose
jgreen, thenjbrownfrom the «Pick a user…» selector. - Press «Create group».
- Press «Add group» again. «Name»
production, «Description»Production department, memberpblack. «Create group». - «Add group» once more. «Name»
management, «Description»Management, memberjsmith. «Create group».
Warning Saving a group rewrites the member list as you see it. If a colleague is changing the same group from ADUC, by saving you wipe out their change. The selector offers only users: to put a group inside another (nesting) use ADUC; nested groups count for permissions but this page does not show them.
B. The shares
- If you want the space limit, first open System → Settings → File sharing, block «Disk quotas». If you read «Quotas not on, on path.», press «Turn on at the next reboot»: the activation happens at the next reboot (the nightly one of the updates or one done earlier with «Reboot now»). The limit can be written right away anyway: it stays recorded and applies when quotas turn on.
- Open Active Directory → Shares and press «Add share» (+). The detail shows «New share».
- In «Name» write
administration. Only letters, digits,.,-,_, up to 64 characters; not a reserved name (global,netlogon,sysvol,users,profiles,homes). After creation it cannot be changed: it is also the name of the folder on the disk and of the share on the network (\\atlas\administration). - In «Description» write
Administration documents. It cannot contain a line break or end with a backslash. - In «Read-write group» choose
administration: its members read and write. It is mandatory. - In «Read-only group» choose
management: its members only read. «(none)» if not needed. - In «Drive letter» choose
K:. Under the field the console says which PCs the link applies to (see step 20): read it. - Press «Create share». The message is «Share created.» Atlas has created the folder, set the permissions for the two groups and published the share.
- Repeat from step 9 for
production: «Description»Production documents, «Read-write group»production, «Read-only group»management, «Drive letter»L:. - Repeat for
common: «Description»Document exchange for everyone, «Read-write group»Domain Users(among the system groups onlyDomain UsersandDomain Adminsare allowed), «Read-only group» «(none)», «Drive letter»S:. - In the «Space» section of
commonwrite51200(50 GB) in «Quota (MB)». Press «Save». When the folder is full, whoever writes gets «disk full», as on a real disk.
C. The drives on the PCs
- If the console, when creating the first letter, says «With the first letter the «Edon - Condivisioni» GPO is created and linked to «Edon-Pilot»…», it means Atlas has created a GPO linked to a test organizational unit,
Edon-Pilot, which by default is empty. Until you move computers into it, no PC maps the shares. - To test, move a PC (for example
PC-ADMIN-01) into theEdon-Pilotunit with ADUC. - When the test works, open Active Directory → Group policies, choose the GPO «Edon - Condivisioni» and look at «Drives»: the rows written by Atlas show the letter, the path, the group and «from Shares» and cannot be edited from here.
- In «Container» choose the root of the domain (all PCs) or the organizational unit of the real PCs. Leave «Link enabled» on and press «Apply».
- For user settings the user’s unit counts, not the PC’s. If the container you chose contains the computers and not the users, leave «Apply to the users of the linked PCs» on (the behaviour Windows calls loopback): that way the drives also follow the PC’s unit.
D. Testing with people
- On the test PC run
gpupdate /force, then sign the user out and in again. - With
jgreencheck thatK:andS:appear, that a file can be created inK:and thatL:is not there. A mapping to a share the user cannot open is not created at all. - With
jsmith(management) check thatK:andL:are there, that files open and that nothing can be created. WithpblackcheckL:andS:and thatK:is missing. - From an administrator account open Tools → Folders to see the shares from the browser: the page shows the permissions the user has from Windows. For a normal user who must open the folders from outside the office the «Cloud drive» switch in Active Directory → Users is needed, off by default.
E. Afterwards: people who join and leave
- A new collaborator in administration joins the group
administration; whoever leaves is removed from it (A new hire, Someone leaves the company). When you remove a user from a group Atlas closes their sessions, so the new permission applies at the next sign-in. - To move a person from one department to another (Paul Black moves to administration): remove
pblackfrom the «Members» ofproductionand save, then add him toadministrationand save. Ask him to sign out and in again in Windows. - To rename a share’s group: create the new group with the same members, open the share and change «Read-write group» (the new one takes the old one’s place where it had access; permissions set from Windows stay), then «Save». Never delete the old group first: a share with a non-existent group stays so until you choose another.


Check
- Shares: the list shows
administrationwithK:,RW · administrationandRO · management;productionwithL:;commonwithS:andRW · Domain Users. The detail ofcommonshows under «Quota (MB)» the bar («1 GB of 50 GB (2 %)»). - Group policies: the GPO «Edon - Condivisioni» has the labels «Edon» and does not have «Not linked». In the «Links» detail it shows the chosen container as «Active» and the two versions (Active Directory and SYSVOL) match.
- On the PC: File Explorer shows the right drives to each user, and only those.
- From the network:
\\atlas\administrationopens by typing it in the address bar, even without a drive.
If something goes wrong
| Symptom | Cause and remedy |
|---|---|
| «Invalid name. Letters, digits, ‘.’, ‘-’, ‘_’ only — and not a reserved smb.conf section.» | The name contains spaces or accents: use administration, not Administration office. |
| «A share with this name already exists.» | Choose another name. |
| Share created «on the existing folder: its files and permissions were kept» | A folder with that name already existed on the disk (from a share deleted without its contents). The new share uses it as it is, with its files and permissions; the chosen groups receive access in addition. |
| «Letter already used by another drive of the “Edon - Condivisioni” GPO.» | Change the letter of one of the two. |
| «Share saved, but its mapping on PCs was not updated» | The share is fine; the GPO is not. Reopen Group policies and press «Apply». |
| The drive does not appear on the PC | Almost always: the PC (or the user, depending on the GPO) is not in the container to which the GPO is linked, the link is off («Links disabled»), the group does not include the user, or the new sign-in is missing. After gpupdate /force a new sign-in is needed for user settings. |
| A user still sees the old folder after a group change | The PC uses a cached Kerberos ticket: sign out and in again or restart, at most within 10 hours. |
| In a Windows domain the letter is not applied | The GPOs belong to the Windows domain controller: drives are mapped from GPMC there. |
| Under «Quota (MB)» it says quotas are not on | The limit is recorded but not yet in force: turn on quotas (step 8). |
«Disk full» in common |
The quota is used up. The recycle bin counts in the quota: Atlas empties it, the longest-deleted files first, beyond the warning threshold. Free space or raise the limit. |
| Moving files between your own folder and a share is slow | Between two different quotas it becomes a copy plus a delete: slower on large files. |
Variants
A reserved subfolder (for example administration\Payroll visible only to jbrown). Atlas manages permissions per group on the root folder; those of the subfolders you set from Windows (folder properties, Security tab) and they stay even if you later change the share’s group. It is the only case in which a per-person permission is acceptable; document it.
Removing a share without losing the data. Open the share, press «Delete» and leave «Also delete folder contents» off: the folder stays on the disk. If in the future you recreate a share with the same name, the console warns that the folder already exists and reuses it. With the switch on, the button becomes «Delete share and contents» and the data are not recoverable. If the share had a letter, the GPO is updated and the PCs remove the drive.
The recycle bin. In System → Settings → File sharing «Enable recycle bin» moves deleted files to the recycle bin folder of each share (Cestino: a domain installed before moves there from .recycle with the update, unless the name is already in use; the name is changed on the same page) instead of removing them, with the folders they came from and every version. Turning it on or off restarts the domain controller (open connections drop for a few seconds); when you turn it off the bin folders are deleted for good. For a file deleted beyond the recycle bin, restoring from backup is in the scenario «Restoring a deleted file, a mailbox, a whole server».
Checklist for installation day
- The three groups exist and have the right members (Groups, the members column in the list).
- Each share has «Read-write group», possibly «Read-only group» and the «Drive letter» (list of Shares).
- The GPO «Edon - Condivisioni» is linked to the right container and active (Group policies).
- At least one PC per department is in the container and has run
gpupdate /force. - One user per group has tried writing, read-only and the absence of the others’ folder.
- Quotas are on, if you promised them, and the backup includes the shares (Backup).