Link to home
Start Free TrialLog in
Avatar of 1030071002
1030071002Flag for United States of America

asked on

how can I write this command in ubuntu drwxrwxrwt

drwxrwxrwt
how can I write this command in ubuntu drwxrwxrwt
need make a folder have this permission drwxrwxrwt
Avatar of torimar
torimar
Flag of Germany image

To create the "rwxrwxrw" permission, you would write:

sudo chmod 776 foldername

To set the sticky bit ("t"), you would write:

sudo chmod +t foldername


Avatar of 1030071002

ASKER

how you get the d at the bigining
drwxrwxrwt
 
You don't get the 'd'.
That is just a marker for a 'directory'. Every folder has it, files don't.
ASKER CERTIFIED SOLUTION
Avatar of torimar
torimar
Flag of Germany image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial