You will have to setup and run some process as the root user- a root crontab entry to find & chmod the files, that runs every X minutes, M-F will work
You may have to get the sysadmin to set this up.
---------- Post updated at 08:00 ---------- Previous update was at 07:57 ----------
Note: you do realize the rwxr--r-- means anybody can copy the file and chmod it themselves, then execute it? As in you can write a shell script to do this.
Dear Expert,
Is there a command to do that in Unix?
In such a way that we don't need to actually "write" or
modified the content.
-- monkfan (4 Replies)
hello,
I would like to grant full access to a directory which is owned by root and the web application that created it. I have though of adding the permission to the whole world, but for security reason I would like to grant it to one more user.
I have tried this 'chmod -U newUser+wrx... (2 Replies)
I have files as below:
erf100.sh
erf101.sh
erf102.sh
erf103.sh
erf104.sh
erf105.sh
I can easily change permission of all files to 755 by issuing command below:
chmod 755 erf*.sh;
how do i change permission of all files but excluding file erf102.sh?
thanks
best regards (2 Replies)
I have a directory named DIR. The contents of the directory is something like:
a.sh
b.sh
cghsk.sh
assjsjkd
gdshddll
DFG/
...
...
Where only DFG/ is a folder.
I want to grant execute permission to all(a+x), for all the files directly under the DIR directory except the files that... (4 Replies)
Hi Expert,
Need your scripting and finding data so that it help me to find the culprit of this memory usage error.
Data provided here is a sample.
Process Snapshot directory: /var/spool/processes-snapshot
webdev9o9% pwd
/var/spool/processes-snapshot
webdev9o9% ls -lrct
-rw-r--r-- ... (3 Replies)
i have a directory which consist of multiple files out of which there are some files that has -e in their name.
I want to write a script that will change all those file-name to -l
example there are some files with name :
file1-e.wav
file2-e.wav
file3-english-e.wav
file-4-e.wav
... (3 Replies)
Hi,
Any ideas to set multiple ownership permission on a file/directory on Solaris? I need a folder to have multiple ownership on the 2 nodes servers. The 2 nodes servers require to mount a SMBFS with different user ID. Please assist. Thanks. (6 Replies)