* NFS file permission
@ 1999-08-21 4:00 Matthew Tan
1999-08-21 4:00 ` Ken Pizzini
0 siblings, 1 reply; 4+ messages in thread
From: Matthew Tan @ 1999-08-21 4:00 UTC (permalink / raw)
Currently, I have set up NFS on two servers. One is the server while the
other is the client.
When I copy the files that are mounted through NFS on the client to a
different file system on the same client, I found that the owners and groups
permission have change to root and system.
Is there any way to preserve the files permission of the owners and groups ?
Below are my configurations :
Client fstab file :
client:/data/tape4c4 /usr/tape4c4 nfs rw,intr 0 0
Server exports file :
/data/tape4c4 -root=0
Thanks in advance !
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: NFS file permission
1999-08-21 4:00 NFS file permission Matthew Tan
@ 1999-08-21 4:00 ` Ken Pizzini
1999-08-23 4:00 ` Matthew Tan
0 siblings, 1 reply; 4+ messages in thread
From: Ken Pizzini @ 1999-08-21 4:00 UTC (permalink / raw)
On Sat, 21 Aug 1999 13:22:21 +0800, Matthew Tan <tankc@singnet.com.sg> wrote:
>When I copy the files that are mounted through NFS on the client to a
>different file system on the same client, I found that the owners and groups
>permission have change to root and system.
>
>Is there any way to preserve the files permission of the owners and groups ?
Use the "-p" option of cp when doing the copy?
--Ken Pizzini
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: NFS file permission
1999-08-21 4:00 ` Ken Pizzini
@ 1999-08-23 4:00 ` Matthew Tan
1999-08-23 4:00 ` Barry Margolin
0 siblings, 1 reply; 4+ messages in thread
From: Matthew Tan @ 1999-08-23 4:00 UTC (permalink / raw)
Thanks, solved my problem.
Ken Pizzini wrote in message ...
>On Sat, 21 Aug 1999 13:22:21 +0800, Matthew Tan <tankc@singnet.com.sg>
wrote:
>>When I copy the files that are mounted through NFS on the client to a
>>different file system on the same client, I found that the owners and
groups
>>permission have change to root and system.
>>
>>Is there any way to preserve the files permission of the owners and groups
?
>
>Use the "-p" option of cp when doing the copy?
>
> --Ken Pizzini
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: NFS file permission
1999-08-23 4:00 ` Matthew Tan
@ 1999-08-23 4:00 ` Barry Margolin
0 siblings, 0 replies; 4+ messages in thread
From: Barry Margolin @ 1999-08-23 4:00 UTC (permalink / raw)
In article <7pq7tg$gd7$1@violet.singnet.com.sg>,
Matthew Tan <tankc@singnet.com.sg> wrote:
>Thanks, solved my problem.
It should be noted that this has absolutely no relationship to NFS. The
same thing would have happened if you were copying local files.
>Ken Pizzini wrote in message ...
>>On Sat, 21 Aug 1999 13:22:21 +0800, Matthew Tan <tankc@singnet.com.sg>
>wrote:
>>>When I copy the files that are mounted through NFS on the client to a
>>>different file system on the same client, I found that the owners and
>groups
>>>permission have change to root and system.
>>>
>>>Is there any way to preserve the files permission of the owners and groups
>?
>>
>>Use the "-p" option of cp when doing the copy?
--
Barry Margolin, barmar@bbnplanet.com
GTE Internetworking, Powered by BBN, Burlington, MA
*** DON'T SEND TECHNICAL QUESTIONS DIRECTLY TO ME, post them to newsgroups.
Please DON'T copy followups to me -- I'll assume it wasn't posted to the group.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~1999-08-23 4:00 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-08-21 4:00 NFS file permission Matthew Tan
1999-08-21 4:00 ` Ken Pizzini
1999-08-23 4:00 ` Matthew Tan
1999-08-23 4:00 ` Barry Margolin
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox