[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-users] WinSCP2



INRE Re: [cobalt-users] WinSCP2:
> On Sunday 10 March 2002 02:11 pm, you wrote:
> > Bit tricky. I setup a virtual domain using Gerald's ingenious way of
> > doing so without creating an actual virtual on the GUI so the virtual
> > shows as a user in the domain users list. They do not have site admin
> > rights but do have shell access for WinSCP2. I attempted to delete the
> > .htpasswd file logged in as this user and it deleted.
> >
> > What permissions do I have to give these two files and how do I do it
> > please?
>
> You might try to chown the file site-admin
> and chmod 644  (prolly already, but check it)
> I think it will still work but the user won't be able to delete it

Gerald, Richard,

  Negative - this was a discussion a few "weeks" back.  Anything that is "in" 
or "under" the users directory structure _can_ be deleted by that user - only 
option is to use chattr (change secondary file attributes) to change the file 
and set the "no delete" bit.  The no one can delete it until "root" changes 
the attributes again....

Larry Smith
SysAd ECSIS.NET
sysad@xxxxxxxxx