Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 11-20-2009, 08:53 AM   #1
Registered: Aug 2009
Posts: 537

Rep: Reputation: 32
How to create a Directory with permission of drwxrwxrwt

I just know one can create derectory with permission of drwxrwxrwx. I see somewhere a directory with permission of 'drwxrwxrwt'.

What does 't' mean and how to create it?
Old 11-20-2009, 09:04 AM   #2
Registered: Aug 2009
Posts: 537

Original Poster
Rep: Reputation: 32
I find the solution:

chmod +t mydir
Old 11-20-2009, 11:48 AM   #3
Senior Member
Registered: Nov 2005
Location: Belgium
Distribution: Red Hat, Fedora
Posts: 1,515

Rep: Reputation: 61
The t is the sticky bit. Makes executables stick in memory longer. Don't know if it has much use for folders, though,
as folder execute permission is more about the right to search in the folder, or to access sub-folders.
man 1 chmod
for details (in the middle number one, not lowercase letter ell)
1 members found this post helpful.
Old 11-20-2009, 01:13 PM   #4
Senior Member
Registered: Dec 2008
Location: root
Distribution: Slackware & BSD
Posts: 1,665

Rep: Reputation: 487Reputation: 487Reputation: 487Reputation: 487Reputation: 487
How to create a Directory with permission of drwxrwxrwt
HOW to create?
Do this:

user@host--$: mkdir ./myfolder [this is safer than the faster switching umask]
user@host--$: chmod 777 -R ./myfolder
user@host--$: chmod o+t -R ./myfolder
user@host--$: ls -l myfolder
drwxrwxrwt 2 user group 4096 2009-11-21 17:01 myfolder

Hope it works in your system.

Good luck.
1 members found this post helpful.


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

Similar Threads
Thread Thread Starter Forum Replies Last Post
mkdir : cannot create directory : no such file or directory patcheezy Linux - Newbie 6 05-13-2009 12:26 PM
samba and file create permission noir911 Linux - Server 1 04-02-2009 09:17 AM
Why am I denied permission when I try to create a directory? toastyjsd Linux - Newbie 2 02-28-2009 07:49 PM
how create a folder/permission rusmi Linux - Newbie 7 02-11-2005 11:04 AM
permission denied if I want to create new folder dodo1983 Linux - Newbie 2 08-14-2004 11:46 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:01 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration