Questions tagged [owner]

33 questions
0
votes
1 answer

Proper rights and owner for web executable file saving/reading sensitive information

I have app wrote in php that saves and reads sensitive information into file /sensitive/sensitive.txt. File that is saving and reading sensitive information is user.php. The whole app is in a separate folder. Ideally only root user could read the…
0
votes
2 answers

Linux & NFS: Atomic compare-and-exchange of file ownership

My IT department made an error and chowned every file on the filesystem to root:OurGroup. Then their automatic backup (i.e. .snapshop) system created a snapshot, so we no longer have a reference of what the permissions were before. I'm trying to…
iAdjunct
  • 141
  • 9
0
votes
0 answers

How to search for all files owned by a particular user in SAN

My question might be confused you but honestly that very straight forward. I have a SAN with many terabytes of data. All users have their own home directory or share directory on that (And most connections handles with NFS). I am looking for a…
Debian
  • 51
  • 1
  • 2
  • 5
0
votes
1 answer

I can no longer SSH to a VM on GCP after breaking ssh configuration

I am starting to use GCP. I fixed a server (redhat), connected to it (using SSH, directly from GCP console) and deployed my application, everything worked well To try to fix something I played with the authorizations on some folder of my server. And…
Pierre
  • 1
0
votes
1 answer

Putty: pscp file transfer change permission

I am transferring my file using pscp with the command below: pscp target\app.war root@127.0.0.1:/jetty/webapps What would be the syntax to change the ownership of the app.war file ? In other words to perform chown -R jetty:jetty to the app.war…
0
votes
1 answer

lxc/lxd iptables ouput owner rule errors out with "Invalid argument."

If I try to run the following command in my lxc/lxd Ubuntu 14.04 amd64 container: iptables -A OUTPUT -p tcp -m owner --uid-owner 0 -m tcp --dport 80 -j ACCEPT I get the following error message: iptables: Invalid argument. Run `dmesg' for more…
pleasedesktop
  • 201
  • 1
  • 4
  • 9
0
votes
1 answer

the actual link permissions aren't used for anything - What about Ownership?

After months of intermittent attempts to discover what was causing these Forbidden errors I've discovered evidence that strongly suggests Apache2 uses the actual link's ownership and group. I have a VPS running ubuntu 14.04 I have apache2 setup and…
0
votes
1 answer

Prevent changing ownership of a file

I have file with 777 permission. How can I prevent changing ownership of that file by others? ie I need to prevent chown x:y myfile myfile is actually a log file written from web. it's ownership is www-data.
Harikrishnan
  • 1,159
  • 2
  • 14
  • 32
0
votes
1 answer

Linux permissions for multiple groups

I have a directory (With sub directories and files) that I would like to setup so that: -Users of an 'editors' group can rw- any file and rwx any dirs. -Users of www-data can r-- files and r-x dirs. But there doesn't seem to be a way to do this. Can…
Myforwik
  • 261
  • 1
  • 7
0
votes
2 answers

How to set ownership on a webserver

We have an internal server where we work on with 3 users. It is running ubuntu with apache mysql proftpd We often have permission errors. Sometimes we can't overwrite files but we can delete them etc. What would be a good way to set this up. Who…
Jarco
  • 101
  • 2
0
votes
2 answers

How can PHP be configured so that uploaded files are not saved with the APACHE user?

A php script uploads files to my server but folders MUST be 0777 in order to allow PHP to move files there. This is not safe. Additionally, all created directories and uploaded files are owned by apache and not by me. How can I change PHP's…
tundoopani
  • 11
  • 1
  • 5
0
votes
1 answer

help me with permissions of next linux files and directories

while checkin my server, decided to find all files/directories that are owned by user bin. i found…
user48058
  • 863
  • 3
  • 12
  • 20
0
votes
0 answers

How to change the owner of a file to that user when a user modifies a file

I am using Ubuntu 20.04 version. I want to satisfy two conditions in an environment with multiple users. Users will all upload files via ftp. Multiple users should be active in one home directory. And in order to know who the last person was, when a…
0
votes
1 answer

Linux find command to return files AND owner of files NOT owned by specified user

I have the following terminal command: find /home/not_this/ \! -user not_this_user_account The goal is to find all the files and directories not owned by the specified user and this version of the find command works great. However I'd really like…
John
  • 134
  • 10
0
votes
1 answer

Google Cloud Project with No Owner

We have a Google Cloud project on my team and the owner has since left the organization. We still have access to the project because someone on my team in an editor but editors cannot give others access. She is leaving the team and we are trying to…