LinuxQuestions.org
Support LQ: Use code LQCO20 and save 20% on CrossOver Office
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
LinkBack Search this Thread
Old 06-09-2004, 12:03 PM   #1
mfeoli
Member
 
Registered: Dec 2003
Distribution: Debian
Posts: 92

Rep: Reputation: 15
File access right (other than rwx)


Hi all

We recently moved from old (but great) Novell 3.12 to a Linux Machine with Samba 3.

However we lost some features which I'd like to know if there is something similar in Linux.

In novell I was able to create rights for a file/directory for an individual so that he could create a file but not delete it.
This is my main concern


There was Create,Erase,Modify, where in Linux they all come to Write.


Any one knows how to do this?

or if not

Does anyone has a clue of a way arround to build a directory where people from an office could see and create files but not delete or modify them?

I need to create an electronic record of our costumer interaction information, that's why I need all to place their contact documents but no one to modify an old record for any reason
thanks

Last edited by mfeoli; 06-09-2004 at 12:06 PM.
 
Old 06-09-2004, 12:38 PM   #2
jim mcnamara
Member
 
Registered: May 2002
Posts: 964

Rep: Reputation: 33
The only suggestion: create a sleep/wake process that goes out every 30 seconds, finds files with open security, sees if the file is open (fuser or lsof), if not open, then resets protections on the file to r--r--r-x. Or whatever.

You should also create a dummy user who is a member of the group your users are in- give him ownership of the file. Otherwise, the file's owner - a real user - can chmod the file and edit it. If you set ownership of the directory to that user then set the protections on the directory to something like ----swx all files created in the directory belong to the dummy user.
 
Old 06-09-2004, 12:38 PM   #3
cprogrck
Member
 
Registered: May 2004
Posts: 91

Rep: Reputation: 15
I think chmod with the t option can do that. Basicaly if you set up a file owned by root. Then change the premissions to allow normal users to read write and execute it. You can just create the file and then run a single chmod command to set it up. Try running chmod --help for more info
 
  


Reply


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
how to give 'guest' rwx permission on a file/directory RH9Linux Linux - Software 3 06-27-2005 08:59 PM
Samba Permissions - RWX for all Users joshnya Linux - Newbie 2 05-17-2005 11:28 AM
smb.conf entry for rwx access by multiple users thegnu Linux - Networking 1 05-13-2005 09:24 PM
RWX permissions w/ Knoppix? suprpenguin04 Linux - General 1 11-02-2004 11:41 AM
Mounting FAT rwx elwis Linux - General 1 09-08-2001 07:10 AM


All times are GMT -5. The time now is 11:21 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
Open Source Consulting | Domain Registration