10 More Discussions You Might Find Interesting
Could you please tell me the OS command to grant as similar to below permission?
OS -- HP-UX
Maddy (8 Replies)
Discussion started by: Maddy123
2. Shell Programming and Scripting
I want to check access rights permissions not for 'user', not for 'group', but for 'others'.
I want to do it by system command in which i want to use 'ls -l' and 'awk' command.
I have written the following program :
system ("ls -l | awk... (1 Reply)
Discussion started by: shubhamsachdeva
3. Shell Programming and Scripting
I am writing some shell script to check the file owner permission whether the write bit is turn on. If it is turn on it will copy the file to the destination else it will just prompt user to change the file and skipping it.
However, I am starting getting loss here as I have couple of... (2 Replies)
Discussion started by: wanaka
4. Shell Programming and Scripting
I have requirement to get a file from a remote location using SFTP only if the file has read/write permission either to the user or to the group.
Currently i m taking the ls of the required file and storing it in a flat file to check the file permission.
Please advice is there any... (3 Replies)
Discussion started by: ravin
5. UNIX for Advanced & Expert Users
(1) I would like to know any unix/Linux command to check EOF char in a file.
(2) Or Any way I can check a file has been reached completely at machine B from machine A. Note that machine A ftp/scp the file to machine B at unknown time. (5 Replies)
Discussion started by: alexalex1
6. Shell Programming and Scripting
What is the command to check the user's permission in UNIX ?
e.g: user in UNIX is "myuser"
The result should be number format. e.g: 755, 644, etc...
Thanks.. :) (3 Replies)
Discussion started by: suigion
i need some help/advice on how to solve a particular problem.
these are the users:
|name | group |
|boss | department1 |
|assistant | department1 |
|employee | department1 |
|spy | department2 |
this is the... (0 Replies)
Discussion started by: elzalem
8. Shell Programming and Scripting
I am doing a transfer of a file from one HP-UX ( umask : 033 ) server to another HP-UX server ( umask : 033 ) and file got transferred sucessfully. However I could see the file permission gets changed at the receiving end. Would like to know the reason for that?
... (3 Replies)
Discussion started by: jansat
9. UNIX for Dummies Questions & Answers
When I listed one directory in Sun, it showed that :
-rwsr-xr-x 1 root bsmbin 78004 Oct 21 2004 bsmprsm
I don't know meaning of the character "s" in "rws" above. I have searched in Sun admin documents but no result. Would you please explain it ? :)
Thank you so much. (1 Reply)
Discussion started by: msg098
10. UNIX for Dummies Questions & Answers
I wish to seach a Dir for a specific file, once the file is found i will perform additional logic. If the file is not found within two hours, i would like to exit.
Logically, I'm looking for the best way to approach this
Thanks for any assistance in advance.
Note: I'm using a C shell and... (2 Replies)
Discussion started by: mmarsh