This is the old XigmaNAS forum in read only mode,
it will taken offline by the end of march 2021!



I like to aks Users and Admins to rewrite/take over important post from here into the new fresh main forum!
Its not possible for us to export from here and import it to the main forum!

symbolic link

CIFS/SMB network sharing.
Forum rules
Set-Up GuideFAQsForum Rules
Post Reply
bubull51
NewUser
NewUser
Posts: 6
Joined: 12 Feb 2013 10:37
Status: Offline

symbolic link

Post by bubull51 »

Hello to all
I have trouble with symbolic link.
I use nas4free 9.1.0.1 - Sandstorm (revision 573) with FreeBSD 9.1-release (release date 901000)

I created 3 folders
user1 (user1 personnal folder)
user2 (user2 personnal folder)
public (common folder for all users)

I created 3 groups
group user1
group user2
group public

ls -l give this :
Code:

drwxrwx--- 2 user1 user1 3 Feb 13 11:12 user1
drwxrwx--- 3 user2 user2 4 Feb 13 11:21 user2
drwxrwxrwx 5 root public 5 Feb 14 09:23 public

id user1 give this:
Code:

uid=1000(user1) gid=1002(user1) groups=1002(user1),1004(public)

id user2 give this:
Code:

uid=1001(user2) gid=1003(user2) groups=1003(user2),1004(public)

I created a symbolic link using ln -s, in each personal folder.

using Windows 7, \\server_ip I see the symbolic link in personal folder, but when I double click on it I got this message:
Code:

windows can't access \\server_ip\user1\public

I can access public folder from Windows 7, when I double click directly on it.

thanks for your help

Onichan
Advanced User
Advanced User
Posts: 238
Joined: 04 Jul 2012 21:41
Status: Offline

Re: symbolic link

Post by Onichan »

The first question is what logon are you using when you go to \\server_ip\
If you are using the public logon then that would be why you can't access the users folder.
Also why are you creating symbolic links? Why not create 3 different datasets, user1 user2 and public and assign the appropriate rights to each dataset. Then share out those datasets with cifs and inherit permissions. Then depending on what account you use to connect then they should only have access to their folder and the public one.

Post Reply

Return to “CIFS/SMB (Samba)”