Questions tagged [owner]
209 questions
149
votes
3 answers
Postgresql - backup database and restore on different owner?
I did backup on database on different server and that has different role than I need, with this command:
pg_dump -Fc db_name -f db_name.dump
Then I copied backup to another server where I need to restore the database, but there is no such owner…

Andrius
- 19,658
- 37
- 143
- 243
56
votes
4 answers
Win32 window Owner vs window Parent?
In Win32 programming, what is the difference between a window's parent and a window's owner? I thought I had it figured out, then I came across this code:
SetWindowLong(handle, GWL_HWNDPARENT, foo);
This actually sets the window's owner, not the…

Jon Tackabury
- 47,710
- 52
- 130
- 168
26
votes
6 answers
How to get the owner and group of a folder with Python on a Linux machine?
How can I get the owner and group IDs of a directory using Python under Linux?

dan
- 585
- 2
- 6
- 8
17
votes
2 answers
How to set Win32 window as owner of WPF window?
I want to use WPF windows in a legacy win32 application.
I'd like to behave them in a similar way, like the WPF window always being displayed on top of the win32 window.
For this I'd like to set the owner of the WPF window to the win32 windows, but…

Sam
- 28,421
- 49
- 167
- 247
13
votes
1 answer
Window owner in WPF without always-on-top behaviour
Is it possible to get some of the functionality of Window.Owner without getting all of it?
There are two windows, window A and window B. I want to make it so that selecting either one will bring them on top of other applications, but either one can…

Miral
- 12,637
- 4
- 53
- 93
12
votes
2 answers
Programmatically set package as device owner
I'm aware of the command "adb shell dpm set-device-owner pacakgename"
I want to know if there's a way to programmatically ask and set device owner for one app after it's launched
basically the opposite of…

Miriam
- 347
- 1
- 2
- 19
12
votes
5 answers
Granting Rights on Stored Procedure to another user of Oracle
I am a student of Undergraduate studies , and I am facing little problem in granting rights of ownership to a user A to a stored procedure being owned by user B in database Oracle 10g mode =xe.
Please help me in writing sql commands for granting…

Basmah
- 829
- 3
- 13
- 25
12
votes
3 answers
how should I use the right owner task in airflow?
I dont understand the "owner" in airflow. the comment of ower is "the owner of the task, using the unix username is recommended".
I wrote some the following code.
Default_args = {
'owner': 'max',
'depends_on_past': False,
'start_date':…

Max.H
- 161
- 1
- 1
- 8
11
votes
2 answers
Can you pass a chown command during an rsync call?
Title says it all really.
I see that you can preserve owner:group but is it possible to change the owner:group on all files on the remote after they've been synced?
Or can you somehow pipe an extra command?
rsync -vzrP --delete ~/Sites/website-name/…

CMSCSS
- 2,076
- 9
- 28
- 49
11
votes
3 answers
How to change a Window Owner using its handle
I want to make a .NET Form as a TopMost Form for another external App (not .NET related, pure Win32) so it stays above that Win32App, but not the rest of the apps running.
I Have the handle of the Win32App (provided by the Win32App itself), and I've…

Ricardo Amores
- 4,597
- 1
- 31
- 45
10
votes
3 answers
Oracle Syntax for Creating Database Link Owned by Another User
The typical syntax for creating a db link is as follows:
create database link remote_db_link
connect to remote_user
identified by remote_password
using 'remote_db'
But I'd like my DB link owned by another account after it's created. Is there a…

Jeff
- 8,020
- 34
- 99
- 157
10
votes
2 answers
Find S3 Bucket Owner
If there is a bucket that I have read/write access on from my AWS account, is there any way to get the CanonicalUser id of the owner?
Reading the ACL Policy seems to be impossible unless you are the owner : /.

Felix Geisendörfer
- 2,902
- 5
- 27
- 36
9
votes
1 answer
Change owner of a Gerrit change
I am creating an auto-integrate script which takes in changes and source and destination branches.
The problem is that once its pushed to Gerrit the owner is me.
I want to change it to the author or committer.
Is it possible to change the owner…

user5071787
- 413
- 1
- 4
- 10
9
votes
3 answers
Creating a file with python using sudo makes its owner root
i have a simple piece of python script called myCreate.py running on linux:
fo = open("./testFile.txt", "wb")
when i run python ./myCreate.py - the owner of testFile.txt stays my user.
when i run sudo python ./myCreate.py - the owner of testFile.txt…

iddqd
- 1,225
- 2
- 16
- 34
7
votes
1 answer
PostgreSQL : Accessing tables owned by another user
As a Superuser, I have created two roles in Postgres on the same schema:
read_only_with_create_view
read_write
Then I created two users from each role:
read_only_with_create_view_user
read_write
Now any new views created by…

Himanshu Parmar
- 427
- 5
- 10