Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


Closed Thread
  Search this Thread
Old 12-20-2010, 06:03 AM   #1
Registered: Dec 2007
Posts: 51

Rep: Reputation: 15
delete protected directory in samba

How to create a directory in samba share in which user can write read files but neither can create more directories tree nor delete any directory.


comment = NRshare
path = /home/share
browseable = yes
writable = yes
valid users = xyz,abc,kmn
admin users = xyz,abc,kmn
read only = no

I know user cannot delete share directory here. But user can create any number of directories of files in share.

I would like to create directories in share which cannot be added or deleted.


Last edited by fareedreg; 12-20-2010 at 06:04 AM.
Old 12-20-2010, 11:01 PM   #2
LQ Newbie
Registered: Feb 2010
Posts: 14

Rep: Reputation: 0
delete protected directory in samba

You get your answer through below URL.

Last edited by Tinkster; 12-20-2010 at 11:21 PM.
Old 12-20-2010, 11:18 PM   #3
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
Please post your thread in only one forum. Posting a single thread in the most relevant forum will make it easier for members to help you and will keep the discussion in one place. This thread is being closed because it is a duplicate.

Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Can't delete a directory with samba mortalic Linux - Networking 7 12-21-2010 12:03 AM
Need to write a file in delete protected mode shiv.singh Linux - Newbie 7 05-17-2009 12:59 AM
some one delete the directory from samba share mianmajidali Linux - Server 1 04-11-2009 07:47 AM
Samba: protect write-enabled directory-tree for move or delete alexandrusa Linux - Software 3 03-05-2008 09:44 AM
samba guest directory once write then no delete ilnli Linux - Networking 1 08-30-2004 01:36 AM

All times are GMT -5. The time now is 09:36 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration