LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 07-19-2010, 12:31 PM   #1
begli
LQ Newbie
 
Registered: Jul 2010
Posts: 2

Rep: Reputation: 0
Setting permissions for group permanently for future files and folders


I would like to set both user and group permissions permanently to be 'rwx' (read-write-execute). I would like these rwx settings for all the future files and folders.

I tried umask 002, chmod etc, but they don't set it for future files.

Any advices would be appreciated.

Thanks,
Begli
 
Old 07-19-2010, 12:42 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
Hi, welcome to LQ!

You just need to modify the users .bashrc to have the new umask.
If the file-system you're working on indeed has a knowledge of
Linux' permissions, and is not, e.g., FAT or NTFS.

Cheers,
Tink
 
Old 07-19-2010, 02:20 PM   #3
begli
LQ Newbie
 
Registered: Jul 2010
Posts: 2

Original Poster
Rep: Reputation: 0
Thanks, Tink!

Appreciate your help.

Begli
 
Old 09-16-2010, 11:56 PM   #4
prayag_pjs
Senior Member
 
Registered: Feb 2008
Location: Pune - India
Distribution: RHEL/Ubuntu/Debian/Fedora/Centos/K3OS
Posts: 1,159
Blog Entries: 4

Rep: Reputation: 149Reputation: 149
also do chmod g+s dirname
 
  


Reply



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
Secondary group users need to change the file permissions of primary group files? sunnybmv Linux - Newbie 3 12-10-2009 04:57 PM
Setting permissions for individual folders on external drive mawkernewek Linux - Security 2 07-28-2009 03:05 PM
Owner 99 Group 99 files & folders adnanm Linux - Newbie 1 05-26-2008 11:02 AM
Group Permissions and Ownership of files and folders bugeyemonster Linux - General 1 04-19-2006 01:52 AM
How to permanently set permissions on all files created in a directory? BrianK Linux - General 8 06-24-2004 04:06 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:55 AM.

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