i’m mounting a cifs share via fstab, and using both the uid and gid for the permissions when mounted (I did try with just gid set too…)
my user account is part of the ‘users’ group.
gid=users; i get read only
uid=nobody, gid=users; read only
uid=veehexx, gid=users; RW access.
why is that? surely if permissions are set to use groups rather than users, then it should work. how do i get around this?
all my knowledge is based in the Microsoft camp - if a user is in a group, then you can assign that group to a resource and it will work.
Filesystem permissions are based on first match. First check user and
then apply users’ permissions if applicable (and end if so). Next check
group and apply group’s permissions if applicable (and end if so).
Finally, apply “other” permissions. In this case I’m guessing the
permissions you have on this directory are allowing the user to read/write
and groups to read/only. You can add more permissions using extended
attributes but those are a bit different.
>
> i’m mounting a cifs share via fstab, and using both the uid and gid for
> the permissions when mounted (I did try with just gid set too…)
> my user account is part of the ‘users’ group.
>
> gid=users; i get read only
> uid=nobody, gid=users; read only
> uid=veehexx, gid=users; RW access.
>
> why is that? surely if permissions are set to use groups rather than
> users, then it should work. how do i get around this?
> all my knowledge is based in the Microsoft camp - if a user is in a
> group, then you can assign that group to a resource and it will work.
>
>
veehexx;