Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

permissions on new filesystem

Status
Not open for further replies.

KnowNix

MIS
Nov 10, 2003
32
NL
Trough SMIT I've made a new filesystem called /dummy
As normal user i can't copy a file to this filesystem, or create a file on this filesystem ( message = "The file access permissions do not allow the specified action" )
As root it works well.
Seems I forgot to set some permissions ??

Thanks.
 
After you have mounted the filesystem, you have to make sure that the ownership and the permissions are what you want. AS root is the one who can create filesystems, root is the owner and the permissions do not allow the filesystem being written to anyone other than root and maybe root's group.

So, here's what you need to do: decide which user and group you want to own the filesystem. Then how open do you want to make the filesystem.

Let's say you want user1 and group staff to own the filesystem.

Mount it, then do chown user1:staff /filesystem_name

If you want everyone to have full access, do a chmod 777 /filesystem_name

If you want just the user and group, with read and execute access for everyone else, it would be 775. And so on.
 
Thanks BI, that must be the solution.
I'm gonna check it out.

Thanks.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top