Sharing to both Linux and Windows with Write Permission?

Status
Not open for further replies.

dmattox10

Cadet
Joined
Mar 14, 2016
Messages
6
I created, and have been using, CIFS shares. From windows I can read, write, create, and delete. I recently switched my person computer on the network over to Ubuntu, full time. In Ubuntu I'm stuck with read-only, I cannot modify, create, or delete files. I am using "Windows permissions" But I need to as all of the physical machines on the network use WIndows 10. Any help would be great!
 

anodos

Sambassador
iXsystems
Joined
Mar 6, 2014
Messages
9,554
I created, and have been using, CIFS shares. From windows I can read, write, create, and delete. I recently switched my person computer on the network over to Ubuntu, full time. In Ubuntu I'm stuck with read-only, I cannot modify, create, or delete files. I am using "Windows permissions" But I need to as all of the physical machines on the network use WIndows 10. Any help would be great!

"Windows permissions" actually has nothing to do with the client you're using. I routinely use linux clients to access my FreeNAS SMB shares. Post the following:
- Command used to mount the FreeNAS share from ubuntu.
- Output of smbstatus on the FreeNAS server when the ubuntu client is connected
- contents of /usr/local/etc/smb4.conf on your FreeNAS server

Enclose the above in [ code ] tags.
 

dmattox10

Cadet
Joined
Mar 14, 2016
Messages
6
Code:

# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point>   <type>  <options>	   <dump>  <pass>
# / was on /dev/nvme1n1p5 during installation
UUID=0c526e60-6e10-4daf-b4d4-86549cda9bce /			   ext4	errors=remoun$
/swapfile								 none			swap	sw		   $
# Medistor
//10.0.0.8/Shared  /media/Shared  cifs  guest,uid=1000,iocharset=utf8  0  0
# Private Share
//10.0.0.8/dmattox10  /media/dmattox10  cifs  username=dmattox10,password=x1228$


Code:
																				
Locked files:																   
Pid		  Uid		DenyMode   Access	  R/W		Oplock		   Share
Path   Name   Time															 
--------------------------------------------------------------------------------
------------------															 
6091		 1001	   DENY_ALL   0x100080	RDONLY	 NONE			 /mnt/
AV1/AV1   .   Sat Apr 22 21:28:42 2017										 
73619		1001	   DENY_NONE  0x80		RDONLY	 NONE			 /mnt/
AV1/AV1   .   Wed May 10 17:45:58 2017										 
11673		65534	  DENY_NONE  0x100081	RDONLY	 NONE			 /mnt/
AV1/AV1/Shared Media   Files/PC Games   Sat May  6 11:11:27 2017				
11673		65534	  DENY_NONE  0x100081	RDONLY	 NONE			 /mnt/
AV1/AV1/Shared Media   Files/PC Games/OCTGN   Sat May  6 11:11:29 2017		 
11706		1001	   DENY_NONE  0x100081	RDONLY	 NONE			 /mnt/
AV1/AV1/Shared Media   .   Sat May  6 11:21:10 2017							 
11700		65534	  DENY_NONE  0x100081	RDONLY	 NONE			 /mnt/
AV1/AV1/Shared Media   .   Sat May  6 11:23:53 2017							 
11673		65534	  DENY_NONE  0x100081	RDONLY	 NONE			 /mnt/
AV1/AV1/Shared Media   .   Sat May  6 21:02:40 2017							 
11657		1001	   DENY_NONE  0x100081	RDONLY	 NONE			 /mnt/
AV1/AV1/Shared Media   .   Sat May  6 10:59:13 2017							 
																				
[root@medistor ~]#

Code:
[global]
	server max protocol = SMB2
	encrypt passwords = yes
	dns proxy = no
	strict locking = no
	oplocks = yes
	deadtime = 15
	max log size = 51200
	max open files = 706664
	logging = file
	load printers = no
	printing = bsd
	printcap name = /dev/null
	disable spoolss = yes
	getwd cache = yes
	guest account = nobody
	map to guest = Bad User
	obey pam restrictions = yes
	directory name cache size = 0
	kernel change notify = no
	panic action = /usr/local/libexec/samba/samba-backtrace
	nsupdate command = /usr/local/bin/samba-nsupdate -g
	server string = medistor
	ea support = yes
	store dos attributes = yes
	lm announce = yes
	hostname lookups = yes
	time server = yes
	acl allow execute always = true
	dos filemode = yes
	multicast dns register = yes
	domain logons = no
	local master = yes
	idmap config *: backend = tdb
	idmap config *: range = 90000001-100000000
	server role = standalone
	netbios name = MEDISTOR
	workgroup = WORKGROUP
	security = user
	pid directory = /var/run/samba
	create mask = 0666
	directory mask = 0777
	client ntlmv2 auth = yes
	dos charset = CP437
	unix charset = UTF-8
	log level = 1


[Root]
	path = /mnt/AV1/AV1
	printable = no
	veto files = /.snapshot/.windows/.mac/.zfs/
	writeable = yes
	browseable = yes
	vfs objects = zfs_space zfsacl aio_pthread
	hide dot files = yes
	guest ok = no
	nfs4:mode = special
	nfs4:acedup = merge
	nfs4:chown = true
	zfsacl:acesort = dontcare


[Shared]
	path = /mnt/AV1/AV1/Shared Media
	printable = no
	veto files = /.snapshot/.windows/.mac/.zfs/
	writeable = yes
	browseable = yes
	vfs objects = zfs_space zfsacl aio_pthread
	hide dot files = yes
	guest ok = yes
	nfs4:mode = special
	nfs4:acedup = merge
	nfs4:chown = true
	zfsacl:acesort = dontcare


[homes]
	valid users = %U
	path = /mnt/AV1/AV1/Users/%U
	comment = Home Directories
	printable = no
	veto files = /.snapshot/.windows/.mac/.zfs/
	writeable = yes
	browseable = yes
	vfs objects = zfs_space zfsacl aio_pthread
	hide dot files = no
	guest ok = no
	nfs4:mode = special
	nfs4:acedup = merge
	nfs4:chown = true
	zfsacl:acesort = dontcare


[dmattox10]
	path = /mnt/AV1/AV1/Users/dmattox10
	printable = no
	veto files = /.snapshot/.windows/.mac/.zfs/
	writeable = yes
	browseable = yes
	vfs objects = zfs_space zfsacl aio_pthread
	hide dot files = yes
	guest ok = no
	nfs4:mode = special
	nfs4:acedup = merge
	nfs4:chown = true
	zfsacl:acesort = dontcare


[extreme92]
	path = /mnt/AV1/AV1/Users/extreme92
	printable = no
	veto files = /.snapshot/.windows/.mac/.zfs/
	writeable = yes
	browseable = yes
	vfs objects = zfs_space zfsacl aio_pthread
	hide dot files = yes
	guest ok = no
	nfs4:mode = special
	nfs4:acedup = merge
	nfs4:chown = true
	zfsacl:acesort = dontcare


[kmattox10]
	path = /mnt/AV1/AV1/Users/kmattox10
	printable = no
	veto files = /.snapshot/.windows/.mac/.zfs/
	writeable = yes
	browseable = yes
	vfs objects = zfs_space zfsacl aio_pthread
	hide dot files = yes
	guest ok = no
	nfs4:mode = special
	nfs4:acedup = merge
	nfs4:chown = true
	zfsacl:acesort = dontcare
 
Status
Not open for further replies.
Top