This is why i was asking, because i know windows does not care about the sticky bits and the parent directory permissions in *nix. As long as it cannot be deleted off the *nix server you should be OK.
On Wed, Nov 12, 2008 at 1:52 PM, joseph mpora <[EMAIL PROTECTED]> wrote: > Yes and yes. I was referring to deleting excel files while in windows > but off a samba share. > > It worked for me, I changed ownership of the parent directory to root > and staff group and set the sticky bit. > > Funny this is, you can still delete the file, or so it seems. > Selecting the file and pressing delete makes it disappearing but > should yu refresh the directory, it reappears. > > Setting the sticky bit solved the problem > > Cheers, J > > > On 11/12/08, Mike Barnard <[EMAIL PROTECTED]> wrote: > > Joseph, did this work for you. I realise that you were talking about > > deleting Excel spreadsheets, i assume that these files are being accessed > > via M$ Windows from a samba share or something... > > > > > > > > On Wed, Nov 12, 2008 at 11:05 AM, joseph mpora <[EMAIL PROTECTED]> > wrote: > > > >> I think I got the answer, will put links here for others who might > >> encounter similar problem > >> > >> > >> > http://forums11.itrc.hp.com/service/forums/questionanswer.do?admit=109447626+1226476789474+28353475&threadId=123050 > >> http://www.linuxdevcenter.com/pub/a/linux/lpt/22_06.html > >> > >> Google to the rescue once again :) > >> > >> On 11/12/08, joseph mpora <[EMAIL PROTECTED]> wrote: > >> > Dear lug, > >> > > >> > I have a couple of excel spreadsheets on a samba share that have read > >> > and write permissions set for owner and group. These are accessed by > >> > teachers to input assessment records. > >> > > >> > Problem is, someone keeps deleting them and I keep having to restore > >> > them from backup. I know it's someone because they are the only files > >> > that keep disappearing. > >> > > >> > Is there a way of allowing users to read and write to the file without > >> > being able to delete it? Or even better, log every file deletion per > >> > user? > >> > > >> > Cheers, Joseph > >> > > >> _______________________________________________ > >> LUG mailing list > >> [email protected] > >> http://kym.net/mailman/listinfo/lug > >> %LUG is generously hosted by INFOCOM http://www.infocom.co.ug/ > >> > >> The above comments and data are owned by whoever posted them (including > >> attachments if any). The List's Host is not responsible for them in any > >> way. > >> --------------------------------------- > >> > >> > > > > > > -- > > Mike > > > > Of course, you might discount this possibility, but remember that one in > > a million chances happen 99% of the time. > > ------------------------------------------------------------ > > > _______________________________________________ > LUG mailing list > [email protected] > http://kym.net/mailman/listinfo/lug > %LUG is generously hosted by INFOCOM http://www.infocom.co.ug/ > > The above comments and data are owned by whoever posted them (including > attachments if any). The List's Host is not responsible for them in any way. > --------------------------------------- > > -- Mike Of course, you might discount this possibility, but remember that one in a million chances happen 99% of the time. ------------------------------------------------------------
_______________________________________________ LUG mailing list [email protected] http://kym.net/mailman/listinfo/lug %LUG is generously hosted by INFOCOM http://www.infocom.co.ug/ The above comments and data are owned by whoever posted them (including attachments if any). The List's Host is not responsible for them in any way. ---------------------------------------
