Koozali.org: home of the SME Server

ibay - R/W but not delete

damjan

ibay - R/W but not delete
« on: November 04, 2002, 07:06:22 PM »
Hi,
Are there any possibilities to set an ibay with read and write mode but not delete ?


br
Damjan

Guck Puppy

Re: ibay - R/W but not delete
« Reply #1 on: November 04, 2002, 10:14:06 PM »
Suppose it were possible... what if I open a file and delete all the contents, then save the (now empty) file.

Maybe not an actual "delete", but surely an effective one.

G

damjan

Re: ibay - R/W but not delete
« Reply #2 on: November 04, 2002, 11:55:59 PM »
I agree with that but I need this functionality for an ibay with  MS Access database file.
The ibay with database  is visible via Netwok Neighborhood on Win clients. There have to be a protection that users don't delete this file by mistake.
They access it via application program and they use it according their user rights. They can't simply delete all the data via application but they are able to delete database file while they are browsing the network which is very unpleasant ;-).

I think that there have to be some settings in smb.file to protect data share (ibay) from deleting the files that they are located in it.


Br
Damjan

Les Mikesell

Re: ibay - R/W but not delete
« Reply #3 on: November 05, 2002, 08:44:08 AM »
If you log in as root and do:
chmod +t
on the directory containing the file, it will only allow the owner of the file (or root) to delete it.  Then make sure that someone within the group allowed to write in the ibay that knows enough not to delete them owns the critical files.  Others will still be able to modify and truncate the files and some software that expects to be able to do edits by creating a new file and deleting the old will break.