Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
how to access by samba-share follow symlinks?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
SarahS93
l33t
l33t


Joined: 21 Nov 2013
Posts: 693

PostPosted: Mon Oct 26, 2015 10:05 am    Post subject: how to access by samba-share follow symlinks? Reply with quote

how is it possible if a user connect to my samba-share that files linked via symlink are accessable?

smb.conf
Code:
follow symlinks = yes
wide links = yes
does not work.
Back to top
View user's profile Send private message
Syl20
l33t
l33t


Joined: 04 Aug 2005
Posts: 619
Location: France

PostPosted: Mon Oct 26, 2015 12:58 pm    Post subject: Reply with quote

Are the files you want to open, and the directory they are in, accessible by the account used to mount the share ?

Are unix entensions enabled ? The samba doc says wide links parameter is turned off when unix entensions are on.
Back to top
View user's profile Send private message
SarahS93
l33t
l33t


Joined: 21 Nov 2013
Posts: 693

PostPosted: Tue Oct 27, 2015 7:24 am    Post subject: Reply with quote

yes, the files and directorys are accessable.

Code:
follow symlinks = yes
wide links = yes
unix extensions = no


does not work. with "unix extensions = no" set, after a /etc/init.d/samba restart no samba share a working.


Code:
equery u samba
...
 - - smbsharemodes : Enable special smb share modes (?)
...

is this important for symlinks?


how does a normal smb.conf looks like with working follow symlinks?
Back to top
View user's profile Send private message
Syl20
l33t
l33t


Joined: 04 Aug 2005
Posts: 619
Location: France

PostPosted: Tue Oct 27, 2015 1:18 pm    Post subject: Reply with quote

I don't know what the smbsharemodes use flag does... The question mark in the description is surprising, moreover.

Unix extensions are only used by Unix/Linux clients, Windows clients don't know them. So smb should start with or without this parameter enabled. And Unix/Linux clients should be able to mount the share, but with limitations in the permissions management, with unix extensions disabled.
Could you post your whole smb.conf, and the logs related to the failed start ? If you see nothing interesting, please increase the "log level" parameter to at least 3, and check the /var/log/samba/log.* logs.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum