[Bug 186293] tar(1): Problems with tar on FreeBSD 10.0

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sat Oct 4 21:02:57 UTC 2014


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=186293

martin <palkovicm at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |palkovicm at gmail.com

--- Comment #5 from martin <palkovicm at gmail.com> ---
Hi, 

the same problem here, it seems that Solaris NFS server ignores "Mode" field of
"Set file attributes" command issued by FreeBSD 10 NFS client. The same command
issued by FreeBSD 8 NFS client was handled as expected including "Mode" field,
only difference is in access and modification time flags, FreeBSD 8 uses "set
to server time" flag, while FreeBSD 10 uses "set to client time" flag (see
request/response dumps below). 

I will be grateful for any advices or workarounds.

Martin.


FreeBSD 10 request:
NFS:  Proc = 2 (Set file attributes)
NFS:  File handle = [6837]
NFS:   D06911FA089EF0630A003400000000001D901C010A000400000000007BC91B01
NFS:    Mode = 0644
NFS:     Setuid = 0, Setgid = 0, Sticky = 0
NFS:     Owner's permissions = rw-
NFS:     Group's permissions = r--
NFS:     Other's permissions = r--
NFS:  User ID = (not set)
NFS:  Group ID = (not set)
NFS:  Size = (not set)
NFS:  Access time = 04-Oct-14 18:10:43.000000 GMT (set to client time)
NFS:  Modification time = 04-Oct-14 18:10:43.000000 GMT (set to client time)

Solaris 11 reply to FreeBSD 10 request:
NFS:  Proc = 2 (Set file attributes)
NFS:  Status = 0 (OK)
NFS:  Pre-operation attributes: 
NFS:    Size = 0 bytes
NFS:    Modification time      = 11-Jan-36 14:28:33.-574173475 GMT
NFS:    Attribute change time  = 04-Oct-14 18:10:43.524178180 GMT
NFS:  Post-operation attributes: 
NFS:    File type = 1 (Regular File)
NFS:    Mode = 00
NFS:     Setuid = 0, Setgid = 0, Sticky = 0
NFS:     Owner's permissions = ---
NFS:     Group's permissions = ---
NFS:     Other's permissions = ---
NFS:    Link count = 1, User ID = 0, Group ID = 0
NFS:    File size = 0, Used = 512
NFS:    Special: Major = 4294967295, Minor = 4294967295
NFS:    File system id = 1176821104663, File id = 52
NFS:    Last access time      = 04-Oct-14 18:10:43.000000000 GMT
NFS:    Modification time     = 04-Oct-14 18:10:43.000000000 GMT
NFS:    Attribute change time = 04-Oct-14 18:10:43.525300934 GMT

FreeBSD 8 request:
NFS:  Proc = 2 (Set file attributes)
NFS:  File handle = [D037]
NFS:   D06911FA089EF0630A00380000000000A9901C010A000400000000007BC91B01
NFS:    Mode = 0644
NFS:     Setuid = 0, Setgid = 0, Sticky = 0
NFS:     Owner's permissions = rw-
NFS:     Group's permissions = r--
NFS:     Other's permissions = r--
NFS:  User ID = (not set)
NFS:  Group ID = (not set)
NFS:  Size = (not set)
NFS:  Access time = (set to server time)
NFS:  Modification time = (set to server time)

Solaris 11 reply to FreeBSD 8 request:
NFS:  Proc = 2 (Set file attributes)
NFS:  Status = 0 (OK)
NFS:  Pre-operation attributes: 
NFS:    Size = 0 bytes
NFS:    Modification time      = 07-Feb-80 10:25:04.2130706433 GMT
NFS:    Attribute change time  = 04-Oct-14 18:22:26.916078703 GMT 
NFS:  Post-operation attributes: 
NFS:    File type = 1 (Regular File)
NFS:    Mode = 0644
NFS:     Setuid = 0, Setgid = 0, Sticky = 0
NFS:     Owner's permissions = rw-
NFS:     Group's permissions = r--
NFS:     Other's permissions = r--
NFS:    Link count = 1, User ID = 0, Group ID = 0
NFS:    File size = 0, Used = 512
NFS:    Special: Major = 4294967295, Minor = 4294967295
NFS:    File system id = 1176821104663, File id = 56
NFS:    Last access time      = 04-Oct-14 18:22:26.917191243 GMT
NFS:    Modification time     = 04-Oct-14 18:22:26.917191299 GMT
NFS:    Attribute change time = 04-Oct-14 18:22:26.917215996 GMT

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list