[Samba] Users can't access files on shares

Benjamin Budts ben at zentrix.be
Mon Jan 20 02:01:36 MST 2014

Is there a way to see fs attributes once it's been mounted ?


-----Original Message-----
From: samba-bounces at lists.samba.org [mailto:samba-bounces at lists.samba.org]
On Behalf Of Luka Goltnik
Sent: vrijdag 17 januari 2014 11:34
To: Thomas Harold
Cc: samba at lists.samba.org
Subject: Re: [Samba] Users can't access files on shares

You were right, although I've had user_xattr and acl set in /etc/fstab for
some reason, the file system wasn't mounted with these options. After I
remounted the partition everything was fine again. Thank's for your tip.


On Thu, Jan 16, 2014 at 2:00 PM, Thomas Harold
<thomas-lists at nybeta.com>wrote:

> On 1/14/2014 5:59 AM, Luka Goltnik wrote:
>> Hello fellow Samba experts,
>> I come to you in hour of need. :-)
>> I have successfully set up Samba 4. It's acting as a AD domain 
>> controller and on it I have 4 users, 4 groups and 6 shares. For most 
>> of the time everything works fine, but samba has occasional glitches.
>> The glitches appear in such way that one user is let's say editing 
>> excel file, and after saving the file and exiting excel, another user 
>> wants to edit it as well, but get's a window saying "Access denied. 
>> Contact your administrator!".
>> So I go exploring what's wrong and open properties of that file, 
>> check the security tab and notice that surprisingly there is no Group 
>> or user name written as having rights to access this file.
>> When I try to add group to the permission box I just get an error 
>> "Unable to save permission changes on <filename.ext>. Access is denied."
> As a guess in the dark, this sounds like your file system which hosts 
> the share does not support "extended ACLs".
> https://wiki.samba.org/index.php/Setup_and_configure_file_shares
> If using ext4 for your shares, you need to change /etc/fstab and add 
> the following mount options: user_xattr,acl


Luka Goltnik

Mave d.o.o.

E-mail: luka.goltnik at mave.si

Tel.: + 386 59 951 844

GSM: + 386 40 602 834

To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba

More information about the samba mailing list