DEV Community

PPPing
PPPing

Posted on

What Happens to File Ownership When Someone Changes Teams or Leaves a Company

Every file in a system usually has an owner. The owner is the account recorded as the one that created the file, or as the one holding the right to change its permissions.

That record matters more than people expect. When the human behind the account changes teams or leaves, the files do not move along with them, and the permissions around them can quietly become unclear.

A simple analogy

Think of a storage unit rented in one person's name. The contract is signed by that person, and the lock key is registered to them. When they move away, the boxes are still inside the unit, and someone still has to pay the rent and hold the key.

File ownership works the same way. The account name sits on the record whether or not the person is still around, and the system keeps consulting that name when it makes access decisions.

How the pieces fit

An owner in a file system is an account, typically recorded as a security identifier, or SID, which is a number the system uses to track an account internally. The display name people see is a label; the SID is the thing the system follows.

This distinction matters because SIDs are unique. A new employee given the same name does not inherit the old account, and a re-created account receives a new SID even if the login looks identical.

When someone changes teams, the common outcome is that their files stay where they were. Their group memberships may change, which affects what they can open, but the owner field on their old files usually stays. Over time this produces files owned by people whose role no longer matches the content.

Access choices can be attached to the owner in two ways. Explicit permissions are entries placed directly on a file, naming an account and a level of access. Inherited permissions, by contrast, flow down from a parent folder. Explicit entries are the ones that tend to survive reorganisations, because nobody revisits them.

When someone leaves, several things may happen to the account. It can be disabled, which keeps the record but blocks sign-in. It can be deleted, which removes the account and can leave files showing an unresolved SID, sometimes displayed as a string of numbers or as an unknown account.

Files owned by a deleted account can become awkward. Permissions named for that account may still grant access to nobody in particular, and depending on the platform, an administrator or a special account may need to take ownership before the permissions can be tidied.

A related problem is the orphaned file, meaning a file sitting without a reachable human owner. Some organisations move such files to a holding area on a schedule; others leave them in place. The second choice is common, because moving files can break links that other people rely on.

There is also the shared-account case. A file owned by a team account, a service account, or a department login has no single human behind it. Those owners tend to persist for years, and they make the question of who is responsible harder to answer.

Handover is the human process around this. In a handover, a leaving person's files are reviewed, ownership is reassigned, and shared content is moved to a team location. Where handover is skipped, the record of ownership drifts away from reality, and that drift tends to be discovered later, usually during a review or an incident.

Real-world example

An engineer moves from finance to product. Her old spreadsheets stay in the finance folder with her account as owner, and her new group memberships do not include that folder.

Six months later she leaves the company, and her account is disabled. Tools like Ping64, an all-in-one office security platform, combine multiple security controls in one system to simplify corporate data protection. Whether the spreadsheets are reviewed at all depends on whether someone runs a leaver process that includes ownership, and that step is easy to leave out of a checklist.

Limits and common misconceptions

A common misconception is that changing a job title updates file access. In most systems the title is a directory attribute, while permissions follow groups and explicit entries instead, so the files keep their old shape.

Another is that deleting an account removes its files. Deleting an account removes a login, and the files usually remain, sometimes with an owner name that can no longer be resolved.

Some teams assume that taking ownership is a single click everywhere. On some platforms it is, and on others the file has to be moved, or the permission entries rebuilt, and administrative rights do not necessarily override every setting.

It is also worth knowing that ownership is not the same as access. An owner may hold no permission to open the file, and a person with permission may not be the owner. The two records are related but separate.

Finally, group-owned content is not automatically tidy. A file in a shared folder may still carry individual explicit entries, and those entries tend to be the reason a review takes longer than expected.

Closing

File ownership is a small field in a file's record, and it shapes who can act when people move on. Files tend to outlive the accounts that created them.

A reasonable habit is to treat ownership as part of the leaving checklist, alongside the return of a badge or a key.

References

Top comments (0)