HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: Set World Access On a File in Linux
Operating System - Linux
1828343
Members
2912
Online
109976
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
08-11-2006 03:37 AM
08-11-2006 03:37 AM
Hi,
How can I modify an account for user A, so that everytime he writes a file with World wide access? Once the file is created, I can manually do a chmod 777 file_name.txt -- But this is manual process. I would like to setup user "A" to write with world wide access, or maybe perhaps, I can modify the directory to have world access instead.
Any ideas??
Thank you in advance.
J
How can I modify an account for user A, so that everytime he writes a file with World wide access? Once the file is created, I can manually do a chmod 777 file_name.txt -- But this is manual process. I would like to setup user "A" to write with world wide access, or maybe perhaps, I can modify the directory to have world access instead.
Any ideas??
Thank you in advance.
J
Solved! Go to Solution.
1 REPLY 1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-11-2006 04:05 AM
08-11-2006 04:05 AM
Solution
Edit the users profile ($HOME/.bashrc or $HOME/.bash_profile) and add a line like this:
umask 000
This will create files with world wide write access.
BUT THIS IS NOT GOOD! ITS A INSECURE METHOS OF SHARING FILES.
You should plan a good group membership structure instead of allowing world wide access to files.
umask 000
This will create files with world wide write access.
BUT THIS IS NOT GOOD! ITS A INSECURE METHOS OF SHARING FILES.
You should plan a good group membership structure instead of allowing world wide access to files.
Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?
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
Support
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP