I have a scripted circumstance where a user account X on server A needs to
be able to scp a file to server B in another user Y's home directory.

Doing the following enabled this to work. On server B, I logged in first as
root, then su - usery (User Y) then ran the following to alter the ACLs for
the directory.

su - root
su - usery
/usr/bin/chmod
A+user:userx:read_data/list_directory/write_data/delete/add_file/append_data/add_subdirectory:allow
~/*

Now user X can transfer the file. As long as the file on Server B is owned
by User X, no problem. But if the file being transferred is an overwrite of
a file that already exists which is owned by User Y, the transfer will
(obviously) fail with permission denied due to the file ownership.

So the question is, is there a ACL permission I'm missing that will allow
User X to always be able to overwrite an existing file in the directory
regardless of which user owns the file? I tried delete_child but that did
not help.

Thanks,
-- 
Mark



-------------------------------------------
smartos-discuss
Archives: https://www.listbox.com/member/archive/184463/=now
RSS Feed: https://www.listbox.com/member/archive/rss/184463/25769125-55cfbc00
Modify Your Subscription: 
https://www.listbox.com/member/?member_id=25769125&id_secret=25769125-7688e9fb
Powered by Listbox: http://www.listbox.com

Reply via email to