![]() ![]() Add the following options to your mount: uid=,gid= and replace and respectively by your own user and default group, which you can find automatically with the id command. I tried to read the samba manual/doc but i couldnt understand a sentence. ![]() These 5 users (omichrongroup) are windows/mac users. Obviously, you would need to create the folder before mounting it).Īn alternative is to specify the user and group ID that the mounted network share should used, this would allow that particular user and potentially group to write to the share. I have a Ubuntu server installed on the 'server' with 5 users (+ root + transmission). mount the shared folder somewhere under your home directory, like for instance $HOME/netshare/. I also had to comment two lines in smb. If your Linux Distribution and its kernel are recent enough that you could mount the network share as a normal user (but under a folder that the user own), you will have the proper credentials to write file (e.g. When I set a permission (using WinPC - domain admin) for a group, the users can only see the folder, but not access it (read/modify doesnt matter, user can only see the folder), but per-user permissions works fine. Samba version 4.7.6-Ubuntu PID Username Group Machine Protocol Version Encryption Signing. ![]() List samba shares and the users currently connected to them. You are mounting the CIFS share as root (because you used sudo), so you cannot write as normal user. List samba shares and the users who can access each of them. Linux groups had been enabled for different shares, but this had never been enforced on the file server. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |