10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Guys, need your help urgently.
ServerA
ServerB
ServerA has an email facility and can connect remotely via root using key to ServerB
What I am trying to achieve here is ServerA would be able to remotely:
1. Do command 'touch /mnt/testfile.date' on ServerB
2. If touch failed with... (4 Replies)
Discussion started by: jaapar
4 Replies
2. Shell Programming and Scripting
hello,
I have a question regarding the below script.. I just simply trying to write to a file in directory that does not have write permissions but this is failing .. it still writes to it regardless ..
Many thanks in advance..
#!/bin/bash
#check if dir exists, if so write to it
... (5 Replies)
Discussion started by: Reb0rn
5 Replies
3. Ubuntu
Hi Team,
I want to set permissions to one folder in such a way that the user can write files or create folder inside that but should not able to delete it.
Basically reason behind this is i am using Pidgin Messenger. There is a directory of logs in which, when user chat its store his logs.... (2 Replies)
Discussion started by: paragnehete
2 Replies
4. Red Hat
Hi,
Need to compare two folders / File systems permissions & time stamps including sub folders and files.
Kindly let me know if any commands available.
Regards :: VM (1 Reply)
Discussion started by: novaothers
1 Replies
5. Shell Programming and Scripting
Hi Experts,
I want to write a script, based upon the following requirement
1) I am having 5 application
$ cd logs
$ ls -l
drwxr-xr-x 2 natraj nat 5.0K Sep 20 10:25 one
drwxr-xr-x 2 natraj nat 5.0K Sep 20 10:39 two
drwxr-xr-x 2 natraj nat 1.5K Sep 20 10:58... (4 Replies)
Discussion started by: natraj005
4 Replies
6. Shell Programming and Scripting
I am using the below command to delete files from directories and subdirectories
find /test/abc/xyx -type f -mtime +7 -exec rm -f {} \;
there are some subfolders in xyx for which i don't have permission to delete.
Is there a way i can check the permission of the folder first and then delete... (4 Replies)
Discussion started by: ch33ry
4 Replies
7. Shell Programming and Scripting
hi ..
i have a problem how to search file with date and version number(ms_2.0_dd/mm/yy_24)in folder.Here 24 is version number and compare the this file to other file which is in another folder and if does not match then copy this file to respective folder.Also copy different files in different... (1 Reply)
Discussion started by: shubhig15
1 Replies
8. Shell Programming and Scripting
Hi,
I wanted to know how to create a folder using mkdir and then have it copy the permissions from another specified folder on the system.
For example if I did this:
mkdir /Volumes/USBSTICK/System
How can I make it copy the permissions from the /System folder ?
Thanks (4 Replies)
Discussion started by: pcwiz
4 Replies
9. Shell Programming and Scripting
Hi expert,
I would like to know how to generate file and folder ( including nested subfolder and files) permissions under oracle directory ? (8 Replies)
Discussion started by: skully
8 Replies
10. Windows & DOS: Issues & Discussions
I work for a big company and all the people within my unit share a common drive to save documents to. I am listed in the group(AMS group) that has access rights to folders within this drive. but i'm trying to restrict access to a confidential folder so that only I can access it.
when I set the... (0 Replies)
Discussion started by: shed
0 Replies