HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- File permissions
Operating System - HP-UX
1834481
Members
3737
Online
110067
Solutions
Forums
Categories
Company
Local Language
back
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
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
Topic Options
- 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
02-07-2001 03:13 PM
02-07-2001 03:13 PM
Hi everybody,
I'm trying to restrict some files permissions to an account on my system. But I even deny all the permissions to the files and the user can delete them. For example:
I have the file hola.txt without any kind of permissions (000), and when the user type rm hola.txt, I have the follow message:
hola.txt: 0 mode ? (y/n)
And if the user pulse y, he can delete the file, somebody could tell me why? and how can I avoid this? The only permisson that he could have is the execute permisson.
Thank you.
I'm trying to restrict some files permissions to an account on my system. But I even deny all the permissions to the files and the user can delete them. For example:
I have the file hola.txt without any kind of permissions (000), and when the user type rm hola.txt, I have the follow message:
hola.txt: 0 mode ? (y/n)
And if the user pulse y, he can delete the file, somebody could tell me why? and how can I avoid this? The only permisson that he could have is the execute permisson.
Thank you.
Always is important to know the opinion of other people with or without experience
Solved! Go to Solution.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-07-2001 03:57 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-07-2001 04:50 PM
02-07-2001 04:50 PM
Re: File permissions
Veronica:
If the sticky bit is set on the directory, then users can only remove files for which they have explicit write permission as the owner. 'root', of course, can remove anything.
A directory with the sticky bit set will look like "dXXXXXXXXt" -- note the "t".
For instance, to set the sticky bit on /xxx, do:
# ls -l /xxx #...gives drwxr-xr-x
# chmod 1755 /xxx
# ls -l /xxx #...shows drwxr-xr-t
See the man pages for 'chmod'.
...JRF...
If the sticky bit is set on the directory, then users can only remove files for which they have explicit write permission as the owner. 'root', of course, can remove anything.
A directory with the sticky bit set will look like "dXXXXXXXXt" -- note the "t".
For instance, to set the sticky bit on /xxx, do:
# ls -l /xxx #...gives drwxr-xr-x
# chmod 1755 /xxx
# ls -l /xxx #...shows drwxr-xr-t
See the man pages for 'chmod'.
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-08-2001 07:22 AM
02-08-2001 07:22 AM
Re: File permissions
Thank you for the answers, this is what I did,
I change the owner of the user directory, now the will cannot delete any file.
Veronica
I change the owner of the user directory, now the will cannot delete any file.
Veronica
Always is important to know the opinion of other people with or without experience
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP