Jan 18, 2013

openSUSE Forums: Samba, Symlinks and unix extensions

openSUSE Forums
openSUSE Forums
Samba, Symlinks and unix extensions
Jan 18th 2013, 14:01

Hi all,

I have a directory shared with Samba. I am connecting to it with my Mac. In this directory I created a symbolic link to another directory. When I try with the command line, it follows the symlink fine.
I added the following to my /etc/samba/smb.conf
Code:

[global]
unix extensions = no
[someshare]
follow symlinks = yes
wide links = yes

However, the log says
Quote:

Share 'someshare' has wide links and unix extensions enabled. These parameters are incompatible. Wide links will be disabled for this share.
And when I try to click on the symlink, the Finder thinks it's an alias pointing to a local dir that I can't find on my Mac.

Why does samba chose to ignore the unix extensions = no line in the smb.conf file?

Code:

smbd -V
Version 3.6.7-48.12.1-2831-SUSE-SL12.2-x86_64

fdisk -l


Disk /dev/sda: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders, total 1953525168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x000dd094


  Device Boot      Start        End      Blocks  Id  System
/dev/sda1            2048    4208639    2103296  82  Linux swap / Solaris
/dev/sda2  *    4208640    46153727    20972544  83  Linux
/dev/sda3        46153728  1953523711  953684992  83  Linux

df
Filesystem    1K-blocks      Used Available Use% Mounted on
rootfs          20641788  7062368  12530796  37% /
devtmpfs        1016868        36  1016832  1% /dev
tmpfs            1023692        0  1023692  0% /dev/shm
tmpfs            1023692      352  1023340  1% /run
/dev/sda2      20641788  7062368  12530796  37% /
tmpfs            1023692        0  1023692  0% /sys/fs/cgroup
tmpfs            1023692      352  1023340  1% /var/run
tmpfs            1023692      352  1023340  1% /var/lock
tmpfs            1023692        0  1023692  0% /media
/dev/sda3      938719072 894150340  26448724  98% /home

cat /etc/fstab
/dev/disk/by-id/ata-WDC_WD10EACS-00D6B1_WD-WCAU44133510-part1 swap                swap      defaults              0 0
/dev/disk/by-id/ata-WDC_WD10EACS-00D6B1_WD-WCAU44133510-part2 /                    ext4      acl,user_xattr        1 1
/dev/disk/by-id/ata-WDC_WD10EACS-00D6B1_WD-WCAU44133510-part3 /home                ext4      acl,user_xattr        1 2
proc                /proc                proc      defaults              0 0
sysfs                /sys                sysfs      noauto                0 0
debugfs              /sys/kernel/debug    debugfs    noauto                0 0
devpts              /dev/pts            devpts    mode=0620,gid=5      0 0

You are receiving this email because you subscribed to this feed at blogtrottr.com.

If you no longer wish to receive these emails, you can unsubscribe from this feed, or manage all your subscriptions

No comments: