Sponsored Content
Operating Systems AIX Write once on NFS file system Post 302708729 by bakunin on Tuesday 2nd of October 2012 05:55:21 AM
Old 10-02-2012
Quote:
Originally Posted by Beginner123
Because our departments get the space for Free .
You are free to decide whatever you want, but be warned: this is a very, very, bad reason to base a decision on in all things technical.

Quote:
Could any one please suggest, how to make the (/xshare) file system an write once ,while owner group users of this share can read the contents. If I could solve that I can close this request.
There is definitely, positively no such thing: either one is allowed to write or not. If one is allowed to write he is permanently entitled to do so, if one is forbidden the non-entitlement is also permanent.

You could write a script which checks the directory in question and, if files are in it, mounts it read-only, otherwise it mounts read-write. Then put a cron job in place so that the directory gets unmounted/remounted once a day (or more often, whatever you deem feasible).

This will be as close as possible to "write once", but you will have to understand that your original requirement is not possible as such, any solution will be a better or worse compromise between what you want and what is possible.

I hope this helps.

bakunin
 

10 More Discussions You Might Find Interesting

1. Filesystems, Disks and Memory

Is it possible to re-export a exported NFS file system?

Hi... Is it possible to re-export a exported NFS file system? If no, Why? Let me know, if any further details are required about the question. Thanks in advance Adams:) (5 Replies)
Discussion started by: Adams Nave
5 Replies

2. AIX

Cannot access NFS file system

I create a NFS file system. I can read this system from client, however, I cannot write anything in this folder. Why? (1 Reply)
Discussion started by: rainbow_bean
1 Replies

3. Solaris

NFS write error on host : Stale NFS file handle

:confused:Hi all When i see in the /var/adm/messages, i saw the following error unix: NFS write error on host : Stale NFS file handle. unix: (file handle: 45ca415 3e7 a0000 2c7f6 3ebfc25f a0000 2 3e49) It is using sunOS 5.7. Is anybody know what is this error? Is is related to any network... (2 Replies)
Discussion started by: AirWalker83
2 Replies

4. AIX

How to export AIX File system NFS to Windows ?

Hello, Can someone please point to an easy document or steps how to export AIX file system /whatever to Windows O/S Basically Windows should see this filesystem / directory and should be able to write in this filesystem / directory Thanks (2 Replies)
Discussion started by: filosophizer
2 Replies

5. UNIX for Dummies Questions & Answers

How to check whether file system is local or NFS?

Hi, suppose I have file system path say /foo/bar/baz then how would I find out whether it is local file system or NFS? If it is NFS then I want to find out the host where file system is located. Thanks, Paresh (5 Replies)
Discussion started by: masaniparesh
5 Replies

6. SCO

file system not getting mounted in read write mode after system power failure

After System power get failed File system is not getting mounted in read- write mode (1 Reply)
Discussion started by: gtkpmbpl
1 Replies

7. AIX

For NIM: NFS file system problem

hello, i am trying to export a file system so that i can mount it on NIM server and make mksysb backup of the server on that fs. i get this message: mount: 1831-011 access denied for s_semdev:/dr_s_zeus/mksysb/dr_s_zeus mount: 1831-008 giving up on: s_semdev:/dr_s_zeus/mksysb/dr_s_zeus ... (5 Replies)
Discussion started by: omonoiatis9
5 Replies

8. AIX

NIM NFS file system cannot unmount

Hello, I have a script on my NIM Master that runs with crons and performs mksysb backups of all NIM Clients once a week. There is a problem with one of the clients as it stucks and never finishes the mksysb backups. I tried to unmount the NFS file system created by the NIM in order to perform... (5 Replies)
Discussion started by: omonoiatis9
5 Replies

9. Solaris

NFS - concurrent write to same file normal ?

Hi all, Sorry if I sound like a novice , I have always thought that for network file system which can be shared, there will be some access restriction in which when user A is writing/editing fileA, user B is able to view the same fileA but cannot write/edit it until user A has... (6 Replies)
Discussion started by: javanoob
6 Replies

10. Solaris

NFS write error on host xyz: Stale NFS file handle - Solaris 10

Oct 13 12:19:15 xyz nfs: NFS write error on host xyz: Stale NFS file handle. Oct 13 12:19:15 xyz nfs: (file handle: 68000000 1bc5492e 20000000 377c5e 1ce9395c 720a6203 40000000 bdfb0400) Oct 13 12:19:15 xyz nfs: NFS write error on host zyz: Stale NFS file handle. Oct 13 12:19:15 xyz nfs: ... (5 Replies)
Discussion started by: psychocandy
5 Replies
CHMOD(1)						      General Commands Manual							  CHMOD(1)

NAME
chmod - change mode SYNOPSIS
chmod mode file ... DESCRIPTION
The mode of each named file is changed according to mode, which may be an octal number or a symbolic change to the existing mode. A mode is an octal number constructed from the OR of the following modes. 0400 read by owner 0200 write by owner 0100 execute (search in directory) by owner 0070 read, write, execute (search) by group 0007 read, write, execute (search) by others A symbolic mode has the form: [who] op permission The who part is a combination of the letters u (for user's permissions), g (group) and o (other). The letter a stands for ugo. If who is omitted, the default is a. Op can be + to add permission to the file's mode, - to take away permission, and = to assign permission absolutely (all other bits will be reset). Permission is any combination of the letters r (read), w (write), x (execute), a (append only), and l (exclusive access). Only the owner of a file or the group leader of its group may change the file's mode. SOURCE
/sys/src/cmd/chmod.c SEE ALSO
ls(1), stat(2), stat(5) CHMOD(1)
All times are GMT -4. The time now is 06:43 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy