Skip to main content

All Questions

Tagged with
0 votes
0 answers
19 views

Ubuntu 20.04: php lacking permissions to access /var/www/html

I'm trying to write contents to file, however I constantly receive error about lacking permission. fopen(/var/www/html/files/l.log) Failed to open stream permission denied in /var/www/html/files/file....
Mixtuur's user avatar
-1 votes
1 answer
37 views

Execute windows exe files on wsl after metadata,umask=022, fmask=111

WSL can't run any exe files after I added options = "metadata,umask=022,fmask=111" to wsl config. The reason I did this is so I can share ssh keys from a parent windows machine. So I would ...
user1016976's user avatar
0 votes
0 answers
104 views

How to be able to access all folders on Ubuntu when using Visual Studio Code Remote?

I have my user which seem to be in the sudo group: myuser@server:~$ groups myuser myuser : myuser adm cdrom sudo dip plugdev But when I use Visual Studio remote with SSH, it doesn't give me the ...
Stackerito's user avatar
0 votes
0 answers
157 views

Create file on AD samba share: Permission denied

I am setting up a samba active directory server (inside fmstrat docker container) on ubuntu server 22.04. After some trial on error I achieved: hosting an AD server on my ubuntu server joining a ...
bas's user avatar
  • 331
0 votes
0 answers
127 views

SSH Connection - Permission denied on MacBook

I am having problems with my newly setup Ubuntu 22.04 LTS server. My goal is to access the server via SSH from my laptop. But I cannot connect and get an "Permission denied" error after ...
SJF's user avatar
  • 1
0 votes
0 answers
132 views

Samba Server does restrict writing but not browsing or reading

I made a Samba Server with 3 shares for each user and I would like to restrict access to it so only those users can access their folder. I have been browsing so much only that I got a mad headache ...
Tobias's user avatar
  • 1
0 votes
1 answer
29 views

Imported wsl instance has folders with wrong owner/group and cannot be modified [duplicate]

I imported a WSL instance to keep my development environment close to that of my co-workers. Unfortunately, the owner and group of folders like /mnt/c are of the person who created that wsl instance. ...
Tyler Shellberg's user avatar
1 vote
1 answer
749 views

How to safely change uid and gid for apache user (www-data) on Ubuntu 22.04

I have a quite specific situation where a migration needs to happen from one brand od linux to ubuntu 22.04. So far, so good. Among other things original setup have multiple users and respective ...
Darko Miletic's user avatar
0 votes
0 answers
18 views

Do I need to take ownership to be able to delete/move files?

I run bittorrent-nox on my little seed box and since I switched from NTFS to ext4 now sometimes the files will not let me edit them over SAMBA file share - it tells me I need to be the bittorrent nox ...
Jay Croghan's user avatar
0 votes
0 answers
224 views

MySQL workbench permission denied for files in media drives under "Other Locations" of Ubuntu 22.04 LTS

I've freshly installed MySQL workbench in a new Ubuntu system (Ubuntu 22.04 LTS) through Ubuntu Software center and all installations and database connections are configured smoothly. But when I try ...
mpsbhat's user avatar
  • 101
1 vote
0 answers
94 views

Docker container unable to write to removable drive

I currently am running Ubuntu Jammy and have a docker container that needs to write to two external drives that were automatically mounted to /media/MYUSER/MYDRIVE while both are mounted correctly and ...
Ponyboy's user avatar
  • 21
0 votes
2 answers
7k views

PHP file_put_contents: Failed to open stream: Permission denied

I want to store images using PHP, so I am using the following code: $encodedCard = isset($_POST["card"])? $_POST["card"] : null; $name = isset($_POST["fn"]) ? $...
Maulik Pratap Singhal's user avatar
0 votes
0 answers
93 views

Why do permissions change randomly when mounting via 9p method?

The mounting is working perfectly fine. I mount the external share by using fstab with the following config: data /home/data 9p trans=virtio,version=9p2000.L,_netdev,rw,uid=...
carlchen's user avatar
0 votes
1 answer
1k views

Unable to connect to server as root via ssh

I want to use remote explorer in VS Code on Windows to access a server from Ubuntu. Entering a password all the time is annoying, so I tried generating an ssh key using ssh-keygen. The key works fine ...
Andrew's user avatar
  • 3
1 vote
0 answers
452 views

Ffmpeg No such file or directory creating hls output

I am using ffmpeg to create a hls live stream with the following command ffmpeg -i "rtmp://domain.com/stream/6" -c:v copy -c:a copy -f hls -y -preset superfast -hls_segment_type mpegts -...
user72261's user avatar

15 30 50 per page
1
2 3 4 5
24