False access denied - SOLVED

This forum is dedicated to basic help and support :

Ask here your questions about basic installation and usage of Mageia. For example you may post here all your questions about getting Mageia isos and installing it, configuring your printer, using your word processor etc.

Try to ask your questions in the right sub-forum with as much details as you can gather. the more precise the question will be, the more likely you are to get a useful answer

False access denied - SOLVED

Postby GersonLearchman » Jun 24th, '21, 15:09

Something that never happened to me with other distributions including Mageia 7 was that when copying a file from /home to another backup partition on the same disk, it did it without showing warnings, but now in Mageia 8 I get an informative window telling me:
"Access denied to..." (as seen in the image); however, the file in question that I am moving or copying does move or copy to the destination. The partition has all permissions enabled; so much so that from there I copy or move files to /home.
How do I fix it or is it a bug in Mageia 8?
I clarify that this does not happen to me if I copy or move a file from /home to an external drive or USB.

Translated with http://www.DeepL.com/Translator (free version)
Attachments
jue-24-jun-2021-09-51.png
jue-24-jun-2021-09-51.png (138.89 KiB) Viewed 215 times
Last edited by GersonLearchman on Jun 24th, '21, 19:25, edited 1 time in total.
Quien no teme preguntar, no teme aprender. :idea:
User avatar
GersonLearchman
 
Posts: 38
Joined: Aug 16th, '19, 20:48

Re: False access denied

Postby doktor5000 » Jun 24th, '21, 15:38

That sounds like https://bugs.mageia.org/show_bug.cgi?id=25922 which is an upstream bug.

Can you please show the outputs of
Code: Select all
df -PhT /media/windows
mount | grep /media/windows
cat /etc/fstab
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 16739
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: False access denied

Postby GersonLearchman » Jun 24th, '21, 16:52

The results are as follows:
Code: Select all
[ghermain@ghermain ~]$ df -PhT /media/windows
S.ficheros     Tipo    Tamaño Usados  Disp Uso% Montado en
/dev/sda5      fuseblk   839G   622G  217G  75% /media/windows
[ghermain@ghermain ~]$ mount | grep /media/windows
/dev/sda5 on /media/windows type fuseblk (rw,nosuid,nodev,relatime,user_id=0,group_id=0,default_permissions,allow_other,blksize=4096)
[ghermain@ghermain ~]$ cat /etc/fstab
# Entry for /dev/sda3 :
UUID=5c8d6014-cb4a-401e-86a6-d34abb4108a1 / ext4 defaults 1 1
# Entry for /dev/sda1 :
UUID=8BF9-0D26 /boot/EFI vfat defaults,umask=000 0 0
# Entry for /dev/sda4 :
UUID=d188ba97-dc8a-463b-959f-6f8540c0f285 /home ext4 defaults 1 2
# Entry for /dev/sda5 :
UUID=8EEE7F49EE7F291B /media/windows ntfs-3g defaults,nofail,umask=000 0 0
none /proc proc defaults 0 0
# Entry for /dev/sda2 :
UUID=3700208c-9896-43e0-8148-be5693056295 swap swap defaults 0 0
[ghermain@ghermain ~]$
Last edited by isadora on Jun 24th, '21, 17:08, edited 1 time in total.
Reason: Please place command-output between [CODE]-tags, to improve readability, thanks ahead!!! ;)
Quien no teme preguntar, no teme aprender. :idea:
User avatar
GersonLearchman
 
Posts: 38
Joined: Aug 16th, '19, 20:48

Re: False access denied

Postby doktor5000 » Jun 24th, '21, 18:55

GersonLearchman wrote:[ghermain@ghermain ~]$ cat /etc/fstab

# Entry for /dev/sda5 :
UUID=8EEE7F49EE7F291B /media/windows ntfs-3g defaults,nofail,umask=000 0 0


According to the bug it might help if you remove the umask=000 part from the entry for your windows partition.

You could also try to add uid and gid options for the user that should have full access.

I simply commented out the default entries for windows partitions in /etc/fstab and mount them via the desktop environment.
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 16739
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: False access denied

Postby GersonLearchman » Jun 24th, '21, 19:24

Thank you very much, corrected.
I deleted according to your suggestion the "umask=000" part of the "windows" partition in /etc/fstab, rebooted and tried again to cut a file from /home and paste in the other partition and I don't get the warning anymore.
I consider the issue solved.
Quien no teme preguntar, no teme aprender. :idea:
User avatar
GersonLearchman
 
Posts: 38
Joined: Aug 16th, '19, 20:48

Re: False access denied - SOLVED

Postby GersonLearchman » Jun 27th, '21, 12:00

Good morning. The problem is solved by editing "/etc/fstab" and deleting "umask=000" in the session, but when I reboot or in a new session it appears again, and I have to edit the file again. How do I fix it definitively?
Code: Select all
# Entry for /dev/sda3 :
UUID=5c8d6014-cb4a-401e-86a6-d34abb4108a1 / ext4 defaults 1 1
# Entry for /dev/sda1 :
UUID=8BF9-0D26 /boot/EFI vfat defaults,umask=000 0 0
# Entry for /dev/sda4 :
UUID=d188ba97-dc8a-463b-959f-6f8540c0f285 /home ext4 defaults 1 2
# Entry for /dev/sda5 :
UUID=8EEE7F49EE7F291B /media/windows ntfs-3g defaults,nofail,umask=000 0 0
none /proc proc defaults 0 0
# Entry for /dev/sda2 :
UUID=3700208c-9896-43e0-8148-be5693056295 swap swap defaults 0 0
Quien no teme preguntar, no teme aprender. :idea:
User avatar
GersonLearchman
 
Posts: 38
Joined: Aug 16th, '19, 20:48

Re: False access denied - SOLVED

Postby doktor5000 » Jun 29th, '21, 17:20

Sorry but that doesn't make any sense. Once you edit /etc/fstab and save it, those options are used starting the next time you mount whichever entry you changed.

Please show the output of
Code: Select all
grep /media/windows /etc/fstab
mount | grep /media/windows
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 16739
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany


Return to Basic support

Who is online

Users browsing this forum: No registered users and 1 guest