View previous topic :: View next topic |
Author |
Message |
SarahS93 l33t
Joined: 21 Nov 2013 Posts: 693
|
Posted: Mon Oct 26, 2015 10:05 am Post subject: how to access by samba-share follow symlinks? |
|
|
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 |
|
|
Syl20 l33t
Joined: 04 Aug 2005 Posts: 619 Location: France
|
Posted: Mon Oct 26, 2015 12:58 pm Post subject: |
|
|
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 |
|
|
SarahS93 l33t
Joined: 21 Nov 2013 Posts: 693
|
Posted: Tue Oct 27, 2015 7:24 am Post subject: |
|
|
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 |
|
|
Syl20 l33t
Joined: 04 Aug 2005 Posts: 619 Location: France
|
Posted: Tue Oct 27, 2015 1:18 pm Post subject: |
|
|
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 |
|
|
|