[Samba] Can Map shares but cannot write

Michael Lyon mjlyon at gmail.com
Wed Jun 30 13:30:31 MDT 2010


The culprit was selinux.

Thanks for everyone's help!

Mike


On Wed, Jun 30, 2010 at 2:26 PM, Gaiseric Vandal
<gaiseric.vandal at gmail.com>wrote:

> What happens if you try to mount a samba share via CIFS from linux (e.g.
> smbclient, mount -o cifs ?)   Or may be mount the drive in windows with the
> "net use" command.    Either way you explicitly set the domain/username.
>
> Do any of the other log files refer to issues with mapping users?
>
> What is the Host OS?  Guessing some linux varient?
>
>
>
>
> On 06/30/2010 02:40 PM, James Zuelow wrote:
>
>> ----Original Message----
>> From: samba-bounces at lists.samba.org
>> [mailto:samba-bounces at lists.samba.org] On Behalf Of Michael Lyon Sent:
>> Wednesday, June 30, 2010 6:37 AM To: tms3 at tms3.com
>> Cc: samba at lists.samba.org
>> Subject: Re: [Samba] Can Map shares but cannot write
>>
>>
>>
>>> Heh, I made myself the owner, and still can't create a file.
>>>
>>> [root at vm-stusrv test]# getfacl /home/share/students/
>>> getfacl: Removing leading '/' from absolute path names
>>> # file: home/share/students/
>>> # owner: mlyon
>>> # group: students
>>> user::rwx
>>> group::rwx
>>> group:students:rwx
>>> mask::rwx
>>> other::rwx
>>>
>>> Mike
>>>
>>>
>>>
>> Try using the default flag for setfacl.  I always have this problem with
>> setfacl:
>>
>> $ setfacl -m g:students:rwx foo
>>
>> doesn't work, but I have better luck with
>>
>> $ setfacl -d -m g:students:rwx foo
>>
>> I don't know why, it seems like it should work with the first setup but it
>> rarely does for me.
>>
>> And if THAT doesn't work, I connect to the share as an admin Windows user
>> (administrator in your case) and set the ACLs using Windows Explorer.
>>
>> James Zuelow
>> Network Specialist
>> City and Borough of Juneau MIS
>> (907) 586-0236
>>
>>
>
> --
> 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