Score:0

Weird permission issues with mounted lan folder

jp flag

I’m mounting lan location on boot

//192.168.255.10/alpha/Downloads /mnt/Downloads/ cifs credentials=/root/.smb_cred,uid=65534,gid=65534,file_mode=0777,dir_mode=0777,noperm 0 0

I can create and edit files as a regular user in terminal with no issues, but as soon as the running program is trying to edit .txt file it throws an error saying that it can’t access the file. I have a .net application that writes in to log.txt file in its home directory.

-rwxrwxrwx 1 nobody nogroup      0 Feb 14 02:50 log.txt

If I delete this file through terminal, the app will create it with no problem but as soon as it tries to write into it I’m thrown an exception saying that it can’t access it. It will throw that error even if I run it as root. I’m having this issues not only with .net apps, mysql server has exactly the same issue. When I point mysql server in to mounted location it will create #ib_redo file and immediately throw an error saying it can’t access it. I have the same issue with cifs and nfs protocols. On a server side - I’m using truenas with ACL, I’m logging in as a user that has full control of a shared folder.

I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.