Questions tagged [file-ownership]

A file system attribute used mainly for access control to file resources.

Many operating systems utilize the concept of file ownership to identify a specific system user as the owner of a file or directory. Where classes of users may be granted varying privileges for access to a file or directory (typically read, write, execute, or variations of those), the owner will have distinct permissions.

Useful links:

120 questions
0
votes
1 answer

Verify ownership of a website

I'm creating a website where people can sell and buy digital products like websites, domains, scripts etc. My question is how can I determine if the user who wants to sell his website is really the owner of the website and not just an administrator…
DevMan
  • 538
  • 1
  • 5
  • 25
0
votes
0 answers

How to Retrieve File's Owner as a Session UserName Not a GroupName?

On a local network I'm using this code : string user = System.IO.File.GetAccessControl(path).GetOwner(typeof(System.Security.Principal.NTAccount)).ToString(); This returns : "BUILTIN\Administrators" Not The Session UserName which created the…
user4206342
0
votes
1 answer

Cannot start postgreSQL, attached error log

Can't start the postgreSQL service, I performed my first install today by running: sudo apt-get install postgresql postgresql-contrib Got the following output: Reading package lists... Done Building dependency tree Reading state…
0
votes
1 answer

WordPress files permissions on Apache

What is the best approach with files permissions for WordPress site on Apache? I'd like to be able to upload plugins directly to my local server. I'm able to do that if I change ownership on my WordPress instance files to _www. On the other hand,…
Robo Robok
  • 21,132
  • 17
  • 68
  • 126
0
votes
2 answers

How to automatically setup group in subdirectory in Linux

I would like to ensure that in only one particular directory on linux server will have newly-created directory setup particular group? I.e.: I have directory /data with ownership "user1:global_group" and every new subdirectory should have group…
charkh
  • 169
  • 1
  • 3
  • 13
0
votes
2 answers

NSIS changes dir/file ownership on Win platforms

I've been using NSIS as a packaging tool on a Windows 7 box. I've very carefully set the file ownership and permissions to what I want in the source directory. However, when I perform the packaging and then deploy the package, it has changed all…
Jim2B
  • 167
  • 9
0
votes
1 answer

Cannot Execute sudo

I had accidentally changed ownership of /usr/lib and it's sub folders and files to a user 'A' from it's previous owner 'root'. Now I'm unable to run any command with sudo since root doesn't own usr/lib/sudo/sudoers.so file.
0
votes
1 answer

rsync local root to remote server with non root preserve user:group it's possible

I'm writing code for create a backup rsync based. On server a run code how root, and send with rsync some question about system, and all users accounts. On backup server put content (via rsync) on one user account (user) Try -azhEX --numeric-ids and…
abkrim
  • 3,512
  • 7
  • 43
  • 69
0
votes
1 answer

Plone site files owner

I accidentally changed owner of all files on my plone site to plone, and I don't know how to fix this without reinstalling site, which won't be acceptable. I have backup version which keeps default owners but it's changed in the meanwhile on the…
0
votes
1 answer

Files owner on Joomla website

I need some suggestions about Joomla's files and folders ownership. I'm working with a Joomla 2.5 website, hosted on a linux-apache server which hasn't suPHP module. After one year of usage some files are owned by apache-user, and others by the ftp…
user2132234
  • 301
  • 2
  • 4
  • 14
0
votes
1 answer

Google Drive Change File Permissions within a folder

I wondered if someone could help. We use Google Apps for Education. Within the system we have a shared folder where teachers can place files for students to access. E.g. The entire team of 8 science teachers all add files to "Science Shared."…
0
votes
1 answer

GREP for String owned by a certain group

I need to do something like this grep -R 'MyString' dir/ But instead of searching within a directory, I'd like to search all files owned by a specific group. Is this possible?
ZakTaccardi
  • 12,212
  • 15
  • 59
  • 107
0
votes
1 answer

Perserving File Ownership Win7 Share

I am trying to setup a "dropbox" on a Win7 workstation we will use to process simulation jobs. My plan was to pull ownership from file (do a simple dir /q "filename") so I can use the owner information during the simulation (send them an email when…
JoeB
  • 1
0
votes
1 answer

How to send actions to targets other than File's Owner?

I am trying to send actions from button touches to a controller other than the one acting as File's Owner. I have four distinct areas of the screen that I would like managed by four separate controllers (buttonController, toolbarController,…
0
votes
1 answer

set default owner for new file in fedora

My system will auto create an image file for captcha. I want the captcha to have a default owner of "my_username apache" when it was created. currently it was created with owner such as this "apache apache" I am using Fedora. Kindly tell me what…
Blue Eye
  • 49
  • 1
  • 9