Can't write to User share from Ubuntu VM


wayner

Recommended Posts

My user shares all have drwxrwxrwx when I do a ls -l  from a root ssh session.

drwxrwxrwx 1 nobody users 4096 Nov  6 08:28 appdata/
drwxrwxrwx 1 nobody users   21 Nov 11 18:51 data/
drwxrwxrwx 1 nobody users   25 Sep 12 18:19 domains/
drwxrwxrwx 1 nobody users    6 Dec 27  2021 downloads/
drwxrwxrwx 1 nobody users   78 Sep 13 22:51 isos/
drwxrwxrwx 1 nobody users  135 Jan 24  2022 media/
drwxrwxrwx 1 nobody users   35 Sep  8 18:01 system/

In an Ubuntu VM I create a director at /mnt called portrush_data.  Then I mount with:

sudo mount -t cifs -o username=user,password=pass //192.168.1.254/data /mnt/portrush_data

I am able to read but the shares in the folder all have permissions drwxr-xr-x and I can't write to any directories.  How do I fix this?
 

Link to comment
  • 1 month later...

Hi there!

 

I am a bit new to Ubuntu but I seem to have found myself in the same situation. Did you ever find a solution to this? I created a test file /movie which contains the following permissions:
drwxr-xr-x   2 root root          0 Dec 18 16:44 movie

 

From Unraid, this file should be giving all users read, write, and execute permissions:

drwxrwxrwx+ 1 nobody users   50 Dec 18 11:44 movie/

 

From what it looks like, it has something to do with Ubuntu not seeing its permissions the same as Unraid.

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.