[Samba] Re-setting the Archive Bit
Andrew Butler
ButlerAndrew at cel.ie
Thu Oct 2 09:27:42 GMT 2003
Jerry,
Thanks for this. It almost worked......
So now I can modify the archive bit manually using the Windows Properties
tab. I thought this was it but when I edited and saved the same file, the
archive bit did not switch on........ It does switch on if I modify and save
the file if I am the owner or "force user" to be root......... "admin users"
still does not make a difference.
The answers are never that simple! Any more ideas?
Andrew.
[global]
workgroup = CEL
netbios name = CELLINUX01
server string = Samba 2.2.7a on Red Hat Linux 8.0
security = DOMAIN
encrypt passwords = Yes
password server = *
wins server = 192.0.2.11
winbind uid = 5000-6000
winbind gid = 5000-6000
template homedir = /home/%U
winbind separator = +
winbind use default domain = Yes
guest account =
create mask = 0770
force create mode = 0770
directory mask = 0770
force directory mode = 0770
[IT]
path = /usr/shares/IT
admin users = butlerandrew
force group = 5003
read only = No
inherit permissions = Yes
inherit acls = Yes
dos filemode = Yes
dos filetimes = Yes
dos filetime resolution = Yes
-----Original Message-----
From: Gerald (Jerry) Carter [mailto:jerry at samba.org]
Sent: 01 October 2003 15:34
To: Andrew Butler
Cc: 'samba at lists.samba.org'
Subject: Re: [Samba] Re-setting the Archive Bit
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Andrew Butler wrote:
| Hello,
|
| I am using Brighstor to backup my Linux machines using shares at the
moment
| as I cannot get the agents to work (neither can CA). This would work
fine if
| the Backup program could re-set the archive bit (Linux file owner execute
| setting). The problem is that, when accessing the share from a Windows
| machine, I cannot re-set the archive bit under any combination of
| permissions, unless the client that is logged onto the share is also the
| owner of the file.
Try 'dos filemodes = yes'
cheers, jerry
~ ----------------------------------------------------------------------
~ Hewlett-Packard ------------------------- http://www.hp.com
~ SAMBA Team ---------------------- http://www.samba.org
~ GnuPG Key ---- http://www.plainjoe.org/gpg_public.asc
~ "You can never go home again, Oatman, but I guess you can shop there."
~ --John Cusack - "Grosse Point Blank" (1997)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQE/euXLIR7qMdg1EfYRAoTjAJ0ZS6M+r5sh2FjXDc4hZTCGCRJIHgCgiFeP
JUXQ4em+j/ibFB9gnPjwCNQ=
=HdvG
-----END PGP SIGNATURE-----
Legal Disclaimer: Any views expressed by the sender of this message are
not necessarily those of Connaught Electronics Ltd. Information in this
e-mail may be confidential and is for the use of the intended recipient
only, no mistake in transmission is intended to waive or compromise such
privilege. Please advise the sender if you receive this e-mail by mistake.
More information about the samba
mailing list