[Samba] Solaris 10 and "store dos attributes"
Schaefer Jr, Thomas R.
tom at umsl.edu
Thu Feb 15 14:35:15 GMT 2007
The user wouldn't be able to write to the file at a command prompt
either..
schaefer at tomcat:~ -bash$ cat /etc/release
Solaris 10 3/05 s10_74L2a X86
Copyright 2005 Sun Microsystems, Inc. All Rights Reserved.
Use is subject to license terms.
Assembled 22 January 2005
schaefer at tomcat:~ -bash$ id
uid=241(schaefer) gid=203(stuff)
schaefer at tomcat:~ -bash$ touch a_file.txt
schaefer at tomcat:~ -bash$ ls -ld a_file.txt
-rw-r--r-- 1 schaefer stuff 0 Feb 15 08:04 a_file.txt
schaefer at tomcat:~ -bash$ echo blah >> a_file.txt
schaefer at tomcat:~ -bash$ chmod u-w,g+w a_file.txt
schaefer at tomcat:~ -bash$ ls -ld a_file.txt
-r--rw-r-- 1 schaefer stuff 5 Feb 15 08:04 a_file.txt
schaefer at tomcat:~ -bash$ echo blah >> a_file.txt
-bash: a_file.txt: Permission denied
-----Original Message-----
From: samba-bounces+tom=umsl.edu at lists.samba.org
[mailto:samba-bounces+tom=umsl.edu at lists.samba.org] On Behalf Of James
Sent: Wednesday, February 14, 2007 1:58 PM
To: samba at lists.samba.org
Subject: [Samba] Solaris 10 and "store dos attributes"
I'm having trouble with files being marked read-only in Windows because
the Solaris file owner does not have write-permissions on the file;
group-write is
allowed:
-r--rw---- 1 user group 32 Feb 13 14:19 testfile.txt
I thought that setting "store dos attributes = yes" for this share would
allow the "read only" setting to be stored in extended attributes, but
it doesn't seem to be working - does Solaris 10 support extended
attributes as needed by Samba?
I'm using Samba 3.0.24 on Solaris 10, configuration file or the share
below:
[TEST]
comment = server vartmp
path = /var/tmp
browseable = yes
public = yes
guest ok = yes
writable = yes
force create mode = 0664
force directory mode = 0775
map hidden = no
map system = no
map archive = no
ea support = yes
store dos attributes = yes
Thanks in advance -- James
--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/listinfo/samba
More information about the samba
mailing list