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. However, if I "force user" to be root, then I can re-set the archive bitno problem. So, I say to myself, if I set myself as the "admin user" for the share then the same should apply, i.e. the admin user should have root privalages on the share. However, this does not work. If it did, I would be sorted. Can anybody tell me why "force user" as root allows me to re-set the archive bit, but "admin user" does not. Below is a copy of the smb.conf file with the global and share settings. Thanks for your help, Andrew Butler. 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 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.
-----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-----
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@samba.org] Sent: 01 October 2003 15:34 To: Andrew Butler Cc: 'samba@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.
Reasonably Related Threads
- samba-3.0.10-1.4E (RHEL4); Invalid key XXX given to dptr_close
- Odd problem with updates to the recent CR
- Odd problem with updates to the recent CR
- Fwd: Samba semantics error?
- clang-format sets executable permission on windows (openNativeFile ignores mode on Windows)