AskOverflow.Dev

AskOverflow.Dev Logo AskOverflow.Dev Logo

AskOverflow.Dev Navigation

  • 主页
  • 系统&网络
  • Ubuntu
  • Unix
  • DBA
  • Computer
  • Coding
  • LangChain

Mobile menu

Close
  • 主页
  • 系统&网络
    • 最新
    • 热门
    • 标签
  • Ubuntu
    • 最新
    • 热门
    • 标签
  • Unix
    • 最新
    • 标签
  • DBA
    • 最新
    • 标签
  • Computer
    • 最新
    • 标签
  • Coding
    • 最新
    • 标签
主页 / user-1032435

Dan Forbes's questions

Martin Hope
Dan Forbes
Asked: 2023-07-05 01:28:42 +0800 CST

Ubuntu Linux 上的 WD My Cloud NAS 没有写入权限

  • 6

我最近购买了新的 WD My Cloud,并且能够使用 FTP 应用程序将文件从运行 OMV 的旧机器传输到新 NAS。然而,我似乎无法将 NAS 正确安装到我的 Ubuntu 笔记本电脑上以启用写入访问。我已经包含了文件的输出/etc/fstab(我还使用管理员用户的用户名和密码安装了 NAS,而不是guest),以及与文件权限相关的各种信息以及我认为不起作用的内容期望工作(复制操作)。理想情况下,我不想必须取得 root 权限才能写入 NAS,但我现在将其作为权宜之计。

~: cat /etc/fstab
# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
# / was on /dev/nvme0n1p2 during installation
UUID=28376594-b7ab-42c1-bb8c-71a3c5a799e1 /               ext4    errors=remount-ro 0       1
# /boot/efi was on /dev/nvme0n1p1 during installation
UUID=E00C-C026  /boot/efi       vfat    umask=0077      0       1
/swapfile                                 none            swap    sw              0       0
//192.168.1.221/Public /media/big-turtle cifs rw,user,guest,vers=3.0

~: sudo umount /media/big-turtle
umount: /media/big-turtle: not mounted.

~: mount /media/big-turtle
mount: (hint) your fstab has been modified, but systemd still uses
       the old version; use 'systemctl daemon-reload' to reload.

~: cd /media/big-turtle
big-turtle: ll
total 4
drwxr-xr-x 2 dan  dan     0 Jul  4 13:16  ./
drwxr-xr-x 6 root root 4096 Jul  4 13:51  ../
drwxr-xr-x 2 dan  dan     0 Jul  4 13:25  Movies/
drwxr-xr-x 2 dan  dan     0 Jul  4 12:22 'Screen Art'/
drwxr-xr-x 2 dan  dan     0 Jul  4 10:26  Television/

big-turtle: whoami
dan

big-turtle: ll -n
total 4
drwxr-xr-x 2 1000 1000    0 Jul  4 13:16  ./
drwxr-xr-x 6    0    0 4096 Jul  4 13:51  ../
drwxr-xr-x 2 1000 1000    0 Jul  4 13:25  Movies/
drwxr-xr-x 2 1000 1000    0 Jul  4 12:22 'Screen Art'/
drwxr-xr-x 2 1000 1000    0 Jul  4 10:26  Television/

big-turtle: id
uid=1000(dan) gid=1000(dan) groups=1000(dan),4(adm),24(cdrom),27(sudo),30(dip),46(plugdev),121(lpadmin),131(lxd),132(sambashare)

big-turtle: mv ~/Downloads/Go.1999.720p.BluRay.999MB.HQ.x265.10bit-GalaxyRG\[TGx]/Go.mkv /media/big-turtle/Movies
mv: cannot create regular file '/media/big-turtle/Movies/Go.mkv': Permission denied

big-turtle: sudo mv ~/Downloads/Go.1999.720p.BluRay.999MB.HQ.x265.10bit-GalaxyRG\[TGx]/Go.mkv /media/big-turtle/Movies
[sudo] password for dan: 
mv: cannot create regular file '/media/big-turtle/Movies/Go.mkv': Permission denied

big-turtle: lsattr /media/big-turtle
lsattr: Operation not supported While reading flags on /media/big-turtle/Television
lsattr: Operation not supported While reading flags on /media/big-turtle/Movies
lsattr: Operation not supported While reading flags on /media/big-turtle/Screen Art
file-permissions
  • 1 个回答
  • 49 Views

Sidebar

Stats

  • 问题 205573
  • 回答 270741
  • 最佳答案 135370
  • 用户 68524
  • 热门
  • 回答
  • Marko Smith

    新安装后 postgres 的默认超级用户用户名/密码是什么?

    • 5 个回答
  • Marko Smith

    SFTP 使用什么端口?

    • 6 个回答
  • Marko Smith

    命令行列出 Windows Active Directory 组中的用户?

    • 9 个回答
  • Marko Smith

    什么是 Pem 文件,它与其他 OpenSSL 生成的密钥文件格式有何不同?

    • 3 个回答
  • Marko Smith

    如何确定bash变量是否为空?

    • 15 个回答
  • Martin Hope
    Tom Feiner 如何按大小对 du -h 输出进行排序 2009-02-26 05:42:42 +0800 CST
  • Martin Hope
    Noah Goodrich 什么是 Pem 文件,它与其他 OpenSSL 生成的密钥文件格式有何不同? 2009-05-19 18:24:42 +0800 CST
  • Martin Hope
    Brent 如何确定bash变量是否为空? 2009-05-13 09:54:48 +0800 CST
  • Martin Hope
    cletus 您如何找到在 Windows 中打开文件的进程? 2009-05-01 16:47:16 +0800 CST

热门标签

linux nginx windows networking ubuntu domain-name-system amazon-web-services active-directory apache-2.4 ssh

Explore

  • 主页
  • 问题
    • 最新
    • 热门
  • 标签
  • 帮助

Footer

AskOverflow.Dev

关于我们

  • 关于我们
  • 联系我们

Legal Stuff

  • Privacy Policy

Language

  • Pt
  • Server
  • Unix

© 2023 AskOverflow.DEV All Rights Reserve