grant regular user permission to work on transmission dir

 

On FreeBSD, the "Full Control" equivalent for a user—including the ability to delete and manage sub-items—is typically represented by the string modify_set or a specific set of 14 letters.

Try this corrected command:

Bash
 
sudo setfacl -m u:euler:full_set:fd:allow /mypool/transmission

Why this works better

FreeBSD's ZFS implementation supports "convenience sets." Instead of typing out every letter, full_set maps to all the necessary bits for reading, writing, and executing.

If your version of FreeBSD prefers the literal string and full_set isn't recognized, use this specific sequence (which omits the invalid P):

Bash
 
sudo setfacl -m u:euler:rwaWCoDdD:fd:allow /mypool/transmission

Quick Verification

Once you run that, check it with:

Bash
 
getfacl /mypool/transmission

What you want to see:

  • euler listed with a long string of permissions.

  • The :fd: bits present (this ensures that when Transmission downloads a new file, euler still has the right to delete or move it).

One Final ZFS Check

Since you are using a ZFS pool (/mypool), ensure the ACL inherited property is set to passthrough. This ensures ZFS doesn't "strip" these ACLs when new files are created:

Bash
 
sudo zfs set aclmode=passthrough mypool/transmission
sudo zfs set aclinherit=passthrough mypool/transmission

(Note: Use the name of the dataset, e.g., mypool/transmission, not the mount point path if they differ.)

 

posted @ 2026-04-14 10:34  profesor  阅读(2)  评论(0)    收藏  举报