Adobe Photoshop uses wrong permissions when saving

David Brodbeck DavidB at mail.interclean.com
Mon Dec 10 06:07:03 GMT 2001


That doesn't help my version of the problem, though.  My create mask is 701,
but Photoshop is creating files with permissions 777.

-----Original Message-----
From: Tim Allen [mailto:timallen at ls82.fsnet.co.uk]
Sent: Friday, December 07, 2001 7:28 AM
To: samba at lists.samba.org
Subject: Re: Adobe Photoshop uses wrong permissions when saving


What is force create mode set to? It defaults to 0, but setting it to
another value should ensure that the bits you want set actually end up that
way. As I understand it:

Unix permissions = force_create_mode | (mapped_mode & create_mask)

So use create mode to clear bits and force create mode to set them.

Tim Allen

----- Original Message -----
From: "JW" <wilson at claborn.net>
To: "Javid Abdul-AJAVID1" <AJAVID1 at motorola.com>
Cc: <samba at lists.samba.org>
Sent: Thursday, December 06, 2001 6:07 PM
Subject: RE: Adobe Photoshop uses wrong permissions when saving, default A
CLs and create mask being ignored.


> At 11:52 AM 12/6/2001 -0600, you wrote:
>
> >Hi JW
> >
> >Just wondering what mask are you using to enforce -rw-rw-r--?
>
> I should have stated:
>
>         create mask = 0664
>         directory mask = 0775
>
>
> >thanks
> >
> >-----Original Message-----
> >From: JW [mailto:wilson at claborn.net]
> >Sent: Thursday, December 06, 2001 11:41 AM
> >To: samba at lists.samba.org
> >Subject: RE: Adobe Photoshop uses wrong permissions when saving, default
> >ACLs and create mask being ignored.
> >
> >
> >I just thought I would confirm that I have had very similar problems with
> >PhotoShop 5.5 and 6.0
> >
> >I always thought it was just me - glad to see others are having this
> >problem.
> >
> >It is indeed only Photoshop that has this problem. For me it is somewhat
> >random - doesn't happen all the time.
> >
> >I have the mask set to force permissions that would normally look like
the
> >following:
> >
> >-rw-rw-r--    1 jw       users       14681 Jun  3  2001 txdexamp.tif
> >
> >But when it fouls up it actually ends up looking like the following:
> >
> >-------r--    1 jw       users       14681 Jun  3  2001 txdexamp.tif
> >
> >A fix to this would certainly be appreciated.
> >
> >At 11:10 AM 12/6/2001 -0600, you wrote:
> >>This seem to be correct, I just tried to save a webpage from IE
> >>and it saves it with a correct mask, Photoshop 6 and previous
> >>saves with the wrong mask for some reason.
> >>
> >>MattB
> >>
> >>-----Original Message-----
> >>From: samba-admin at lists.samba.org [mailto:samba-admin at lists.samba.org]On
> >>Behalf Of Ian McDonald
> >>Sent: Thursday, December 06, 2001 10:56 AM
> >>To: Leonardo Rodrigues; samba ML
> >>Subject: Re: Adobe Photoshop uses wrong permissions when saving, default
> >>ACLs and create mask being ignored.
> >>
> >>
> >>So what might be happening is that adobe photoshop writes the file, then
> >>changes the permissions on it?
> >>
> >>Could that be traced in the debug logs?
> >>
> >>--
> >>ian
> >>
> >>----- Original Message -----
> >>From: "Leonardo Rodrigues" <coelho at persogo.com.br>
> >>To: "samba ML" <samba at lists.samba.org>
> >>Sent: Thursday, December 06, 2001 5:35 PM
> >>Subject: Re: Adobe Photoshop uses wrong permissions when saving, default
> >>ACLs and create mask being ignored.
> >>
> >>
> >>>
> >>>     No, postexec wouldnt be enough. My users map this unit on logon
> >>> script and possible wont disconnect until shutdown. The problem is
that
> >>> right after saving the picture on Adobe Photoshop, they have to use it
> >>> in Dreamweaver or any other program. And they just get Access Denied,
> >>> because they really dont have access according to permissions the file
> >>> was saved.
> >>>
> >>>     Question is: I'm using create mask and it seems to be NOT honored.
I
> >>> know it's ONLY happening on Photoshop. But shouldnt Samba enforce
create
> >>> mask on ALL files ??
> >>>
> >>>     Sincerily,
> >>>     Leonardo Rodrigues
> >>>
> >>> ----- Original Message -----
> >>> From: "Joel Hammer" <Joel at HammersHome.com>
> >>> To: "Leonardo Rodrigues" <coelho at persogo.com.br>;
> >>> <samba at lists.samba.org>
> >>> Sent: Thursday, December 06, 2001 12:18 PM
> >>> Subject: Re: Adobe Photoshop uses wrong permissions when saving,
default
> >>> ACLs and create mask being ignored.
> >>>
> >>>
> >>> > Since this appears to be an adobe issue, would a postexec command in
> >>> the
> >>> > share chmod blah blah solve this problem.
> >>> > Joel
> >>>
> >>>
> >>>
> >>> --
> >>> To unsubscribe from this list go to the following URL and read the
> >>> instructions:  http://lists.samba.org/mailman/listinfo/samba
> >>>
> >>
> >>
> >>--
> >>To unsubscribe from this list go to the following URL and read the
> >>instructions:  http://lists.samba.org/mailman/listinfo/samba
> >>
> >>
> >>--
> >>To unsubscribe from this list go to the following URL and read the
> >>instructions:  http://lists.samba.org/mailman/listinfo/samba
> >
> >----------------------------------------------------
> >Jonathan Wilson
> >System Administrator
> >
> >Cedar Creek Software     http://www.cedarcreeksoftware.com
> >Central Texas IT     http://www.centraltexasit.com
> >
> >
> >--
> >To unsubscribe from this list go to the following URL and read the
> >instructions:  http://lists.samba.org/mailman/listinfo/samba
>
> ----------------------------------------------------
> Jonathan Wilson
> System Administrator
>
> Cedar Creek Software     http://www.cedarcreeksoftware.com
> Central Texas IT     http://www.centraltexasit.com
>
>
> --
> To unsubscribe from this list go to the following URL and read the
> instructions:  http://lists.samba.org/mailman/listinfo/samba
>
>


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




More information about the samba mailing list