Koozali.org: home of the SME Server

Legacy Forums => General Discussion (Legacy) => Topic started by: commanda on March 26, 2004, 04:44:30 AM

Title: file permissions on ibays
Post by: commanda on March 26, 2004, 04:44:30 AM
I have a number of ways of getting files into an ibay.

1:Windows user copies file to mapped network drive.

2:rsync copies files from Windows 2000 server. run from a cron job on the SME server daily.

3:user uploads file with web browser via web form.

In all cases, I can't the file permissions correct.
1: 764
2: dunno, I chmod'd the whole lot.
3: 600 owner = www.

Short of running chmod -R 777 * on the ibay from a cron job every five minutes, what is the correct way to get around this?

for the rsync case, only running once daily, adding chmod to the end of this script would be OK.

I tried adding the following in /etc/smb.conf
create mode = 0777
force create mode = 0777
directory mode = 0770
force directory mode = 0770

and also commented out the inherit permissions = yes line.

In the server-manager, for the ibay, I set user access to write=group, read=everyone. I also created a users group, and added my windows users to it. Then set this group as the group for the ibay.

Amanda
Title: file permissions on ibays
Post by: commanda on March 27, 2004, 02:21:59 AM
Anyone?