From: "Dermot Paikkos" <Dermot.Paikkos@sciencephoto.co.uk>
To: linux-admin@vger.kernel.org
Subject: chattr immutable
Date: Mon, 16 Feb 2009 11:46:19 +0000 [thread overview]
Message-ID: <LED517A2D972B45eaBEB247C76144F16F.1234784742.earth.sciencephoto.co.uk@MHS> (raw)
Hi,
I have a FC4 box with a Samba 3.014. There is one large share
configured. I wanted to make a folder within that share un-deleteable
but also allow smb users to write files to the folder. I tried
mkdir myfolder; chmod 777 myyfolder; chattr +i myfolder
Then from a windows box tried to delete the folder and got permissions
denied, so far so good. They I tried to copy a file to the folder and
was denied also, not so good.
I have tried a combinations of +i +a but I can't get the desired effect.
Is what I am attempting possible or should I create a new share and use
smb.conf to administer the file permissions?
TIA,
Dp.
next reply other threads:[~2009-02-16 11:46 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-02-16 11:46 Dermot Paikkos [this message]
2009-02-16 12:30 ` chattr immutable Herta Van den Eynde
2009-02-16 12:48 ` Glynn Clements
2009-02-16 16:18 ` Dermot Paikkos
2009-02-16 20:57 ` Glynn Clements
-- strict thread matches above, loose matches on Subject: below --
2009-02-16 20:14 Adam Bowen
2009-02-17 11:10 ` Dermot Paikkos
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=LED517A2D972B45eaBEB247C76144F16F.1234784742.earth.sciencephoto.co.uk@MHS \
--to=dermot.paikkos@sciencephoto.co.uk \
--cc=linux-admin@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).