LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 04-28-2014, 05:53 AM   #1
Mario Blunk
Member
 
Registered: Dec 2008
Location: Wild Eastern Germany
Distribution: OpenSuse Tumbleweed
Posts: 131

Rep: Reputation: 21
NFS file access options


Hi friends,

I have a NFS server running with two clients connected. Inside the exported directory a strange thing happens:

1. Client A creates a directory X with permissions 775. Client A also creates a file F in directory X with permission 644. Everything fine.

2. Client B can delete file F despite it is owned by client A. Client B does have only read access to file F. I expect file F to be deleteable by client A only.

What's wrong ?

Thanks.
 
Old 04-28-2014, 06:08 AM   #2
linosaurusroot
Member
 
Registered: Oct 2012
Distribution: OpenSuSE,RHEL,Fedora,OpenBSD
Posts: 982
Blog Entries: 2

Rep: Reputation: 244Reputation: 244Reputation: 244
File permissions arrange for your file to be deleted depending on the USER and GROUP details in the deletion attempt - not the NFS client they come from.

Now you could do a "read-mostly" export that makes your volume readable by both clients but writable by only one. I'm unsure whether that's what you want.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Locking access to file system when NFS is being used ujejski1 Linux - Server 1 12-06-2011 09:16 AM
What are the NFS options hk_centos Linux - Newbie 1 06-17-2011 03:55 AM
ls: cannot access /etc/resolv.conf: stale nfs file handle - but i'm not using nfs schneidz Linux - General 4 10-02-2009 03:39 PM
Options in NFS ?? your_shadow03 Linux - Newbie 1 01-13-2009 06:16 AM
access collision with shared file system NFS cy163 Linux - Newbie 3 06-02-2008 10:39 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 08:56 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration