Mount samba share with ACL in Linux

Questions about file sharing through NFS/CIFS/AFP? Post it here!
Forum rules
This is a user forum for Synology users to share experience/help out each other: if you need direct assistance from the Synology technical support team, please use the following form:
https://myds.synology.com/support/suppo ... p?lang=enu

Mount samba share with ACL in Linux

Postby d.tamm » Mon Dec 12, 2011 3:30 pm

First of all, I am missing a forum for Linux related file sharing. There is one for Windows OS, and one for NFS. But no place to put problems with Samba on Linux...

Well, what I am trying to do is to mount a Samba share with ACLs on my Ubuntu desktop. The share has UNIX permissions 700 and the following ACLs:
Code: Select all
server> synoacltool -get /volume1/projekt
ACL version: 1
Archive: has_ACL,is_support_ACL
Owner: [root(user)]
---------------------
    [0] group:biomil:allow:r-xp-DaARWc--:---n  (level:0)
    [1] group:biomil:allow:rwxpdDaARWc--:fdi-  (level:0)
    [2] user:nobody:allow:r-x---aARWc--:fd--  (level:0)

In my /etc/fstab on Ubuntu, I have the following row, more or less the same as in the Synology Wiki (http://forum.synology.com/wiki/index.ph ... work_Drive):
Code: Select all
//192.168.20.2/projekt      /media/projekt   cifs   iocharset=utf8,user=syno_username,password=syno_passwd,uid=local_username,gid=local_groupname,rw,dirmode=777,filemode=666  0

The user syno_username is part of the syno group biomil.
I can mount the share, but then I can't access it, probably because of a strange setting of the UNIX permissions (007):
Code: Select all
d------rwx 64 daniel daniel    0 2011-12-05 11:36 projekt

I am able to access the share via Ubuntu's (Gnome's?) connect to server functionality, but then it is not mounted into the file system, so a number of actions will fail (such as opening files with certain programs, attaching files in Thunderbird etc).
Disk Station 209+II with DSM 3.1 and DS211 with DSM 3.2
d.tamm
Trainee
Trainee
 
Posts: 19
Joined: Thu Aug 20, 2009 6:18 pm

Re: Mount samba share with ACL in Linux

Postby parleur » Wed Jan 25, 2012 8:58 pm

I have the same issue with Ubuntu 10.04.3 LTS; no connection possible with diskstation.
Tried to setup Samba as well with GADMIN Samba (from Ubuntu softwarecentre)
First and for all, i am a novice in network setup. That will be my next challange.

DS files are accessible with DSM browser and manageble with the ¨download¨ command. So i can copy downloaded files from NAS's torrent and emule client to the main computer over the network.

I was supprised when i tried access to my DS110j by WLAN with my Samsung NF210 netbook that runs on Ubuntu 11.10 32bits.
It shows the Diskstation in the network location and mounts if selected. And i could copy and paste files. My aim is to use DirDiff for file sychronisation on a regular basis.

So it depends of the development of the Ubuntu distributions. In 10.04 i have researched fora and tried all all the well intended help, but nothing works.

11.10 did the job.

I hope 12.04 LTS will soon forget this problem.

Regards Theo
parleur
I'm New!
I'm New!
 
Posts: 2
Joined: Sat Dec 17, 2011 5:37 pm


Return to File Sharing: Windows, Mac OS X, Linux

Who is online

Users browsing this forum: No registered users and 2 guests