LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 05-12-2013, 01:01 PM   #1
Muneerulla
LQ Newbie
 
Registered: Mar 2013
Posts: 1

Rep: Reputation: Disabled
NFS - File Sharing


Is it possible to restrict few files from sharing from a folder which is shared using NFS. If yes, How?
 
Old 05-12-2013, 01:40 PM   #2
jlinkels
LQ Guru
 
Registered: Oct 2003
Location: Bonaire, Leeuwarden
Distribution: Debian /Jessie/Stretch/Sid, Linux Mint DE
Posts: 5,195

Rep: Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043
For some files, not a specific branch of the directory tree, you would have to apply the proper permissions to the files.

Basically, with NFS you have built one single file system and every user with the correct UID (numeric UID that is)) is able to access those files or not. Like the files were on his own computer.

So, in the same way as you would restrict file access on the local computer, you'd have to do this on remote computers.

There is no way that you can make a difference between local files and shared files, or access over NFS.

That is, using regular permissions. I am fully unfamiliar with ACL or Access Control Lists. You might want to check on that.

jlinkels
 
  


Reply



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
File sharing (NFS) - how ? moljac024 Linux - Networking 4 11-24-2007 05:57 PM
File Sharing Through NFS stfusonxxxx Linux - Newbie 7 11-08-2007 08:34 AM
File sharing on a network NFS linux_blnk182 Linux - Networking 2 01-05-2005 06:29 PM
File Sharing: NFS or SMB? scorpatron Linux - Networking 6 11-10-2003 12:44 AM
File Sharing with NFS graystarr Linux - Networking 1 01-14-2002 02:28 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:11 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