- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- access permissions to modify but not delete
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-27-2006 08:11 AM
10-27-2006 08:11 AM
access permissions to modify but not delete
thanks!.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-27-2006 08:20 AM
10-27-2006 08:20 AM
Re: access permissions to modify but not delete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-27-2006 08:53 AM
10-27-2006 08:53 AM
Re: access permissions to modify but not delete
chown root.sys /home/kaps
chmod 755 /home/kaps
chown kaps /home/kaps/testfile
Now user "kaps" can modify this file but can not delete.
Regds,
Kaps
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-27-2006 10:35 AM
10-27-2006 10:35 AM
Re: access permissions to modify but not delete
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-27-2006 07:42 PM
10-27-2006 07:42 PM
Re: access permissions to modify but not delete
I feel sticky bit will be helpful in your case.
A 't' or 'T' as the last character of the "ls -l" mode characters indicates that the "sticky" (save text image) bit is set.
sticky bit on directories
=========================
[From chmod(2)]
If the mode bit S_ISVTX (sticky bit) is set on a directory, files inside the directory may be renamed or removed only by the owner of the file, the owner of the directory, or the superuser (even if the modes of the directory would otherwise allow such an operation).
Regds,
Vinod
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-27-2006 10:39 PM
10-27-2006 10:39 PM
Re: access permissions to modify but not delete
The way I read (interpreted?) Fernando's request, your answer
Remove write permission to the directory to prevent creation or removal of any files.
is doing MUCH more then desired: it ALSO blocks creation of NEW files. _I_ definitely did not read that in the question!
Being only little versed in *UX systems, but trying to leard (but from interest as from job requirement) I am curious how to achieve such (in my view trivial) requirement.
So, is there an *UX equivalent,or a way to construct the equivalence, of the VMS "D" or "delete" permit? (or maybe, which *UX has, and which has not)?
Actually, it is this question that again made me aware that some things I have "always" accepted as elementary should NOT be taken for granted when changing OS!
(and this applies both ways)
fwiw,
Proost.
Have one on me.
jpe
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-28-2006 01:58 AM
10-28-2006 01:58 AM
Re: access permissions to modify but not delete
VMS has a lot of unique features that other OS's do not have. The best way to approach a new OS (even if it is called 'Unix') is to check the man pages and also check the Rosetta Stone and also the Unix command cross references:
http://bhami.com/rosetta.html
http://www.math.utah.edu:8080/~beebe/unix/
http://unixguide.net/cgi-bin/unixguide.cgi
http://www.unixporting.com/quickguide.html
Bill Hassell, sysadmin