LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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


Reply
  Search this Thread
Old 07-16-2017, 06:25 PM   #1
sdowney717
Member
 
Registered: Sep 2015
Posts: 495

Rep: Reputation: Disabled
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:~$
 
Old 07-16-2017, 06:31 PM   #2
sdowney717
Member
 
Registered: Sep 2015
Posts: 495

Original Poster
Rep: Reputation: Disabled
here is the image on win10
Attached Thumbnails
Click image for larger version

Name:	Capture.PNG
Views:	22
Size:	63.4 KB
ID:	25476  
 
Old 07-16-2017, 06:57 PM   #3
AwesomeMachine
LQ Guru
 
Registered: Jan 2005
Location: USA and Italy
Distribution: Debian testing/sid; OpenSuSE; Fedora; Mint
Posts: 5,513

Rep: Reputation: 1010Reputation: 1010Reputation: 1010Reputation: 1010Reputation: 1010Reputation: 1010Reputation: 1010Reputation: 1010
Do any of your shares work now?
 
Old 07-16-2017, 07:04 PM   #4
sdowney717
Member
 
Registered: Sep 2015
Posts: 495

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by AwesomeMachine View Post
Do any of your shares work now?
Sure, the Pictures shares always work.

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?
 
Old 07-16-2017, 07:11 PM   #5
sdowney717
Member
 
Registered: Sep 2015
Posts: 495

Original Poster
Rep: Reputation: Disabled
here is my ubuntu share working for Pictures on win10
And I tried sharing from an ext4 partition, it also does not work, same error.
Attached Thumbnails
Click image for larger version

Name:	Capture2.PNG
Views:	9
Size:	105.7 KB
ID:	25477  
 
Old 07-16-2017, 07:16 PM   #6
sdowney717
Member
 
Registered: Sep 2015
Posts: 495

Original Poster
Rep: Reputation: Disabled
ok, did another test, I can only share files on the /home/scott folder on my main hard drive.

Any other hard drive, can not share anything, so how to allow a different hard drive or partition to be able to be shared?

Linux gives no warning that sharing will fail on a separate hard drive. It is plugged into my sata buss on the motherboard.
 
Old 07-16-2017, 07:20 PM   #7
sdowney717
Member
 
Registered: Sep 2015
Posts: 495

Original Poster
Rep: Reputation: Disabled
I shared the entire 500 gb hard drive partition called it 0C3655E
Does not work either

Code:
cott@scott-P5QC:~$ smbtree
Enter scott's password: 
WORKGROUP
	\\SCOTT-P5QC     		scott-P5QC server (Samba, Ubuntu)
		\\SCOTT-P5QC\Pictures       	
		\\SCOTT-P5QC\Videos         	
		\\SCOTT-P5QC\0C3655E        	
		\\SCOTT-P5QC\MOTION-FILES   	
		\\SCOTT-P5QC\vbtest         	
		\\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:~$
 
Old 07-16-2017, 07:22 PM   #8
sdowney717
Member
 
Registered: Sep 2015
Posts: 495

Original Poster
Rep: Reputation: Disabled
from permissions, I own this drive I am trying to share.
Attached Thumbnails
Click image for larger version

Name:	Screenshot from 2017-07-16 20-21-18.png
Views:	11
Size:	244.4 KB
ID:	25478  
 
Old 07-16-2017, 07:31 PM   #9
sdowney717
Member
 
Registered: Sep 2015
Posts: 495

Original Poster
Rep: Reputation: Disabled
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
https://forums.linuxmint.com/viewtopic.php?t=210488
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Sharing folders between XP home edition and Ubuntu 10.10 desktop Fabrizio Ubuntu 6 01-09-2011 03:07 PM
got Windows XP pro and Ubuntu installed - grub dont work krack3rz Linux - Desktop 5 06-23-2010 09:45 AM
Sharing files and folders between Red Hat Fedora Core 2 and Windows XP RJEdgar Linux - Newbie 2 02-15-2010 02:53 PM
sharing folders betwen windows and linux ashley_31 Linux - Networking 9 05-13-2006 10:33 AM
sharing folders betwen windows and linux ashley_31 Linux - Networking 5 05-09-2006 02:14 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:42 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration