10 More Discussions You Might Find Interesting
1. Solaris
Hi
I have following directory :
=> ls -ltr
total 0
drwxrwxr-x 2 wmdwhadm dba 8192 Apr 02 23:22 in-process/
=> id wmdwhadm
uid=210(wmdwhadm) gid=1(staff) groups=251(cogadmin)
My first question is although directory belong to dba group, then why "id wmdwhadm" command doesn't... (3 Replies)
Discussion started by: ankit_203
3 Replies
2. 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
3. Shell Programming and Scripting
My /tmp is set with the following permissions (777) and a 't' at the end.
My umask is set to 022.
When I create a directory under /tmp (tmp/xx) it gets created as 755
as expected.
Yet when I create a file within that directory (/tmp/xx/yy) the permissions
are not 755 they are 644.
... (1 Reply)
Discussion started by: BeefStu
1 Replies
4. Shell Programming and Scripting
I have a cron on a Linux server that isn't executing properly.
CRON (with specific info replaced):
MAILTO=emailaddress@server.com
*/2 * * * * python /data/site/cron.py
OUTPUT:
python: can't open file '/data/site/cron.py
': No such file or directoryAdditional info
- The python path is... (3 Replies)
Discussion started by: theHire
3 Replies
5. HP-UX
Hi,
I am a Unix Admin. I have to give the permissions to a user for creating new file in a directory in HP-Ux 11.11 system since he cannot able to create a new file in the directory.
Thanks in advance.
Mike (3 Replies)
Discussion started by: Mike1234
3 Replies
6. Shell Programming and Scripting
Hi,
I have a challenging task,in which i have to find the duplicate files by its name and size,then i need to take anyone of the file.Then i need to open the file and find for more than one pattern and count of that pattern.
Note:These are the samples of two files,but i can have more... (2 Replies)
Discussion started by: jerome Sukumar
2 Replies
7. UNIX for Dummies Questions & Answers
to prohibit 'others' from deleting files, what should we omit: write or execute?
thx (9 Replies)
Discussion started by: melanie_pfefer
9 Replies
8. UNIX for Dummies Questions & Answers
I saved a perl code in xemacs. I used an xterminal to execute it but unix said that I don't have permission. I saved the files in my home directory. How do I change the permission. This is hat unix said:
-ksh: ./names.pl: cannot execute (5 Replies)
Discussion started by: lnatz
5 Replies
9. UNIX for Dummies Questions & Answers
Can anyone help explain the "s" in the below permissions example. I was reading about the "sticky bit" (t) but I am a little confused.
On file "test"
wolf% chmod 4777 test
wolf% ls -l
total 4
drwx------ 2 john staff 512 Mar 19 21:34 nsmail
-rwsrwxrwx 1 john staff ... (2 Replies)
Discussion started by: finster
2 Replies
10. Shell Programming and Scripting
Can someone pleas tell me if there is something funny when it comes to unix permissions and PHP. When php creates a file in unix the owner is nobody...does this raise any issues, and if it does could someone please tell me a web site where I could read more about this. Thanks alot.
John (2 Replies)
Discussion started by: jmg5
2 Replies