Simpler Navigation for Servers and Operating Systems - Please Update Your Bookmarks
Completed: a much simpler Servers and Operating Systems section of the Community. We combined many of the older boards, so you won't have to click through so many levels to get at the information you need. Check the consolidated boards here as many sub-forums are now single boards.
If you have bookmarked forums or discussion boards in Servers and Operating Systems, we suggest you check and update them as needed.
Operating System - Tru64 Unix
cancel
Showing results for 
Search instead for 
Did you mean: 

User account directory

SOLVED
Go to solution
Paul Stanard
Regular Advisor

User account directory

I want to give everyone access to the following user home directory /usr/users/bwuser
Is there away to do so?
3 REPLIES
Michael Schulte zur Sur
Honored Contributor
Solution

Re: User account directory

Hi,

yes.

chmod 777 /usr/users/bwuser
if there are already files, all should have access to, use:
chmod -R 777 /usr/users/bwuser
see man chmod

Michael
Sanjay Kumar Suri
Honored Contributor

Re: User account directory

Some more info:

If read permission for a directory is not set, no file inside the directory can be listed or accessed.

If execute permission for a directory is not set, files inside the directory can be listed with names only. That means ls will work but ls -l will not work. Also no files inside the directory can be read or executed.

If only execute permission is set files can be accessed if the names are known but can't see the files.

Previous post has alread answered changing permission using chmod command and octal values.

#chmod 777 file/dir

Where first 7 = 4 (read) + 2 (write) + 1 (execute) for a user. Similarly for next 7 (group) and next 7 (others).


sks


A rigid mind is very sure, but often wrong. A flexible mind is generally unsure, but often right.
Ravi_8
Honored Contributor

Re: User account directory

Hi

#chmod -R 0777 /usr/users/bwuser

everybody will get access to /usr/users/bwuser
never give up