11-12-2012
Script to Change Permission on a directory after every hour
I want to change the permission of a dir to 777 after every hour in a background process.I do not have the access to the crontab , is there another way of doing it a scrit of some thing like that . Any help will be great.
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I would like to have a script that would change my current working directory. However, any time I execute a 'cd' command in a script, it holds only for the life of that script -- the working directory on exit is the same as when the script was initiated. Is it possible to have the script return... (3 Replies)
Discussion started by: George Borrmann
3 Replies
2. Shell Programming and Scripting
:confused:
Hi All,
This script is not working. I want to change the directory as per users selection in current shell. Looks like it is spawning sub-shell internally.
I have used
. changedir.sh
source changedir.sh
./changedire.sh
But did not work. Currently shell directory remain the... (4 Replies)
Discussion started by: shiningram
4 Replies
3. Shell Programming and Scripting
How do u change ur directory using a shell script?? (0 Replies)
Discussion started by: laxmi
0 Replies
4. Linux
How do u change ur directory using a shell script?? (12 Replies)
Discussion started by: laxmi
12 Replies
5. Solaris
I am using oracle 9i with sun solaris 8 on Sun E 250 server.earlier we are taking backup of oracle archive files on /orabackup directory.in which archive file are stored with ...arc.Z extension. now we have changed the archive backup directory.now when we are trying to delete earlier directory... (3 Replies)
Discussion started by: mahanalok
3 Replies
6. Shell Programming and Scripting
Hi,
I am trying to change the directory in my script, & want to check if the directory is present or not .
Ex:
cd /home/xyz/temp/logs
if the logs directory is not present i want to show the error in script instead of shell script error.
Can anybody please help me on the same
Thx in... (2 Replies)
Discussion started by: vls1210
2 Replies
7. Shell Programming and Scripting
HI,
I need to change the working directory by using the shell script
/Export/home/user_name
I have to go one step back like
/Export/home
Please help on this.:confused: (3 Replies)
Discussion started by: thelakbe
3 Replies
8. UNIX for Dummies Questions & Answers
Hi,
How do i change the permission to read/write to a windows directory? (1 Reply)
Discussion started by: lg123
1 Replies
9. Linux
unable to chnage the ownership as group does not exist
ls -ltr
drwxr-xr-x 2 1520291 remote 1024 Sep 25 2014 img
root@servername#chown content:remote img
chown: img: Not owner (1 Reply)
Discussion started by: raghur77
1 Replies
10. Shell Programming and Scripting
Hello,
I am looking for a UNIX shell script which can help me for access restriction.
1) /home/ram, there are number file with .txt extension, which should be only owned "ram" user.
like as below
ls -lrt *.txt
-rwx------ 1 ram dba 11 Jan 4 2015 PASS1.txt
-rwx------ 1 ram dba 10 Jan 4... (8 Replies)
Discussion started by: mr.trilok
8 Replies