Top "Ownership" questions

Ownership is a core concept of Rust.

how to find the owner of a file or directory in python

I need a function or method in Python to find the owner of a file or directory. The function should …

python linux file permissions ownership
What is the difference between a __weak and a __block reference?

I'm reading Xcode's documentation, and here is something that puzzles me: __block typeof(self) tmpSelf = self; [self methodThatTakesABlock:^ { [tmpSelf doSomething]; }]; …

objective-c memory-management objective-c-blocks weak-references ownership
How to keep git from changing file ownership

I have been noticing that when I pull from my github repo on a development server(Red Hat) the ownership …

git file ownership
Used chown for /var/lib/mysql to change owner from root, now getting Error 1049 (42000) in mysql

With Ubuntu, I previously created a mysql database using the following code in the terminal: $ my sql -u root -p …

mysql permissions root ownership chown
Use unique_ptr for ownership and raw pointer otherwise?

I am C++11-ing some code. I have class X { /* */ }; class A { std::vector<X*> va_x; }; class …

c++ c++11 unique-ptr ownership
Is a stored procedure with EXECUTE AS OWNER a valid replacement for a view selecting from third-schema tables?

A database user A should only have access to specific data. This data is currently provided by a view B.…

sql sql-server stored-procedures permissions ownership
Taking ownership of files with 'broken' permissions

I'm trying to overcome the following situation. Given a directory stored on an NTFS volume, where: The directory owner is …

c# file-permissions ntfs ownership
Create a new record with a specific owner without calling AssignRequest in CRM 2011

In our application, we create a few thousand phonecall records. Each phonecall should have a different owner, determined by a …

c# dynamics-crm-2011 dynamics-crm assign ownership
C++ How to retrieve a file permission and ownership via win32 api

I've been searching over the internet how to retrieve permissions and ownership of a file using win32 api, and yet …

c++ file winapi permissions ownership