David Brodbeck
2001-Dec-05 12:17 UTC
Adobe Photoshop uses wrong permissions when saving, default ACLs and create mask being ignored.
One of our employees is having an odd problem with Adobe Photoshop. Files he saves with Photoshop are saved with permissions 777, completely ignoring both the create mask and the default ACL for the directory. Files he creates with other programs have the correct permissions. This has me stumped. It appears I can reproduce the problem at will. Client is Windows NT 4.0 SP6a and Adobe Photoshop 5.0. Server is RedHat 7.1, kernel 2.4.7 plus ACL 0.7.13. Samba 2.2.2. relevent smb.conf global entries (entire file available upon request): create mask = 701 directory mask = 700 map hidden = yes and the share entry: [Sales] comment = Sales & Marketing Division files path = /export/sales writable = yes printable = no Here's the ACL for the directory: # file: WTC # owner: INTERCLEAN+Brent # group: INTERCLEAN+Domain Users user::rwx user:mirror:r-x group::--- group:INTERCLEAN+Domain Admins:rwx group:INTERCLEAN+Sales:rwx mask:rwx other:--- default:user::rwx default:user:mirror:r-x default:group::r-x default:group:INTERCLEAN+Domain Admins:rwx default:group:INTERCLEAN+Sales:rwx default:mask:rwx default:other:--- And one of the troublesome files (note that the default ACL has been completely ignored!): # file: 2.jpg # owner: INTERCLEAN+Brent # group: INTERCLEAN+Domain Users user::rwx group::rwx mask:rwx other:rwx ---------- David Brodbeck, System Administrator InterClean Equipment, Inc. Ann Arbor, Michigan davidb@mail.interclean.com (734) 975-2967 x221
tech at mathco dot com
2001-Dec-05 13:42 UTC
Adobe Photoshop uses wrong permissions when saving, default ACLs and create mask being ignored.
Maybe you should try the force create mode or similar i had to put the mode to 666 cause 777 seems to hide the files under samba. [Software] comment = Software Share path = /home/data/software valid users = mattb read only = No create mask = 0666 force create mode = 0666 security mask = 0666 directory mask = 0777 force directory mode = 0777 /MattB -----Original Message----- From: samba-admin@lists.samba.org [mailto:samba-admin@lists.samba.org]On Behalf Of David Brodbeck Sent: Wednesday, December 05, 2001 2:11 PM To: 'samba@samba.org' Subject: Adobe Photoshop uses wrong permissions when saving, default ACLs and create mask being ignored. One of our employees is having an odd problem with Adobe Photoshop. Files he saves with Photoshop are saved with permissions 777, completely ignoring both the create mask and the default ACL for the directory. Files he creates with other programs have the correct permissions. This has me stumped. It appears I can reproduce the problem at will. Client is Windows NT 4.0 SP6a and Adobe Photoshop 5.0. Server is RedHat 7.1, kernel 2.4.7 plus ACL 0.7.13. Samba 2.2.2. relevent smb.conf global entries (entire file available upon request): create mask = 701 directory mask = 700 map hidden = yes and the share entry: [Sales] comment = Sales & Marketing Division files path = /export/sales writable = yes printable = no Here's the ACL for the directory: # file: WTC # owner: INTERCLEAN+Brent # group: INTERCLEAN+Domain Users user::rwx user:mirror:r-x group::--- group:INTERCLEAN+Domain Admins:rwx group:INTERCLEAN+Sales:rwx mask:rwx other:--- default:user::rwx default:user:mirror:r-x default:group::r-x default:group:INTERCLEAN+Domain Admins:rwx default:group:INTERCLEAN+Sales:rwx default:mask:rwx default:other:--- And one of the troublesome files (note that the default ACL has been completely ignored!): # file: 2.jpg # owner: INTERCLEAN+Brent # group: INTERCLEAN+Domain Users user::rwx group::rwx mask:rwx other:rwx ---------- David Brodbeck, System Administrator InterClean Equipment, Inc. Ann Arbor, Michigan davidb@mail.interclean.com (734) 975-2967 x221 -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Martyn Ranyard
2001-Dec-06 09:17 UTC
Adobe Photoshop uses wrong permissions when saving, default ACLs and create mask being ignored.
At 02:35 PM 12/6/01 -0300, you wrote:> > 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 ??Force create mode might do what you want, rather than create mask Martyn Ranyard
Maybe Matching Threads
- Adobe Photoshop uses wrong permissions when saving, default A CLs and create mask being ignored.
- Permissions problem...I must be overlooking *something*...
- PDF printing problem - can't find Samba's file?
- using pam_winbind to authenticate PPP?
- Some users can't log in -- server shows username as "nobody"