I have a problem at work...I hope one of you out there will be able to help me. Much appreciated for you help (in advance)
Here is my problem. We use samba and the program which generate these files is lotus notes and it dumps the output in /dos/mlmerge (which is on AIX-F80). For example,
This is the permission on the shared directory with windows;
drwxrwsrwx 3 psd pronto 8704 May 14 06:03 mlmerge
Here are the permission on the files which I want to change;
-rw-r--r-- 1 rgray pronto 5272 May 13 12:02 SPEC-ABC.NOT
-rw-r--r-- 1 rgray pronto 3786 May 13 12:02 SPEC-ABC.PRC
I want to write a script so anyone apart from root and the owner of the files can change the permission on these files to 777 or whatever they need it to be. That is I don't want them to log in as root and I don't want to be interupt to change the permission on these files every time they need to do this.
Does any one have any idea as to how I approach this and how to write a script in which the users can execute that will change the permission to 777.
Cheers,
110877
Here is my problem. We use samba and the program which generate these files is lotus notes and it dumps the output in /dos/mlmerge (which is on AIX-F80). For example,
This is the permission on the shared directory with windows;
drwxrwsrwx 3 psd pronto 8704 May 14 06:03 mlmerge
Here are the permission on the files which I want to change;
-rw-r--r-- 1 rgray pronto 5272 May 13 12:02 SPEC-ABC.NOT
-rw-r--r-- 1 rgray pronto 3786 May 13 12:02 SPEC-ABC.PRC
I want to write a script so anyone apart from root and the owner of the files can change the permission on these files to 777 or whatever they need it to be. That is I don't want them to log in as root and I don't want to be interupt to change the permission on these files every time they need to do this.
Does any one have any idea as to how I approach this and how to write a script in which the users can execute that will change the permission to 777.
Cheers,
110877