![can i sync my deluge client to a deluge server can i sync my deluge client to a deluge server](https://www.linuxbabe.com/wp-content/uploads/2020/05/deluge-web-ubuntu-server-20.04..png)
This is completely insecure - anyone who has root access on any computer on the network can easily spoof any other user by simply creating a local user with the other user's yp-assigned UID. (In ancient times when NFS was created, people used something called yp - yellow pages - to sync UIDs/GIDs between machines on the network. This also disqualifies NFS from the start, since it uses direct "passthrough" of the UID and GID of users and files. using an LDAP server, but come on, who does that?) That means that using Unix UIDs to enforce file permissions on network shares is simply broken, IMO. (It is possible to set up such a mapping e.g. There's no guarantee at all that a certain user name maps to the same UID on different machines. The key point here is that the mapping is local to a certain machine. The mapping between a user name and its UID is done in /etc/passwd (take a look for yourself: 'cat /etc/passwd'). Some background (Use Samba/CIFS and skip ahead to "So, how do we fix this?" below if you're not interested in the gritty details):Ī Unix user name or group name maps to a user ID number (UID) or a group ID number (GID), respectively, and all file permission checks are actually done against these numbers, rather that the user name.
![can i sync my deluge client to a deluge server can i sync my deluge client to a deluge server](https://saadfaruque.files.wordpress.com/2015/11/deluge-web-connection-manager-offline.png)
Unfortunately, this is quite far from how things actually work, which leads to lots of confusion regarding file ownership and permissions. I think this is a very common use case, and what most people expect out-of-the-box. Locally on the Linux clients, the files in the mounted shares should look just like any other files the user owns, and file permissions should look the same as any regular file (mostly files=0644, dirs=0755) - but a user with write access should be able to set the permissions any way he/she wants. I wanted anyone with the correct credentials to be able to mount the share with all files either read-only or read/write, depending on Privileges settings on the OMV server.
#Can i sync my deluge client to a deluge server windows#
My use case is file sharing between mostly Linux clients, but still supporting the occational Windows client.