cancel
Showing results for 
Search instead for 
Did you mean: 

Shared Folder

SOLVED
Go to solution
VICBUR1507
Frequent Advisor

Shared Folder

Hi Mates,
I have a Share folder in my unix enviroment, this folder is used for some users, the problem is that some user create a new file oly this user can make modifications in this file, how I can that my ux users in this share folder hav permissions for read-writhe in alls files inside this shared folder?

Thanks
4 REPLIES
Steven E. Protter
Exalted Contributor
Solution

Re: Shared Folder

Shalom,

Create a group

Add the users to the group.

chmod g+w

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
TTr
Honored Contributor

Re: Shared Folder

> hav permissions for read-writhe in alls files

SEP's suggestion will work only if the group that you will be creating becomes these users' primary group. Otherwise any file that gets created will be owned by the user's primary group and not this new group. In addition, your users must have their "umask" set to either 002 or 007 so that any new files that get created will be group writable. And the existing files will need to be changed to group writable. Also if the new group that you will create is NOT the users' primary group you must create the /etc/logingroup hardlinked to /etc/group so that this secondary group membership becomes effective.
Dennis Handly
Acclaimed Contributor

Re: Shared Folder

>TTr: you must create the /etc/logingroup hardlinked to /etc/group so that this secondary group membership becomes effective.

This is no longer needed. I always symlinked them. (I don't know when this occurred? On 11.11 it isn't needed.)
VICBUR1507
Frequent Advisor

Re: Shared Folder

I change permission and is work. Tnk