Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > HOWTO-Related Questions

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 21st June 2009, 17:23
dpicella dpicella is offline
Senior Member
 
Join Date: Apr 2009
Posts: 116
Thanks: 9
Thanked 8 Times in 7 Posts
Question Allow ssh user to read but prevent delete of a file

I have some ssh users that I want to grant read-ONLY access to files.

Actually, I want the owner to have read/write privileges, and the group and anon world to have read ONLY privileges (without the ability to delete). Only the owner should be able to delete.

If I set the permission to: 644 ... shouldn't that do it?

The rm command still allows group members to remove write protected files.

Is there a way to solve this problem?
Reply With Quote
Sponsored Links
  #2  
Old 22nd June 2009, 14:36
topdog topdog is offline
Senior Member
 
Join Date: Jan 2008
Location: South Africa
Posts: 1,352
Thanks: 0
Thanked 153 Times in 150 Posts
 
Default

use the setfacl to set acls on the file.
__________________
----
http://www.topdog.za.net - Got Linux problems ? - I can help.
http://www.baruwa.org - Try it.
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Statistic not working mzo Installation/Configuration 49 20th April 2011 12:19
libWand.so.10 error Taxick Installation/Configuration 8 3rd May 2009 01:27
Failover with VMWare Server - /var/vm isn't the right size.. Bart van Kleef HOWTO-Related Questions 24 30th August 2008 11:00
add web site serr57 Installation/Configuration 18 13th April 2008 11:40
site - databases trueshanti Installation/Configuration 20 26th May 2006 01:28


All times are GMT +2. The time now is 18:34.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.