Link to home
Start Free TrialLog in
Avatar of cadancecorp
cadancecorp

asked on

How do I Create a user which has access to all files regardless of Permission on files

I am in a situation where files get copied to a Solaris network drive and the GROUP permissions get cleared. I'm not quite sure why, but I need to create a user that can then access these files regardless of any file permissions. (Like ROOT would be able to do)

Then I can map the drives in Windows and MACOS using this user.

Thanks
-Roger
ASKER CERTIFIED SOLUTION
Avatar of Hanno P.S.
Hanno P.S.
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
Maybe, you should better try to find out why the group permissions are take away:
Are you using SaMBa? Which version?
If using SaMBa, could you please post smb.conf with (at least) the entry for the
share you use?
What are the permissions for the directory itself with this share?
Avatar of cadancecorp
cadancecorp

ASKER

No, Its Appletalk.. When people copy from the MAC to the Solaris the Group Permissions go away. When users copy from a  windows workstation the SMB.CONF takes care of the permissions. 077.
Try changing the directory's permission setting the GUID bit:
   chmod g+s  directory
Type: I mean "set-group-ID" bit
Hi, we are not too worried about security so I will set the user to UID=0
Have you tried to fix your problem changing the (parent) directory's permissions
  # chmod 750 mydir  
  # chmod g+s mydir