This post has been de-listed
It is no longer included in search results and normal feeds (front page, hot posts, subreddit posts, etc). It remains visible only via the author's post history.
Mount a drive like this, substituting 1000 for any user ID you want (except 0 for the purposes of this example):
sudo mount -t drvfs C: /mnt/c -o metadata,uid=1000
Now, under the drive file system, run this command:
sudo touch example.txt
You will see that example.txt is owned by user 1000 and not root! This is not good, to understate things. It means, for example, that web server processes that have access to the drive will create files that are owned by user 1000 (or whatever you set) and not the user the web server is configured to run as. I discovered this in trying to get a LEMP stack to run WordPress on my C: drive.
Subreddit
Post Details
- Posted
- 4 years ago
- Reddit URL
- View post on reddit.com
- External URL
- reddit.com/r/bashonubunt...