Chown not working

336 views
Skip to first unread message

luvabab

unread,
Jan 31, 2017, 5:17:05 AM1/31/17
to Isilon Technical User Group
Hello,

I have created a local unix new user for a specific zone but i am unable to change ownership for a directory for the same. Need some help here

                   Name: archive_uid

                      DN: CN=archive_uid,CN=Users,DC=TANK

              DNS Domain: -

                  Domain: TANK

                Provider: lsa-local-provider:asdf

        Sam Account Name: archive_uid

                     UID: 3755

                     SID: S-1-5-21-2544060385-1497968714-910628001-1003

                 Enabled: Yes

                 Expired: No

                  Expiry: -

                  Locked: No

                   Email: -

                   GECOS: -

           Generated GID: No

           Generated UID: No

           Generated UPN: Yes

           Primary Group

                          ID: GID:771

                        Name: archive_gid

          Home Directory: /ifs/customers/home/archive_uid

        Max Password Age: 4W

        Password Expired: No

         Password Expiry: 2017-02-28T10:42:38

       Password Last Set: 2017-01-31T10:42:38

        Password Expires: Yes

                   Shell: /bin/zsh

                     UPN: archive_uid@TANK

User Can Change Password: Yes

 

Groups

 

       Name: archive_gid

              DN: CN=archive_gid,CN=Groups,DC=TANK

             SID: S-1-5-21-2544060385-1497968714-910628001-1002

             GID: 771

          Domain: TANK

Sam Account Name: archive_gid

        Provider: lsa-local-provider:asdf

   Generated GID: No



How can i change ownership of a directory and user ?


Thanks

Hemant

John Beranek - PA

unread,
Feb 1, 2017, 1:08:49 PM2/1/17
to Isilon Technical User Group
You've not stated how you're failing to change ownership, but I'll say that on Isilon the only user which can change ownership is root. So you require one of:

1) root on the Isilon CLI
2) An SMB share with "Run as root"
3) An NFS export with root access

Cheers,

John

Erik Weiman

unread,
Feb 1, 2017, 2:04:34 PM2/1/17
to isilon-u...@googlegroups.com
You can configure the cluster to allow an owner to give away ownership of a file to another user. 

--
Erik Weiman 
Sent from my iPhone 7
--
You received this message because you are subscribed to the Google Groups "Isilon Technical User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to isilon-user-gr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

John Beranek - PA

unread,
Feb 1, 2017, 2:07:26 PM2/1/17
to Isilon Technical User Group
Oh really? That's not something I've come across before...

John

Erik Weiman

unread,
Feb 1, 2017, 2:10:27 PM2/1/17
to isilon-u...@googlegroups.com
# sysctl -d efs.bam.chown_unrestricted
efs.bam.chown_unrestricted: Allow non-privileged file owners to give away ownership

This is a bool value 0/1. As long as you are the owner you can give it away but you can't take it back. 

To unsubscribe from this group and stop receiving emails from it, send an email to isilon-user-group+unsubscribe@googlegroups.com.

John Beranek - PA

unread,
Feb 1, 2017, 2:19:15 PM2/1/17
to Isilon Technical User Group
Well, that policy seems reasonable, it's like that in real life too...

John

John Beranek - PA

unread,
Feb 1, 2017, 2:23:00 PM2/1/17
to Isilon Technical User Group
Presumably it still wouldn't match Windows' file ownership policy though.

John

On Wednesday, 1 February 2017 19:10:27 UTC, Erik Weiman wrote:

Gumar K

unread,
Feb 28, 2017, 11:57:51 AM2/28/17
to isilon-u...@googlegroups.com
Make sure the folder has "std_write_dac" permissions listed for the user, then the user can do the chown command.

--
You received this message because you are subscribed to the Google Groups "Isilon Technical User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to isilon-user-group+unsubscribe@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages