10-19-2001
Thanks
When I touch a file the permission which is assigned is 644 by deffault and I am looking to a way that the created file has the 754 as my own default independent of the xterm window or without using umask or chmod. By the way I am using Solaris 8.
Is it possible?
Cheers
Reza
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi,
I need to find out when a file has been created. 'ls -l' just lists the last date the file was modified. I have also noticed when viewing the attributes through NT, the last modified date is the same as the file creation date. I thought maybe this was a fault due to samba.
I guess what... (1 Reply)
Discussion started by: dpalmer
1 Replies
2. UNIX for Dummies Questions & Answers
Hello,
my linux box is, for some reason, creating two files when I creat one. For example, if I create a file via the VI editor called TestFile, the box will create:
TestFile
TestFile~
Does anyone have any ideas as to why I'm getting that second file with the ~ at the end of it?
... (1 Reply)
Discussion started by: Atama
1 Replies
3. UNIX for Dummies Questions & Answers
How to find the date of account creation ? I need some information regarding the users accounts.I have to find out the date on which the accounts were created. (1 Reply)
Discussion started by: nikhil_bedare
1 Replies
4. UNIX for Dummies Questions & Answers
Hi All,
How to we get to know when say a new log file is created on an Unix box.
I need to trigger a process(say a script) when the new log file is created.
But i need to know by some means or generate a trigger when a new file is created????
Something like when we receive a new mail we... (1 Reply)
Discussion started by: aixjadoo
1 Replies
5. UNIX for Dummies Questions & Answers
I have created a new user account on my openssh system.But the .ssh directory was not created under my home dir home/A00d56/. Could any one please suggest me whether the .ssh directory will be created automatically when we add the new user or we need to create that after?
The use of this new... (3 Replies)
Discussion started by: srrao.ch
3 Replies
6. UNIX for Dummies Questions & Answers
I am using RHEL.
I wan to know the creation time of one user?
which command? (4 Replies)
Discussion started by: cqlouis
4 Replies
7. UNIX for Dummies Questions & Answers
Hi!Can somebody tell me what command can I use to find who created a file,please? (6 Replies)
Discussion started by: teotrask
6 Replies
8. Programming
I am trying to use the split provided by boost.
I have a string and want to split on "/".
string value = "trig/4";
Have no idea how to compile and link it. I have extracted boost in
/chrisd/tomso-12.04/source/library/boost_1_52_0 In my program /raytrac.cc I have put
... (5 Replies)
Discussion started by: kristinu
5 Replies
9. Shell Programming and Scripting
hi,
i have a script wrriten where there is a temporary files getting created:
echo "From:" ${usrname}@apps.mc.xerox.com>mail_txt
it was working from a long time but now there is a error creating while creating this temporary file. here is the error log for this:... (15 Replies)
Discussion started by: lovelysethii
15 Replies
MKDIR(1) BSD General Commands Manual MKDIR(1)
NAME
mkdir -- make directories
SYNOPSIS
mkdir [-p] [-m mode] directory_name ...
DESCRIPTION
mkdir creates the directories named as operands, in the order specified, using mode rwxrwxrwx (0777) as modified by the current umask(2).
The options are as follows:
-m Set the file permission bits of the final created directory to the specified mode. The mode argument can be in any of the formats
specified to the chmod(1) utility. If a symbolic mode is specified, the operation characters ``+'' and ``-'' are interpreted rela-
tive to an initial mode of ``a=rwx''.
-p Create intermediate directories as required. If this option is not specified, the full path prefix of each operand must already
exist. Intermediate directories are created with permission bits of rwxrwxrwx (0777) as modified by the current umask, plus write
and search permission for the owner. Do not consider it an error if the argument directory already exists.
The user must have write permission in the parent directory.
EXIT STATUS
mkdir exits 0 if successful, and >0 if an error occurred.
SEE ALSO
chmod(1), rmdir(1), mkdir(2), umask(2)
STANDARDS
The mkdir utility is expected to be IEEE Std 1003.2 (``POSIX.2'') compatible.
BSD
January 25, 1994 BSD