This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Copying from external NTFS to internal NTFS pops up message

Tags: None
(comma "," separated)
alvanx
Registered Member
Posts
136
Karma
1
OS
Hi, I recently changed around some partitions. One of the things I did was that I changed the partition that I use in both Linux and Windows for files I need on both systems from FAT32 to NTFS. It is mounted in /home/alvanx/WIN.

Now I run into a problem that when I copy files from an external hard disc in NTFS to this drive. A message pops up for every single file that is being copied! The popup reads a warning that access rights can't be changed for the target file (i.e. the location on my partition). The files still get copied, but you can imagine how cumbersome it would be if I wanted to copy a folder with many files (which is exactly what I want to do). The partition is mounted with the option "users", I think, to where any user can use it. The files on it belong to my own user account. I think the setup was the same when the partition was still in FAT32. I was wondering now - is there any problem with the NTFS3g driver, or with the way my drive is mounted? THis is a rather strange symptom, after all.

This problem only occurs when copying from external NTFS to internal NTFS partition. It does not occur the other way round, or when copying from external to native linux, or from native linux to the internal NTFS and so on. Fortunately, I've been able to work around these messages in super user mode - apparently, only normal user mode is affected.

Grateful for tips and help! :-)
User avatar
google01103
Manager
Posts
6668
Karma
25
could you post the actual line in /etc/fstab that mounts the ntfs drive

I use the following with no problem
/dev/disk/by-id/ata-Maxtor_6L300S0_L62257XG-part1 /MyBackUp ntfs-3g noatime,user,default 0 0

what is result of
Code: Select all
mount | grep /home/alvanx/WIN

what is result of
Code: Select all
 ls -l | head /home/alvanx/WIN


OpenSuse Leap 42.1 x64, Plasma 5.x

alvanx
Registered Member
Posts
136
Karma
1
OS
Thank you for your reply!

Code: Select all
/dev/sda6 /home/alvanx/WIN/    ntfs-3g    user,users,gid=users,umask=0002 0 0


Code: Select all
mount | grep /home/alvanx/WIN
/dev/sda6 on /home/alvanx/WIN type fuseblk (rw,nosuid,nodev,noexec,relatime,user_id=0,group_id=0,default_permissions,allow_other,blksize=4096)


Code: Select all
ls -l | head /home/alvanx/WIN
head: Fehler beim Lesen von „/home/alvanx/WIN“: Ist ein Verzeichnis # which means: Error reading [path]: Is a directory.
User avatar
google01103
Manager
Posts
6668
Karma
25
first (my bad) the command should have been
Code: Select all
 ls -l /home/alvanx/WIN | head


only thing I can think of is you aren't a member of the group users

can you try changing umask to 0000 instead of 0002, this allows write access to owner, group and other


OpenSuse Leap 42.1 x64, Plasma 5.x

alvanx
Registered Member
Posts
136
Karma
1
OS
Code: Select all
ls -l /home/alvanx/WIN | head
insgesamt 805218
-rwxrwxr-x 1 root users 59708975  9. Sep 10:03 [mp3-file; this is 9 lines for 9 different files.]


I am member of "users" (is the default group on openSUSE). I'm just not sure what the other parameters are good for, I think I either used the ones I had used before or copied some from the openSUSE wiki.

Ok, I'm changing the umask value to 0000. It's going to be a bit before I can see if it worked; I have to regain access to my plasma desktop again.
User avatar
google01103
Manager
Posts
6668
Karma
25
It is your /etc/fstab entry causing the problem, when I change my ntfs-3g to have your options I see the error you mention - please change the entry to
Code: Select all
/dev/sda6 /home/alvanx/WIN/    ntfs-3g   user,users,relatime 0 0

The problem is with the umask= and/or the gid=, no idea why but maybe they and ntfs partitions don't mix. Of course this means user, group and other have read write access so if this is an issue you may with to research it


OpenSuse Leap 42.1 x64, Plasma 5.x

alvanx
Registered Member
Posts
136
Karma
1
OS
I finally had a chance to actually verify that it works now. It does. Thank you!


Bookmarks



Who is online

Registered users: Bing [Bot], Google [Bot], kde-naveen, Sogou [Bot], Yahoo [Bot]