LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices

Reply
 
Search this Thread
Old 11-08-2007, 05:16 AM   #1
webtrix28
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 rights..so 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
LlNUX
Member
 
Registered: Oct 2007
Location: Sydney, Australia
Distribution: Debian
Posts: 63

Rep: Reputation: 15
chmod command

Hi,

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
Dinithion
Member
 
Registered: Oct 2007
Location: Norway
Distribution: Slackware 14.1
Posts: 443

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


Reply

Tags
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/Novell 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


All times are GMT -5. The time now is 07:04 AM.

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