Hi,
Trying to resolve a sharing/permissions issue. I think?
Two PC's - Linux Mint 16 & Windows XP SP3
I have created a shared folder on each PC
The situation:
If I connect to the Windows share from Linux I can create files and edit them.
On the windows machine I can then open and edit those files also.
If I connect to the Linux share from Windows I can create files and edit them.
On the Linux machine If I open the files created from Windows are "Read Only"
I can create and edit files normally within the the shared folder.
The shares seem to be working,
but Linux is treating the Windows files some how differently.?
*** Update ***
If I create a file on my NAS from Windows, Linux can open edit the file.
If I move the file from NAS to the shared Linux folder it is still editable.
So the issue is files created directly from Window to Linux Share
Any guidance welcome.
Thanks... David
Files from Windows in Linux Share are "Read Only"
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Files from Windows in Linux Share are "Read Only"
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Re: Files from Windows in Linux Share are "Read Only"
Windows scrambles any permissions assigned to the file structure, and also any journal on the file system, unless your 'shared' folder is installed on an NTFS or other file structure which ignores file permissions.
Re: Files from Windows in Linux Share are "Read Only"
Hi,cwsnyder wrote:Windows scrambles any permissions assigned to the file structure, and also any journal on the file system,
unless your 'shared' folder is installed on an NTFS or other file structure which ignores file permissions.
Thanks, Linux is vey new to me, but I think I get that now.
So direct Windows to Linux is the problem,
but going via the NAS works because, if I'm correct the NAS is ext4?
David
Re: Files from Windows in Linux Share are "Read Only"
Because the Windows files are coming across either owned by someone other than you or quite possibly as owner = nobody ( literally ).The shares seem to be working,
but Linux is treating the Windows files some how differently.?
Please post the output of the following commands:
Code: Select all
testparm -s
Code: Select all
net usershare info --long
Please add a [SOLVED] at the end of your original subject header if your question has been answered and solved.