[SOLVED] sharing from ubuntu to windows some folders work, some dont
Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
sharing from ubuntu to windows some folders work, some dont
A long time ago, I was able to shares my pictures folder.
Today I added motion-files as a share. However win10 says has no read permissions, but it appears in network for windows 10,
What is different between Pictures and Motion-Files??
Code:
scott@scott-P5QC:~$ smbtree
Enter scott's password:
WORKGROUP
\\SCOTT-P5QC scott-P5QC server (Samba, Ubuntu)
\\SCOTT-P5QC\Pictures
\\SCOTT-P5QC\MOTION-FILES
\\SCOTT-P5QC\HP-LaserJet-4000 HP LaserJet 4000 Series
\\SCOTT-P5QC\IPC$ IPC Service (scott-P5QC server (Samba, Ubuntu))
\\SCOTT-P5QC\print$ Printer Drivers
\\LR-PC
\\LR-PC\Users
\\LR-PC\testshare
\\LR-PC\Recorded TV
\\LR-PC\Public
\\LR-PC\pictures
\\LR-PC\IPC$ Remote IPC
\\LR-PC\E$ Default share
\\LR-PC\C$ Default share
\\LR-PC\ADMIN$ Remote Admin
\\BOAT2PC
scott@scott-P5QC:~$ smbstatus
smbstatus only works as root!
scott@scott-P5QC:~$ sudo smbstatus
Samba version 4.3.11-Ubuntu
PID Username Group Machine Protocol Version
------------------------------------------------------------------------------
Service pid machine Connected at
-------------------------------------------------------
No locked files
scott@scott-P5QC:~$
I do think now maybe the problem is I am sharing a folder on an NTFS harddrive on my ubuntu pc?
And is that possible? See I have this extra drive and since I dual boot windows, I wanted it to be NTFS so both linux and windows could use it for storage.
It does the job, but I also wanted to now share files from it to the windows 10 pc.
So am I out of luck?
Made it work by forcing! force user = scott
Is there a better way?
Code:
#======================= Global Settings =======================
[global]
## Browsing/Identification ###
# Change this to the workgroup/NT-domain name your Samba server will part of
workgroup = WORKGROUP
force user = your-user-name
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.