Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

10
  • Your statement "If I login from a different machine via a mounted drive in KDE (UserB) [...]" doesn't make sense. Do you mean you mount the MEDIA folder from a remote machine? If so, which network filesystem protocol are you using to do so? Commented Jul 11, 2017 at 22:22
  • Yes, mounting the MEDIA folder remotely, using CIFS, providing Bob and his password when requested by the file browser Commented Jul 11, 2017 at 22:43
  • So... you need to look at your Samba configuration for that share. Commented Jul 11, 2017 at 23:20
  • On Linux, a newly created file's owner is set to the uid of the creating process, and the file's owner cannot be changed by a non-superuser user, even if the user is the owner of the file. This means you can't give away your files. If there was a mechanism (say by setting the user suid bit on a directory), then this rule could be circumvented by two co-operating regular users. Thus you can't set up a directory so that a file created by a local user would end up being inherited from the directory. Commented Jul 12, 2017 at 6:25
  • @roaima create and directory mask are both set to 0775 in samba.conf Commented Jul 12, 2017 at 21:37