linuxdeepin / developer-center

Deepin developer center, provide developer wiki and community forum.
452 stars 73 forks source link

Sometimes disk are not mounted with write permissions #2265

Closed SalahAdDin closed 2 years ago

SalahAdDin commented 6 years ago

Some time when i open my other disk i get a behavie like this: deepin-screen-recorder_dde-file-manager_20180717105813 As you can see, the disk is showed without an ammount space or amount occuppied space(red line in addition). When it happens I can open and copy files, but I cannot paste files.

Why?

BLumia commented 6 years ago

Are you using a read only device or mount your disk as read only? Which file system this device/volume used?

SalahAdDin commented 6 years ago

It is a partition in my hard disk, one contains windows, the other contains my data, both are NTFS.

BLumia commented 6 years ago

If you enabled fast boot / fast startup on your windows, when you normally poweroff windows and boot up linux, the ntfs partitions (aka. hibernated Windows partitions) will be read only. That's normal and this behavior is not releated with any file manager application.

SalahAdDin commented 6 years ago

It has nothing to see with Windows fast boot, please read the issue, I have no problems with nautilus ever.

BLumia commented 6 years ago

As you mentioned some time maybe when you checking this function with nautilus after Windows reboot(different with poweroff), please ensure you did uncheck the Turn on fast startup option (from Windows setting, at Control Panel > Power Options.), and when you got this issue with dde-file-manager, please check if nautilus also have this problem at the same session (don't reboot your computer).

SalahAdDin commented 6 years ago

No, normally it happens all time whether reboot from windows or not. The most of the time it happens after reboot linux.

BLumia commented 6 years ago

I can't reproduce this issue.

It shouln't happen since linux itself doesn't do anything about labeling a patition as hibernated. So please do check if you unchecked the Turn on fast startup option first. This will only be happend when you enable the fast startup feature on your Windows, and you do poweroff / halt your PC and then switch to linux.

Next time when this issue happend, please do also check if nautilus can write files or not (in the same login session).

Provide more information (which distro you are using, which version of dde-file-manager you are using, related log file, lsblk, etc...) is also useful for tracking a bug.

SalahAdDin commented 6 years ago

Ok, i have news:

I was in a session whit this curious issue, so, i proceded to reboot my computer, from linux; i entered again in session and i didn't get this error: deepinscreenshot_dde-file-manager_20180719151413 This is the date: 20180719151413

After that i rebooted once time more trying to test this issue, no problem.

But after that i had a reboot because of thermal throttling and i tested this issue again, i got it one more time: deepinscreenshot_dde-file-manager_20180719160124

Why?

And we still have another current issue: deepinscreenshot_dde-file-manager_20180719160108 OS folder permissions.

SalahAdDin commented 6 years ago

I tested nautilus permissions: deepin-screen-recorder_select area_20180719162723

SalahAdDin commented 6 years ago

I had to reboot again because the desktops weren't working(all was playing, music for example, but i couldn't change between desktops and windows, alt+tab and super + -> was not working.

I get this bug again.

BLumia commented 6 years ago

You still haven't provide more useful information like the version of dde-file-mannager(DFM in short) you are using, the related log file and so on. Just saying "it doesn't work" won't help to find out what's the problem is. So hope next time when you got this issue, please comment with at least these informations:

Things like processing alt+tab is done by the window manager, that also won't cause problem about device mounting and vice versa.

btw, I'm not sure if nautilus provide function like force mount as writeable which can reset the hibernated label just like ntfs3g mount rw does. DFM don't provide function like this for now in order to keep your file safe.

You can also try use gvfs-mount to mount the patition and check if it's writeable since v1.7 of DFM are using gvfs as the backend(will be changed to udisks2 in v1.8).

SalahAdDin commented 6 years ago

I'm sorry:

OS: Arch Linux
Kernel: x86_64 Linux 4.17.6-1-ARCH
Uptime: 15h 24m
Packages: 1434
Shell: zsh 5.5.1
Resolution: 1920x1080
DE: Deepin 15.6
WM: Deepin WM
WM Theme: Materia-light-compact
GTK Theme: Materia-light-compact [GTK2/3]
Icon Theme: Halo
CPU: Intel Core i7-4720HQ @ 8x 3.6GHz [64.0°C]
GPU: GeForce GTX 960M
RAM: 8452MiB / 15932MiB

These are my deepin packages:

local/deepin-account-faces 1.0.10-2 (deepin)
    Account faces for Linux Deepin
local/deepin-anything 0.0.1-2 (deepin)
    Deepin Anything file search tool
local/deepin-api 3.1.26-1 (deepin)
    Go-lang bindings for dde-daemon
local/deepin-calculator 1.0.4-1 (deepin-extra)
    An easy to use calculator for ordinary users
local/deepin-calendar 1.2.3-1 (deepin)
    Calendar for Deepin Desktop Environment
local/deepin-clutter 1.26.2-1
    A toolkit for creating fast, portable, compelling dynamic UIs for Deepin
local/deepin-cogl 1.22.5-1
    An object oriented GL/GLES Abstraction/Utility Layer for Deepin
local/deepin-control-center 4.5.5-1 (deepin)
    New control center for linux deepin
local/deepin-daemon 3.2.20-1 (deepin)
    Daemon handling the DDE session settings
local/deepin-dbus-factory 3.1.16-1
    GO DBus factory for DDE
local/deepin-dbus-generator 0.6.6-2
    Convert dbus interfaces to go-lang or qml wrapper code
local/deepin-desktop-base 1:2018.6.07-1 (deepin)
    Base component for Deepin
local/deepin-desktop-schemas 3.2.14-1 (deepin)
    GSettings deepin desktop-wide schemas
local/deepin-dock 4.6.6-2 (deepin)
    Deepin desktop-environment - dock module
local/deepin-file-manager 1:4.5.6.2-1 (deepin)
    Deepin File Manager
local/deepin-gettext-tools 1.0.8-1
    Deepin Gettext Tools
local/deepin-gir-generator 1.0.3-1
    Generate static golang bindings for GObject
local/deepin-go-lib 1.2.12-1
    A library containing many useful go routines for things such as glib, gettext, archive, graphic,etc.
local/deepin-grub2-themes 1.0.0-3 (deepin)
    Deepin grub2 themes
local/deepin-gtk-theme 17.10.6-1 (deepin)
    Deepin GTK Theme
local/deepin-help 15.5-1 (deepin)
    Help files for DDE
local/deepin-icon-theme 15.12.58-1
    Deepin Icons
local/deepin-image-viewer 1.2.22-1 (deepin)
    Deepin Image Viewer
local/deepin-launcher 4.3.10-3 (deepin)
    Deepin desktop-environment - Launcher module
local/deepin-manual 2.0.9.3-1 (deepin)
    Deepin User Manual
local/deepin-menu 3.3.8-1 (deepin)
    Deepin menu service for building beautiful menus
local/deepin-metacity 3.22.19-2
    2D window manager for Deepin
local/deepin-movie 1:3.2.7-1 (deepin-extra)
    Movie player based on QtAV
local/deepin-music 3.1.8.3-1 (deepin-extra)
    Awesome music player with brilliant and tweakful UI Deepin-UI based.
local/deepin-mutter 3.20.30-1
    Base window manager for deepin, fork of gnome mutter
local/deepin-nautilus-properties 3.14.3-1
    Provide file property dialog for Deepin desktop environment
local/deepin-notifications 3.3.4-2 (deepin)
    System notifications for linuxdeepin desktop environment
local/deepin-polkit-agent 0.2.1-1
    Deepin Polkit Agent
local/deepin-polkit-agent-ext-gnomekeyring 0.1.0-1 (deepin)
    GNOME keyring extension for dde-polkit-agent
local/deepin-qml-dbus-factory 3.0.6-1
    Deepin QML DBus Factory
local/deepin-qml-widgets 2.3.6-1
    Deepin QML widgets
local/deepin-qt-dbus-factory 1.0.2-3
    A repository stores auto-generated Qt5 dbus code
local/deepin-qt5dxcb-plugin 1.1.9.2-1 (deepin)
    Qt platform plugins for DDE
local/deepin-qt5integration 0.3.0-3 (deepin)
    Qt platform theme integration plugins for DDE
local/deepin-screen-recorder 2.7.4-2 (deepin-extra)
    Deepin Screen Recorder
local/deepin-screenshot 4.0.16-1 (deepin-extra)
    Easy-to-use screenshot tool for linuxdeepin desktop environment
local/deepin-session-ui 4.4.5-3 (deepin)
    Deepin desktop-environment - Session UI module
local/deepin-shortcut-viewer 1.3.5-1 (deepin)
    Deepin Shortcut Viewer
local/deepin-social-sharing 1.1.4-1 (deepin)
    Deepin social sharing service
local/deepin-sound-theme 15.10.2-1 (deepin)
    Deepin sound theme
local/deepin-system-monitor 1.4.4-2 (deepin)
    A more user-friendly system monitor
local/deepin-terminal 3.0.0-2 (deepin-extra)
    Default terminal emulation application for Deepin
local/deepin-voice-recorder 1.3.7-1 (deepin-extra)
    Deepin Voice Recorder
local/deepin-wallpapers 1:1.7.4-1 (deepin)
    Deepin Wallpapers
local/deepin-wm 1.9.28-1
    Deepin Window Manager
local/dtkwidget 2.0.8.1-4
    Deepin graphical user interface library
local/dtkwm 2.0.8.1-3
    Deepin Tool Kit Wm
local/python-dae 1.0.2-1
    Deepin desktop application engine
local/startdde 3.1.33-1 (deepin)
    starter of deepin desktop environment

As i told you before, no, i didn't turn on fast startup in Windows, i disabled it long time ago.

SalahAdDin commented 6 years ago

I just updated deepin desktop today, i rebooted my laptop and i still have this problem.

BLumia commented 6 years ago

Not sure if Arch got a new version of deepin-file-manager release. We are planning to release a new version in the next few days, hopefully it will fix your problem.

btw, did ntfsfix works on your read only partition?

SalahAdDin commented 6 years ago

I haven't this problem yet, after three times all works fine; however, i will test it after reboot from windows, if in the future i get this problem again i will reopen this issue.

SalahAdDin commented 6 years ago

It happened again. And Again.

SiamSami commented 5 years ago

Have you installed ntfs-3g ?

SalahAdDin commented 5 years ago

@SiamSami I think no, i don't install anything after Deepin, just development software. But, i will review it after.

SiamSami commented 5 years ago

@SalahAdDin ntfs-3g is a program in Archlinux which helps us to browse NTFS partitions(Windows partition) with write permission. You should try installing it.

SiamSami commented 5 years ago

@SalahAdDin Is it fixed now?

SalahAdDin commented 5 years ago

@SiamSami I will check it, but until now, it is not working.

SiamSami commented 4 years ago

@SalahAdDin Is it still not working? If not, then try installing this, https://github.com/SiamSami/Automount-partition

SalahAdDin commented 4 years ago

@SiamSami I think they are not working in deepin so much, it is partially broken on Manjaro.

BLumia commented 2 years ago

Sorry I'm no longer working on dde-file-manager project for a long time and there are now a complete different development team for the file manager project. The file manager project may change a lot in the 2 years so maybe your issue has been resolved now.

I did try to reproduce this issue on a deepin v20.4 installation with dde-file-manager 5.5.3-1 installed, and I'm not be able to reproduce this issue, so hopefully this issue is addressed in the most recent version.

We are processing a bunch of old issues for now so unreproducible ancient issues will be closed. I suggest you try the most recent version of dde-file-manager and see if this issue still happens. If it does, please feel free to create another issue with your current installation information so we can look into it.

Thanks!

SalahAdDin commented 2 years ago

Sorry I'm no longer working on dde-file-manager project for a long time and there are now a complete different development team for the file manager project. The file manager project may change a lot in the 2 years so maybe your issue has been resolved now.

I did try to reproduce this issue on a deepin v20.4 installation with dde-file-manager 5.5.3-1 installed, and I'm not be able to reproduce this issue, so hopefully this issue is addressed in the most recent version.

We are processing a bunch of old issues for now so unreproducible ancient issues will be closed. I suggest you try the most recent version of dde-file-manager and see if this issue still happens. If it does, please feel free to create another issue with your current installation information so we can look into it.

Thanks!

Thank you, I will check it later.