- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- What is: chmod a+rwx,+t
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
Discussions
Discussions
Discussions
Forums
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
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
тАО03-01-2006 02:28 AM
тАО03-01-2006 02:28 AM
what is the meaning of:
chmod a+rwx,+t
please, tell me as follows:
rwx-rwx-rwx or rw-rw-rw ... what ever.
Thanks...
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-01-2006 02:32 AM
тАО03-01-2006 02:32 AM
SolutionIt sets read/write/executable for *all* users as well as setting the save-text-image-on-file-execution permission - otherwise known as "sticky-bit".
This allows faster re-execution of frequently run commands.
HTH,
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-01-2006 02:33 AM
тАО03-01-2006 02:33 AM
Re: What is: chmod a+rwx,+t
Only the file/dir owners will be able to modify, overwrite or delete the files.
Favourite Toy:
AMD Athlon II X6 1090T 6-core, 16GB RAM, 12TB ZFS RAIDZ-2 Storage. Linux Centos 5.6 running KVM Hypervisor. Virtual Machines: Ubuntu, Mint, Solaris 10, Windows 7 Professional, Windows XP Pro, Windows Server 2008R2, DOS 6.22, OpenFiler
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-01-2006 02:34 AM
тАО03-01-2006 02:34 AM
Re: What is: chmod a+rwx,+t
$ mkdir sticky
$ ll -d sticky
drwxrwxr-x 2 plr support 96 Mar 1 10:32 sticky
$ chmod u-t sticky
$ ll -d sticky
drwxrwxr-x 2 plr support 96 Mar 1 10:32 sticky
From the man page for chmod:
"If the 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).
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-01-2006 02:36 AM
тАО03-01-2006 02:36 AM
Re: What is: chmod a+rwx,+t
+t stands for "Sticky bit". You can find more information about "sticky bit" here,
http://www.faqs.org/faqs/hp/hpux-faq/section-70.html
-Arun
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-01-2006 02:36 AM
тАО03-01-2006 02:36 AM
Re: What is: chmod a+rwx,+t
$ ll useme
---------- 1 kmo users 0 Mar 1 10:34 useme
$ chmod a+rwx,+t useme
$ ll useme
-rwxrwxrwx 1 kmo users 0 Mar 1 10:34 useme*
atasw01:home/kmo $
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-01-2006 02:36 AM
тАО03-01-2006 02:36 AM
Re: What is: chmod a+rwx,+t
from man chmod:
" Add or delete the save-text-image-on-file-
execution (sticky bit) permission."
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-01-2006 02:37 AM
тАО03-01-2006 02:37 AM
Re: What is: chmod a+rwx,+t
The manpages for 'chmod(1)' tell you the answer.
The "a" says to set the permissions or +rwx (read, write, execute) for *a*ll or for the owner, group and world. The 't' sets the so-called "sticky-bit".
If the sticky bit is set for a directory, then the directory's files can only be renamed or removed by the owner of the file, the owner of the directory, or by root.
If the sticky bit is set for an executable file, then the text (code) of the executable remains in memory for subsequent executions. This may make process startup for the executable faster.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-01-2006 02:49 AM
тАО03-01-2006 02:49 AM
Re: What is: chmod a+rwx,+t
what is chmod u+s ??
and chmod o-rwx ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-01-2006 02:53 AM
тАО03-01-2006 02:53 AM
Re: What is: chmod a+rwx,+t
chmod o-rwx - take away read/write/execute for others (world).
man chmod will give you all of this. :)
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-01-2006 03:01 AM
тАО03-01-2006 03:01 AM
Re: What is: chmod a+rwx,+t
and ...
what is chmod u+s ??
Set UID, A good reading
http://catcode.com/teachmod/setuid.html
and chmod o-rwx ?
It takes out all permissions from Others.
http://grouchy.cs.indiana.edu/usr/local/www/linux/gs/subsection2.6.14.4.html
-Arun
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-01-2006 03:19 AM
тАО03-01-2006 03:19 AM
Re: What is: chmod a+rwx,+t
:0)
Manuales.