Download your favorite Linux distribution at LQ ISO.
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!


  Search this Thread
Old 11-08-2007, 05:16 AM   #1
LQ Newbie
Registered: Nov 2007
Distribution: Ubuntu, CentOS
Posts: 5

Rep: Reputation: 0
chmod, user access rights

I believe following question is in right place..newbie section..

I've set up samba server, and everything works just fine, except I'm not so familiar with linux nor user access I need a bit of help here.

Here is "share" structure:
'/data' is shared foder
'/data/base' is folder inside shared folder
'/data/base/gk' - is a sample directory, with a lot of files inside..

What I need is:
1. Deny all users to create and delete folders and files inside '/data' or inside any subfolders
2. Allow valid users to access and modify only files inside '/data/base/' and all subfolders
3. Allow automatic creation of temp files inside '/data/base/' and all subfolders (they are created when user access '/data/base/gk/somefile', and deleted when no one is accessing them)

I appreciate any help!
Old 11-08-2007, 05:51 AM   #2
Registered: Oct 2007
Location: Sydney, Australia
Distribution: Debian
Posts: 63

Rep: Reputation: 15
chmod command


to get familiar with chmod command have a look on some examples of chmod command:
linux commands
Old 11-08-2007, 06:03 AM   #3
Registered: Oct 2007
Location: Norway
Distribution: Slackware 14.1
Posts: 446

Rep: Reputation: 59
I would suggest to install swat. Thats a web administration tool for samba. That way it is easyer to manage users and rights.


chmod, commands, examples, linux

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
lost execute rights on chmod itself senips Linux - Security 5 10-14-2006 02:34 AM
chmod to access win partition from user account danieljames SUSE / openSUSE 14 01-09-2006 04:45 PM
Domain User Access Rights engnet Linux - Security 0 10-30-2005 01:40 AM
Chmod rights and folder access fieldyweb Linux - General 3 08-24-2005 04:12 AM
Giving a user CHMOD rights to the /var/www/html directory? scubes13 Linux - Networking 3 08-18-2002 03:38 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:17 PM.

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
Open Source Consulting | Domain Registration