On 04/07/2018 10:32 PM, Marc Chamberlin wrote:
I wonder if some kind guru could explain this logic to me or direct me to an appropriate users group...
I have a mixed SOHO network in my home with both Linux and Windoz systems running on it. I use autofs to automount Windows folders on my Linux systems and for the most part I don't have any issues. But one thing that has been perplexing me is why I could not copy files from say my Linux laptop to my Windows system at the C:/Users/marc/Documents folder. (I automount C: using autofs under /mnt/samba/windowscomputername/C so I can have access to the entire drive from my laptop) What really perplexed me was that I could copy files to any subfolder under C:/Users/marc/Documents such as to C:/Users/marc/Documents/tmp/newfile. My instincts told me there had to be some sort of permission problem that I had to resolve on the Windows system. So I tried everything I could think of to relax the permissions so that anyone and everyone could access the Documents folder, but to no joy.
It finally occurred to me to try and take a look at it from the Linux side, so using Dolphin I examined the permissions of the Documents folder and sure enough Dolphin was reporting that I only had read permissions on the Documents folder. So on a lark I decided to try and change the permissions via Dolphin (chmod also behaved the same way) to give me read/write permissions and I will be damned if that didn't work! But I will be twitched if I can understand why in the world that worked and why I have to give myself permission to write to the Documents folder on a Windows system, from/on the Linux system side also! Shouldn't file permissions and access be strictly governed by the system that owns the files and folders? Why does a Linux system user have to give himself/herself permissions in order to write to files on a different system? This is effectively saying that in order to write to a file system on another computer I have to give myself permission to do so on BOTH systems! In other words, it wasn't Windows that was blocking me from writing to the Windows file system from my Linux laptop, it apparently was Linux itself! Is there some weird magic about Documents folders on Windows systems? Doesn't make any sense to me...
Just to be certain, I took a look at the folder permissions, under Windows, both before and after making the permission change on the Linux system, and I could not see any changes so this appears to be strictly a Linux side permissions issue...
Marc....
This confuses me also. I an running a similar Linux system--PCLOS--and I have been able to read and write and copy from and to Windows 10 on the same or a different drive on the same computer without problems, using Dolphin, but I may have been in root mode--I don't remember. However, I do know that there are no permission bits in Windows! Windows does not understand permissions. I can also move files from the Windows file system to Linux and vice-versa on different computers via USB flash drive. (I'm too stupid to do it over the network.) --doug Comments welcome! --doug -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org