Re: Centos 7 Samba - all shares read only

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On Monday 08 May 2017 12:50:44 Jose Maria Terry Jimenez wrote:
> Did you tried something like:
>
> create mask = 0764
>
> and
>
> directory mode = 0775
>
> For folders
>
> In the share setup?

No, but I do now.

>
> Under which user/group are the files created? (i mean, once created, in
> the shared folder in Linux, what the user and group are?
>
> Also something like:
>
> force group = smbusers (or anything else you want)

Also added

>
> May help (add the users to that group)
>
> Best,

I have done some testing and found that I have got to the point where I can 
create a 'New Text Document', edit it in notepad and save the changes.

I can now also create a new blank spreadsheet, save it, load it, edit and save 
the changes.

However, if I open an existing spreadsheet it still comes up as read only.  
Doing a 'ls -l' on the original file shows a '+' on the end of the file 
permissions.  Other files have a '.' on the end.  The newly created files 
have a normal file permission.

I've had a quick Google and found that the '+' indicates a ACL has been 
applied.  I have no idea how this happened as until now I wasn't even aware 
of them.

Is there an easy way to remove the ACL from all of the files in these 
directory trees?


_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
https://lists.centos.org/mailman/listinfo/centos



[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux