no chown? How do default permisisons?

Added by nelson pereira about 1 year ago

Hi,

I copied 300Gb of data from a NAS server to nexenta. Now I need to migrate my users to use this new NFS for the data. But my issue is I want the default nfs/nexenta access, but the transfer also tranfered the user:group during the rsync.

How do I reset this to the default nfs permissions for all files and folders in this new NFS folder?

I tried using recursive check box but nothing happened.


Replies

RE: no chown? How do default permisisons? - Added by nelson pereira about 1 year ago

can anyone help me with this?

I really need to get this fixed... None of my users can access files. I need to reset the permissions to default nfs/nexenta

chown does not work in nexenta? Tried chown -R nfs:nobody /vol2/NAS Command says : Command not found or syntax wrong

RE: no chown? How do default permisisons? - Added by Linda Kateley about 1 year ago

you are probably in nmc. You can get to a bash prompt by ssh'ing into the box as admin.

lk

RE: no chown? How do default permisisons? - Added by nelson pereira about 1 year ago

How do you reset the ownership of files and folders in a share?

RE: no chown? How do default permisisons? - Added by nelson pereira about 1 year ago

Can anyone shed some light on this please?

RE: no chown? How do default permisisons? - Added by Roman Strashkin about 1 year ago

# option expert_mode=1
# !bash
# chown -R user:group path
# exit

RE: no chown? How do default permisisons? - Added by nelson pereira about 1 year ago

The bellow worked... Thanks Roman...

option expert_mode=1

!bash

chown -R user:group path

exit