Adobe Photoshop uses wrong permissions when saving, default ACLs and create mask being ignored.

tech at mathco dot com tech at mathco.com
Wed Dec 5 13:42:06 GMT 2001


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 at lists.samba.org [mailto:samba-admin at lists.samba.org]On
Behalf Of David Brodbeck
Sent: Wednesday, December 05, 2001 2:11 PM
To: 'samba at 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 at 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





More information about the samba mailing list