On Fri, 17 Nov 2000, Scott Kopel wrote:

>I'm not using a script and I can't because the users are students using w98
>and wsftp to upload their files...the reason I need the files to have 664
>is that I have put the teacher in the group and I want the teacher to have
>access to all the students files...is there another way to accomplish this?

A cron job from root that hits all the files in a directory over the head
with a chmod 664 ? Running every 5 minutes?

0,59/5 * * * chmod 664 /some/where/over/therainbow/*

Paul


>At 08:20 PM 11/17/00 +0100, you wrote:
>>On Fri, 17 Nov 2000, Scott Kopel wrote:
>>
>> >when files are uploaded via ftp the permissions are automatically 644...but
>> >I need them to be 664...how can I get the files to have 664 automatically
>> >... ie I don't want to have to chmod them all the time..
>> >thanks
>>
>> From 'man ftp':
>>
>>   chmod mode file-name
>>     Change the permission modes of the file file-name on the re�
>>     mote sytem to mode.
>>
>>So, if you have an ftp script that does the transfers, you can put chmod
>>in the same script.
>>
>>If you need a lesson in ftp-scripts, let me know.
>>
>>Paul

-- 
We are Microsoft of Borg.
You will be assimilated.
Resistance is-

 Fatal Exception Error in MSBORG32.DLL

http://nlpagan.net - ICQ 147208 - Registered Linux User 174403
             Linux Mandrake 7.2 - Pine 4.30


Reply via email to