10 More Discussions You Might Find Interesting
1. UNIX for Beginners Questions & Answers
How to create a new mount point with 600GB and add 350 GBexisting mount point
Best if there step that i can follow or execute before i mount or add diskspace IN AIX
Thanks (2 Replies)
Discussion started by: Thilagarajan
2 Replies
2. AIX
I have situation where my disk upon reboot, has its mount point as #
LOGICAL VOLUME: disk4vol VOLUME GROUP: disk4vg
LV IDENTIFIER: 00f609aa00004c0000000152414b786c.1 PERMISSION: read/write
VG STATE: active/complete LV STATE: closed/syncd
TYPE: jfs2 WRITE VERIFY: off
MAX LPs: 512 PP SIZE: 512... (1 Reply)
Discussion started by: mrmurdock
1 Replies
3. Shell Programming and Scripting
Hi, I am creating a ksh script to search for a string of text inside files within a directory tree. Some of these file are going to be read/execute only. I know to use chmod to change the permissions of the file, but I want to preserve the original permissions after writing to the file. How can I... (3 Replies)
Discussion started by: right_coaster
3 Replies
4. AIX
Deart All,
can any one help to do this,
i need to change mount point in AIX 6
/opt/OM should be /usr/lpp/OM, how do i do....
Please help me Urgent issue (2 Replies)
Discussion started by: gulamibrahim
2 Replies
5. Solaris
A colleague of mine showed me a neat little trick in Solaris (I would guess sol 10 but perhaps earlier versions too) that I'd not seen before and thought I'd share here in case it's new for someone else also.
As most of you know, Solaris has the annoying habit of producing error messages when... (6 Replies)
Discussion started by: Smiling Dragon
6 Replies
6. AIX
Hello, I have an AIX Oracle database server that I need to create a new filesystem/mount where I can create a new ORacle home to install 11g on. What are the needed steps to create this? There are mounts for Oracle 9i and 10g already. Thank you.
- David (7 Replies)
Discussion started by: dkranes
7 Replies
7. UNIX for Dummies Questions & Answers
Hi
I am accessing a file on nfs mounted device, after completing using of the file, i am tring to restore the access time and modification times of the file.
So i got the previous modified time of the file using stat() function and trying to set the date and time for the file, To set these... (6 Replies)
Discussion started by: deepthi.s
6 Replies
8. UNIX for Dummies Questions & Answers
Hello Folks, had a basic question mount point and renaming it.
on AIX 5.3 box, I have a filesystem
Filesystem GB blocks Free %Used Mounted on
/dev/issclv01 1.00 0.50 50% /issc/doc
Now instead of /issc/doc, i want to rename it to /issc
is it as... (2 Replies)
Discussion started by: karthikosu
2 Replies
9. UNIX for Dummies Questions & Answers
Hi All
I Know it is a really basic and stupid question perhaps...But I am going bonkers..
I have following valid paths in my unix system:
1. /opt/cdedev/informatica/InfSrv/app/bin
2. /vikas/cdedev/app
Both refer to the same physical location. So if I created one file 'test' in first... (3 Replies)
Discussion started by: Vikas Sood
3 Replies
10. UNIX for Dummies Questions & Answers
hi people,
I'm trying to create a mount point, but am having no sucess at all, with the following:
mount -F ufs /dev/dsk/diskname /newdirectory
but i keep getting - mount-point /newdirectory doesn't exist.
What am i doing wrong/missing?
Thanks
Rc (1 Reply)
Discussion started by: colesy
1 Replies
CHMOD(1) General Commands Manual CHMOD(1)
NAME
chmod - change access mode for files
SYNOPSIS
chmod [-R] mode file ...
OPTIONS
-R Change hierarchies recursively
EXAMPLES
chmod 755 file # Owner: rwx Group: r-x Others: r-x
chmod +x file1 file2
# Make file1 and file2 executable
chmod a-w file # Make file read only
chmod u+s file # Turn on SETUID for file
chmod -R o+w dir # Allow writing for all files in dir
DESCRIPTION
The given mode is applied to each file in the file list. If the -R flag is present, the files in a directory will be changed as well. The
mode can be either absolute or symbolic. Absolute modes are given as an octal number that represents the new file mode. The mode bits are
defined as follows:
4000 Set effective user id on execution to file's owner id
2000 Set effective group id on execution to file's group id
0400 file is readable by the owner of the file
0200 writeable by owner
0100 executable by owner
0070 same as above, for other users in the same group
0007 same as above, for all other users
Symbolic modes modify the current file mode in a specified way. The form is:
[who] op permissions { op permissions ...} {, [who] op ... }
The possibilities for who are u, g, o, and a, standing for user, group, other and all, respectively. If who is omitted, a is assumed, but
the current umask is used. The op can be +, -, or =; + turns on the given permissions, - turns them off; = sets the permissions exclu-
sively for the given who. For example g=x sets the group permissions to --x.
The possible permissions are r, w, x; which stand for read, write, and execute; s turns on the set effective user/group id bits. s only
makes sense with u and g; o+s is harmless.
SEE ALSO
ls(1), chmod(2).
CHMOD(1)