Quote:
Originally Posted by frankbell
|
I have configured it
Code:
....
[The_Share]
comment=I am sharing.
read only = yes
locking = no
path=/home/shailu/Public/Out/
guest ok = yes
[Give_it_to_me]
comment = Please drop it here.
read only = no
locking = no
path=/home/shailu/Public/In/
guest ok = yes
[General]
comment = Common.
read only = no
locking = no
path = /home/shailu/Public/InOut/
guest ok = yes
.....
....
and it is working fine, but sharing from gui is not working.
(see the attachment).
Quote:
Originally Posted by frankbell
Have you added users using smbpasswd and do those users have valid logons to the computer?
|
I want to share my all folders over LAN network without demanding any password/username from other computers. i.e Public.
Quote:
Originally Posted by frankbell
|
Yes. But it is only working for my home ext4 filesystem, but not on Windows NTFS partition, as I have recently checked there is some problem of ACL.
Code:
$ ls -ld /media/shailu/
drwxr-x---+ 4 root root 4096 Nov 11 19:07 /media/shailu/
$ getfacl /media/shailu/
getfacl: Removing leading '/' from absolute path names
# file: media/shailu/
# owner: root
# group: root
user::rwx
user:shailu:r-x
group::---
mask::r-x
other::---
NTFS filesystem is mounted under /media/shailu.
Also my working configuration have these directory shared
Code:
$ ls -ld Public/*
drwx-wx-wt 2 shailu shailu 4096 Nov 9 00:34 Public/In
drwxrwxrwx 2 shailu shailu 4096 Nov 9 00:34 Public/InOut
drwxr-xr-x 2 shailu shailu 4096 Oct 4 20:57 Public/Out
with corresponding configuration in smb.conf file, where
Public/In: anybody can write to but not read from it.
Public/InOut: Full permission
Public/Out: Only read access.
Update:
I have been able to share from ntfs partition by using /etc/fstab entry
Quote:
/dev/sda3 /mnt/data ntfs-3g defaults,users,uid=1000,gid=1000,umask=022 0 0
|
Now I have required permissions so just like Public/Out I can share from /mnt/data/path.
But I can not umount it while somebody is accessing it from LAN (as I have tried from my computer using smb://Hostname in kde Dolphin). Not even by umount -f. Hence people on LAN when accessing my share would render me unable to umount ntfs partition.
Still Sharing from kde dolphin right clicking is unresolved.