The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Special Forums > Filesystems, Disks and Memory
Google UNIX.COM


Filesystems, Disks and Memory Questions involving NAS, SAN, RAID, Robotic Libraries, backups, etc go here.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Is it possible to re-export a exported NFS file system? Adams Nave Filesystems, Disks and Memory 5 03-14-2008 09:40 PM
Newly created files default group and write permissions goldfish UNIX for Dummies Questions & Answers 2 02-20-2008 02:39 PM
nfs export permissions psimoes79 HP-UX 1 10-13-2007 01:12 AM
Write system variables into file jorge.ferreira Shell Programming and Scripting 3 10-28-2003 06:17 AM
/: write failed, file system full lancest UNIX for Dummies Questions & Answers 1 08-09-2002 09:56 PM

Reply
 
Submit Tools LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 05-16-2008
Registered User
 

Join Date: May 2008
Posts: 10
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit! Stumble this Post!Spurl this Post!
Export a file system with write permissions

Hi,

Is there a way we can export a file system with write permissions for only one user.

For eg. we have many users on the network, but only user2 should have write permissions on the exported file system and for others it should be read-only.
Reply With Quote
Forum Sponsor
  #2 (permalink)  
Old 05-16-2008
sysgate's Avatar
Unix based
 

Join Date: Nov 2006
Location: /root
Posts: 1,079
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit! Stumble this Post!Spurl this Post!
On AIX and *BSD is possible, let's say :
Quote:
/tmp/test1 - allowing user1,(rw), insecure
/tmp/test1 - allowing user2,(r), secure --no-acl
These are just examples I have found in the net.
Reply With Quote
  #3 (permalink)  
Old 05-19-2008
Registered User
 

Join Date: May 2008
Posts: 10
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit! Stumble this Post!Spurl this Post!
Quote:
Originally Posted by sysgate View Post
On AIX and *BSD is possible, let's say :

These are just examples I have found in the net.

I'm getting invalid options error.
Please point me to the source, so that I can read and continue.

thanks.
Reply With Quote
  #4 (permalink)  
Old 05-20-2008
sysgate's Avatar
Unix based
 

Join Date: Nov 2006
Location: /root
Posts: 1,079
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit! Stumble this Post!Spurl this Post!
Here are two links I've found - No1 and No2; Actually, the thing that you want may not be possible at all, regardless of the OS type, I didn't find absolute proof that this will work on AIX either. Sorry if I misled you.
Reply With Quote
  #5 (permalink)  
Old 05-21-2008
Registered User
 

Join Date: May 2008
Posts: 10
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit! Stumble this Post!Spurl this Post!
Quote:
Originally Posted by sysgate View Post
Here are two links I've found - No1 and No2; Actually, the thing that you want may not be possible at all, regardless of the OS type, I didn't find absolute proof that this will work on AIX either. Sorry if I misled you.
Seems like it.
Anyway, thanks for the effort
Reply With Quote
  #6 (permalink)  
Old 05-22-2008
Registered User
 

Join Date: May 2008
Location: s'pore
Posts: 338
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit! Stumble this Post!Spurl this Post!
will this theory be applicable for ZFS?
Reply With Quote
  #7 (permalink)  
Old 05-26-2008
sysgate's Avatar
Unix based
 

Join Date: Nov 2006
Location: /root
Posts: 1,079
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit! Stumble this Post!Spurl this Post!
I'm not sure, it may depend on the certain OS implementation, for example FreeBSD has added experimental support for ZFS, you have to check the manuals.
Reply With Quote
  #8 (permalink)  
Old 05-27-2008
Registered User
 

Join Date: Feb 2008
Location: The Netherlands
Posts: 38
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit! Stumble this Post!Spurl this Post!
I don't think ZFS will do anything for you, the permissions are handled by NFS.
In the manpage exports, there is a section (looking at the linux manpage) about user id mapping. When you have the same userid's on both hosts. The permissions are inherited from the server to the client (that is at least possible, may differ on different OS-es)
So when you have the permissions right on the server (user2 rw, rest ro) you will have the same rights on the client.
Reply With Quote
Google UNIX.COM
Reply

Tags
linux

Thread Tools
Display Modes


The 50 most popular UNIX and Linux searches.
Google Search Cloud for The UNIX and Linux Forums
"inappropriate ioctl for device" 421 service not available, remote server has closed connection ^m automate ftp autosys awk trim bash eval bash exec bash for loop command copy/move folder in unix couldn't set locale correctly curses.h cut command in unix export command in unix find grep find mtime find null character in a unix file grep multiple lines grep or grep recursive hp-ux ifconfig inaddr_any inappropriate ioctl for device lynx javascript mailx attachment mget mtime ping port remove first character from string in k shell replace space by comma , perl script scp recursive segmentation fault(coredump) sftp script snoop unix stale nfs file handle syn_sent tar exclude tar extract to folder test: argument expected unix unix .profile unix forum unix forums unix interview questions unix simulator unix.com vi select all vi substitute vi+substitute+end+of+line+character while loop within while loop shell script


All times are GMT -7. The time now is 04:45 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008 The CEP Blog All Rights Reserved -Ad Management by RedTyger Visit The Global Fact Book

Content Relevant URLs by vBSEO 3.2.0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101