[Samba] JPG issue

Luke Barone lukebarone at gmail.com
Thu Mar 30 18:36:25 UTC 2017


You have the setting on to HIDE files that can't be written to. Try turning
that off. Next, investigate why it's causing the files to get 540
permissions instead of 740 (or other).

On Thu, Mar 30, 2017 at 11:18 AM, Curtis Vaughan via samba <
samba at lists.samba.org> wrote:

> Ok, it's taken me a while, but here's what seems to be the problem. In OSX
> I see a lock on the file. If that lock is ON, it disappears. But what is
> that lock and where did it come from.... Is it like a read only lock?
>
> On Thu, Mar 30, 2017 at 11:04 AM Curtis Vaughan <cavaughan at gmail.com>
> wrote:
>
> > Ok, here's what seems to be going on. When a JPG is put into a share it
> > inherits permissions of 540. When I chmod it to 740 it appears in file
> > browsers. So the file is actually there, but invisible. But I've tried
> > other files and everything else copies over with 740. Again, why?
> >
> >
> > On Thu, Mar 30, 2017 at 10:56 AM Curtis Vaughan <cavaughan at gmail.com>
> > wrote:
> >
> > [global]
> >
> > workgroup = NPC
> >
> > server string = Samba Server %v
> >
> > netbios name = Atlantica
> >
> > security = user
> >
> > map to guest = bad user
> >
> > dns proxy = no
> >
> > hide files = /~*/
> >
> > hide unwriteable files = yes
> >
> >
> > #============================ Share Definitions
> > ==============================
> >
> >
> > [homes]
> >
> > comment = Home Directories
> >
> > path = /home/%S
> >
> > valid users = %S
> >
> > browseable = no
> >
> > guest ok = no
> >
> > writable = yes
> >
> > create mask = 770
> >
> > directory mask = 770
> >
> >
> >
> > [Accounting]
> >
> > browsable = yes
> >
> > writeable = yes
> >
> > create mode = 770
> >
> > valid users = @accounting
> >
> > path = /samba/Accounting
> >
> > force directory mode = 02770
> >
> > directory mode = 02770
> >
> > force group = accounting
> >
> > # Recycling
> >
> > vfs objects = full_audit recycle
> >
> > recycle:repository = .recycle/%U
> >
> > recycle:directory_mode = 0770
> >
> > recycle:versions = Yes
> >
> > recycle:inherit_nt_acl = Yes
> >
> > recycle:keeptree = Yes
> >
> > recycle:touch = yes
> >
> >
> > etc....
> >
> > On Thu, Mar 30, 2017 at 10:43 AM Luke Barone <lukebarone at gmail.com>
> wrote:
> >
> > Post your smb.conf file so we have information to refer to
> >
> > On Mar 30, 2017 9:23 AM, "Curtis Vaughan via samba" <
> samba at lists.samba.org>
> > wrote:
> >
> > I've got a weird issue with our server. You can't write a jpg file to it.
> > Windows just errors out. When I tried from a Mac it wrote it over, but
> > then instantly disappears.
> > The only possible option I know of is the VETO parameter. But we're not
> > using that.
> >
> >
> > --
> > To unsubscribe from this list go to the following URL and read the
> > instructions:  https://lists.samba.org/mailman/options/samba
> >
> > --
> > Curtis Vaughan
> >
> > "Bury the past, rob us blind
> > And leave nothin behind
> > View the world from American eyes" - RATM
> >
> > --
> > Curtis Vaughan
> >
> > "Bury the past, rob us blind
> > And leave nothin behind
> > View the world from American eyes" - RATM
> >
> --
> Curtis Vaughan
>
> "Bury the past, rob us blind
> And leave nothin behind
> View the world from American eyes" - RATM
> --
> 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