[X Servers] smb.conf configuration Q's
Dalton Hamilton
dalton_hamilton at mac.com
Thu Apr 8 08:24:07 PDT 2004
If I understand what you're trying to do, I think you want "create
permissions" specified in the inidividual shares and "inherent
permissions" in the global. Here is a smb.conf that will force the
permission on each file created such that the permissions will be the
same permissions as the parent directory. The in the example below is
called [ashare] located in a directory /shares/ashare.
[global]
client code page = 437
coding system = utf8
guest account = unknown
encrypt passwords = YES
local master = YES
max smbd processes = 0
print command = /usr/sbin/PrintServiceAccess printps %p %s
lpq command = /usr/sbin/PrintServiceAccess jobs %p
lprm command = /usr/sbin/PrintServiceAccess remove %p %j
lppause command = /usr/sbin/PrintServiceAccess hold %p %j
lpresume command = /usr/sbin/PrintServiceAccess release %p %j
printer admin = unknown, @staff
server string = Mac OS X Server
log file = /Library/Logs/WindowsServices/WindowsFileService.log
netbios name = osx
workgroup = YOUR_WORKGROUP
wins support = YES
domain master = YES
inherit permissions = YES
log level = 0
[ashare]
path = /shares/ashare
public = NO
create mask = 0644
directory mask = 0755
read only = NO
comment = macosx
On Apr 8, 2004, at 7:16 AM, Christopher Jensen wrote:
> i have a G5 tower that is being used for a fileserver for 3 people as
> well as a light-use desktop machine. the fileserver clients are a mix
> of Windows XP Pro and OS 10.3 users. my issue is with the "create
> mode" in the [global] section of smb.conf. the man pages and all the
> reference i could find says that if you specify "create mode = 0777"
> in the global you can facilitate everyone saving files to the share
> with full access, which is what i want as default, with particular
> shares' create mode being overwritten in later share sections of the
> .conf file.
>
> the problem is, the files are being written 0700, and i can't seem to
> change that. can someone give me a copy of the default smb.conf file
> with just the modifications necessary to allow 0777 permissions as a
> default setting?
>
> thanks in advance!
> chris
> ---------------------------------
> Chris Jensen
> Vis Dynamics, Inc.
> e: chris at visdynamics.com
> p: 616.456.6566x28
>
>
> ----------
> Check out the Mac OS X email list FAQ
> http://www.themacintoshguy.com/lists/X.html
>
> To unsubscribe, E-mail to: <X-Servers-off at lists.themacintoshguy.com>
> To switch to the DIGEST mode, E-mail to
> <X-Servers-digest at lists.themacintoshguy.com>
> Need help from a real person? Try.
> <X-Servers-request at lists.themacintoshguy.com>
>
> ----------
> $14.99 Unlimited Nationwide Mac Dialup and Mac Web Hosting from your
> Mac ISP Serious Mac Internet Solutions From NineWire!
> http://macinternetaccess.com
>
> DVIator | Run Dual ADC displays on your G4 or just one on an older
> Mac! Dr. Bott | <http://www.drbott.com/prod/DVIator.html>
>
> Support | Support this list by clicking here before you buy!
> this List | http://www.themacintoshguy.com/support.html
More information about the X-Servers
mailing list