LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 04-24-2024, 09:53 AM   #1
Tsuga
Member
 
Registered: Jul 2020
Distribution: Slackware64 15.0
Posts: 63

Rep: Reputation: Disabled
Paste files to NTFS partition returns access denied message


I dual boot Slackware64 15 and Windows 10. Slackware sees the Windows partition as an ntfs filesystem. I'm logged in to Slackware currently, where I downloaded some pictures. I used keyboard "ctl-X", cut and paste as opposed to copy and paste, to move the pics from the local Downloads folder to the ntfs partition, where I usually save everything. Each file returns a message like this as it pastes:
Access denied to /ntfsd/pictures/img_XXXX.jpg

I can either Retry or Cancel. But regardless of the message, the image copies over anyway. I don't understand why I'm getting that message while the file moves over anyway. The relevant line in /etc/mtab says:

Code:
/dev/sda6 /ntfsd fuseblk rw,relatime,user_id=0,group_id=0,default_permissions,allow_other,blksize=4096 0 0
and for /etc/fstab:

Code:
UUID=82CC1BFECC1BEAE5                            /ntfsd           ntfs        fmask=111,dmask=000 1   0
Is there a setting I should change or something I should check?
 
Old 04-24-2024, 01:35 PM   #2
henca
Member
 
Registered: Aug 2007
Location: Linköping, Sweden
Distribution: Slackware
Posts: 974

Rep: Reputation: 664Reputation: 664Reputation: 664Reputation: 664Reputation: 664Reputation: 664
Tracing this problem down would be a lot easier if you could reproduce the problem by doing mv or cp of a file at a command prompt. Then we could ask for the output from from a command like

Code:
strace mv /tmp/file.txt /ntfsd/file.txt
You can't run strace easily on point-and-click in a graphical file manager, it will result in far too much noise.

regards Henrik
 
Old 04-24-2024, 02:36 PM   #3
Tsuga
Member
 
Registered: Jul 2020
Distribution: Slackware64 15.0
Posts: 63

Original Poster
Rep: Reputation: Disabled
Thanks for the suggestion. I used the command line and the file moved to the new folder.

Here are results. No idea what any of this means.

Code:
strace mv cc613f04-d151-48a8-a286-8aa1cba90583.jpeg /ntfsd/pictures/
Quote:
execve("/usr/bin/mv", ["mv", "cc613f04-d151-48a8-a286-8aa1cba9"..., "/ntfsd/pictures/"], 0x7ffd949c9580 /* 69 vars */) = 0
brk(NULL) = 0x1008000
access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3
newfstatat(3, "", {st_mode=S_IFREG|0644, st_size=203716, ...}, AT_EMPTY_PATH) = 0
mmap(NULL, 203716, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f97415cf000
close(3) = 0
openat(AT_FDCWD, "/lib64/libacl.so.1", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0p#\0\0\0\0\0\0"..., 832) = 832
pread64(3, "\4\0\0\0 \0\0\0\5\0\0\0GNU\0\1\0\1\300\4\0\0\0\t\0\0\0\0\0\0\0"..., 48, 33600) = 48
newfstatat(3, "", {st_mode=S_IFREG|0755, st_size=39360, ...}, AT_EMPTY_PATH) = 0
mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f97415cd000
mmap(NULL, 41440, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f97415c2000
mmap(0x7f97415c4000, 20480, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x2000) = 0x7f97415c4000
mmap(0x7f97415c9000, 8192, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x7000) = 0x7f97415c9000
mmap(0x7f97415cb000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x8000) = 0x7f97415cb000
close(3) = 0
openat(AT_FDCWD, "/lib64/libattr.so.1", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\220"\0\0\0\0\0\0"..., 832) = 832
pread64(3, "\4\0\0\0 \0\0\0\5\0\0\0GNU\0\1\0\1\300\4\0\0\0\1\0\0\0\0\0\0\0"..., 48, 22368) = 48
newfstatat(3, "", {st_mode=S_IFREG|0755, st_size=26952, ...}, AT_EMPTY_PATH) = 0
mmap(NULL, 29008, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f97415ba000
mmap(0x7f97415bc000, 12288, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x2000) = 0x7f97415bc000
mmap(0x7f97415bf000, 4096, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x5000) = 0x7f97415bf000
mmap(0x7f97415c0000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x5000) = 0x7f97415c0000
close(3) = 0
openat(AT_FDCWD, "/lib64/libc.so.6", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\3\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\200A\2\0\0\0\0\0"..., 832) = 832
pread64(3, "\6\0\0\0\4\0\0\0@\0\0\0\0\0\0\0@\0\0\0\0\0\0\0@\0\0\0\0\0\0\0"..., 784, 64) = 784
pread64(3, "\4\0\0\0 \0\0\0\5\0\0\0GNU\0\1\0\1\300\4\0\0\0;\0\0\0\0\0\0\0"..., 48, 848) = 48
pread64(3, "\4\0\0\0\20\0\0\0\1\0\0\0GNU\0\0\0\0\0\3\0\0\0\2\0\0\0\0\0\0\0", 32, 896) = 32
newfstatat(3, "", {st_mode=S_IFREG|0755, st_size=2168056, ...}, AT_EMPTY_PATH) = 0
pread64(3, "\6\0\0\0\4\0\0\0@\0\0\0\0\0\0\0@\0\0\0\0\0\0\0@\0\0\0\0\0\0\0"..., 784, 64) = 784
mmap(NULL, 1959240, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f97413db000
mmap(0x7f97413fd000, 1433600, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x22000) = 0x7f97413fd000
mmap(0x7f974155b000, 327680, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x180000) = 0x7f974155b000
mmap(0x7f97415ab000, 24576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1cf000) = 0x7f97415ab000
mmap(0x7f97415b1000, 34120, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f97415b1000
close(3) = 0
mmap(NULL, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f97413d8000
arch_prctl(ARCH_SET_FS, 0x7f97413d8740) = 0
mprotect(0x7f97415ab000, 16384, PROT_READ) = 0
mprotect(0x7f97415c0000, 4096, PROT_READ) = 0
mprotect(0x7f97415cb000, 4096, PROT_READ) = 0
mprotect(0x41d000, 4096, PROT_READ) = 0
mprotect(0x7f9741630000, 8192, PROT_READ) = 0
munmap(0x7f97415cf000, 203716) = 0
brk(NULL) = 0x1008000
brk(0x1029000) = 0x1029000
openat(AT_FDCWD, "/usr/lib64/locale/locale-archive", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/share/locale/locale.alias", O_RDONLY|O_CLOEXEC) = 3
newfstatat(3, "", {st_mode=S_IFREG|0644, st_size=2998, ...}, AT_EMPTY_PATH) = 0
read(3, "# Locale name alias data base.\n#"..., 4096) = 2998
read(3, "", 4096) = 0
close(3) = 0
openat(AT_FDCWD, "/usr/lib64/locale/en_US.UTF-8/LC_IDENTIFICATION", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib64/locale/en_US.utf8/LC_IDENTIFICATION", O_RDONLY|O_CLOEXEC) = 3
newfstatat(3, "", {st_mode=S_IFREG|0644, st_size=369, ...}, AT_EMPTY_PATH) = 0
mmap(NULL, 369, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f9741600000
close(3) = 0
openat(AT_FDCWD, "/usr/lib64/gconv/gconv-modules.cache", O_RDONLY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib64/gconv/gconv-modules", O_RDONLY|O_CLOEXEC) = 3
newfstatat(3, "", {st_mode=S_IFREG|0644, st_size=56353, ...}, AT_EMPTY_PATH) = 0
read(3, "# GNU libc iconv configuration.\n"..., 4096) = 4096
read(3, "B1002//\tJUS_I.B1.002//\nmodule\tJU"..., 4096) = 4096
read(3, "\tISO-IR-110//\t\tISO-8859-4//\nalia"..., 4096) = 4096
read(3, "\t\t\tISO-8859-14//\nalias\tISO_8859-"..., 4096) = 4096
read(3, "DIC-ES//\nalias\tEBCDICES//\t\tEBCDI"..., 4096) = 4096
read(3, "CDIC-CP-ES//\t\tIBM284//\nalias\tCSI"..., 4096) = 4096
read(3, "\t\tIBM863//\nalias\tOSF1002035F//\t\t"..., 4096) = 4096
read(3, "937//\t\tIBM937//\nmodule\tIBM937//\t"..., 4096) = 4096
read(3, "UJIS//\t\t\tEUC-JP//\nmodule\tEUC-JP/"..., 4096) = 4096
read(3, "lias\tISO2022CN//\t\tISO-2022-CN//\n"..., 4096) = 4096
read(3, "O_5427-EXT//\nalias\tISO_5427EXT//"..., 4096) = 4096
read(3, "ost\nmodule\tMAC-SAMI//\t\tINTERNAL\t"..., 4096) = 4096
read(3, "112//\t\tINTERNAL\t\tIBM1112\t\t1\nmodu"..., 4096) = 4096
brk(0x104a000) = 0x104a000
read(3, "s\tCP9448//\t\tIBM9448//\nalias\tCSIB"..., 4096) = 3105
read(3, "", 4096) = 0
close(3) = 0
openat(AT_FDCWD, "/usr/lib64/locale/en_US.UTF-8/LC_MEASUREMENT", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib64/locale/en_US.utf8/LC_MEASUREMENT", O_RDONLY|O_CLOEXEC) = 3
newfstatat(3, "", {st_mode=S_IFREG|0644, st_size=23, ...}, AT_EMPTY_PATH) = 0
mmap(NULL, 23, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f97415ff000
close(3) = 0
openat(AT_FDCWD, "/usr/lib64/locale/en_US.UTF-8/LC_TELEPHONE", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib64/locale/en_US.utf8/LC_TELEPHONE", O_RDONLY|O_CLOEXEC) = 3
newfstatat(3, "", {st_mode=S_IFREG|0644, st_size=59, ...}, AT_EMPTY_PATH) = 0
mmap(NULL, 59, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f97415fe000
close(3) = 0
openat(AT_FDCWD, "/usr/lib64/locale/en_US.UTF-8/LC_ADDRESS", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib64/locale/en_US.utf8/LC_ADDRESS", O_RDONLY|O_CLOEXEC) = 3
newfstatat(3, "", {st_mode=S_IFREG|0644, st_size=167, ...}, AT_EMPTY_PATH) = 0
mmap(NULL, 167, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f97415fd000
close(3) = 0
openat(AT_FDCWD, "/usr/lib64/locale/en_US.UTF-8/LC_NAME", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib64/locale/en_US.utf8/LC_NAME", O_RDONLY|O_CLOEXEC) = 3
newfstatat(3, "", {st_mode=S_IFREG|0644, st_size=77, ...}, AT_EMPTY_PATH) = 0
mmap(NULL, 77, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f97415fc000
close(3) = 0
openat(AT_FDCWD, "/usr/lib64/locale/en_US.UTF-8/LC_PAPER", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib64/locale/en_US.utf8/LC_PAPER", O_RDONLY|O_CLOEXEC) = 3
newfstatat(3, "", {st_mode=S_IFREG|0644, st_size=34, ...}, AT_EMPTY_PATH) = 0
mmap(NULL, 34, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f97415fb000
close(3) = 0
openat(AT_FDCWD, "/usr/lib64/locale/en_US.UTF-8/LC_MESSAGES", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib64/locale/en_US.utf8/LC_MESSAGES", O_RDONLY|O_CLOEXEC) = 3
newfstatat(3, "", {st_mode=S_IFDIR|0755, st_size=4096, ...}, AT_EMPTY_PATH) = 0
close(3) = 0
openat(AT_FDCWD, "/usr/lib64/locale/en_US.utf8/LC_MESSAGES/SYS_LC_MESSAGES", O_RDONLY|O_CLOEXEC) = 3
newfstatat(3, "", {st_mode=S_IFREG|0644, st_size=57, ...}, AT_EMPTY_PATH) = 0
mmap(NULL, 57, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f97415fa000
close(3) = 0
openat(AT_FDCWD, "/usr/lib64/locale/en_US.UTF-8/LC_MONETARY", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib64/locale/en_US.utf8/LC_MONETARY", O_RDONLY|O_CLOEXEC) = 3
newfstatat(3, "", {st_mode=S_IFREG|0644, st_size=286, ...}, AT_EMPTY_PATH) = 0
mmap(NULL, 286, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f97415f9000
close(3) = 0
openat(AT_FDCWD, "/usr/lib64/locale/en_US.UTF-8/LC_TIME", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib64/locale/en_US.utf8/LC_TIME", O_RDONLY|O_CLOEXEC) = 3
newfstatat(3, "", {st_mode=S_IFREG|0644, st_size=3316, ...}, AT_EMPTY_PATH) = 0
mmap(NULL, 3316, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f97415f8000
close(3) = 0
openat(AT_FDCWD, "/usr/lib64/locale/en_US.UTF-8/LC_NUMERIC", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib64/locale/en_US.utf8/LC_NUMERIC", O_RDONLY|O_CLOEXEC) = 3
newfstatat(3, "", {st_mode=S_IFREG|0644, st_size=54, ...}, AT_EMPTY_PATH) = 0
mmap(NULL, 54, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f97415f7000
close(3) = 0
openat(AT_FDCWD, "/usr/lib64/locale/en_US.UTF-8/LC_CTYPE", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib64/locale/en_US.utf8/LC_CTYPE", O_RDONLY|O_CLOEXEC) = 3
newfstatat(3, "", {st_mode=S_IFREG|0644, st_size=346132, ...}, AT_EMPTY_PATH) = 0
mmap(NULL, 346132, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f9741383000
close(3) = 0
geteuid() = 1001
ioctl(0, TCGETS, {B38400 opost isig icanon echo ...}) = 0
renameat2(AT_FDCWD, "cc613f04-d151-48a8-a286-8aa1cba90583.jpeg", AT_FDCWD, "/ntfsd/pictures/", RENAME_NOREPLACE) = -1 EXDEV (Invalid cross-device link)
newfstatat(AT_FDCWD, "/ntfsd/pictures/", {st_mode=S_IFDIR|0777, st_size=4096, ...}, 0) = 0
renameat2(AT_FDCWD, "cc613f04-d151-48a8-a286-8aa1cba90583.jpeg", AT_FDCWD, "/ntfsd/pictures/cc613f04-d151-48a8-a286-8aa1cba90583.jpeg", RENAME_NOREPLACE) = -1 EXDEV (Invalid cross-device link)
newfstatat(AT_FDCWD, "cc613f04-d151-48a8-a286-8aa1cba90583.jpeg", {st_mode=S_IFREG|0644, st_size=203759, ...}, AT_SYMLINK_NOFOLLOW) = 0
newfstatat(AT_FDCWD, "/ntfsd/pictures/cc613f04-d151-48a8-a286-8aa1cba90583.jpeg", 0x7ffe08351bc0, AT_SYMLINK_NOFOLLOW) = -1 ENOENT (No such file or directory)
unlink("/ntfsd/pictures/cc613f04-d151-48a8-a286-8aa1cba90583.jpeg") = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "cc613f04-d151-48a8-a286-8aa1cba90583.jpeg", O_RDONLY|O_NOFOLLOW) = 3
newfstatat(3, "", {st_mode=S_IFREG|0644, st_size=203759, ...}, AT_EMPTY_PATH) = 0
openat(AT_FDCWD, "/ntfsd/pictures/cc613f04-d151-48a8-a286-8aa1cba90583.jpeg", O_WRONLY|O_CREAT|O_EXCL, 0600) = 4
newfstatat(4, "", {st_mode=S_IFREG|0666, st_size=0, ...}, AT_EMPTY_PATH) = 0
ioctl(4, BTRFS_IOC_CLONE or FICLONE, 3) = -1 EXDEV (Invalid cross-device link)
fadvise64(3, 0, 0, POSIX_FADV_SEQUENTIAL) = 0
mmap(NULL, 139264, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f97415d5000
uname({sysname="Linux", nodename="passerine.ave", ...}) = 0
copy_file_range(3, NULL, 4, NULL, 9223372035781033984, 0) = -1 EXDEV (Invalid cross-device link)
read(3, "\377\330\377\340\0\20JFIF\0\1\1\0\0H\0H\0\0\377\341\1|Exif\0\0MM"..., 131072) = 131072
write(4, "\377\330\377\340\0\20JFIF\0\1\1\0\0H\0H\0\0\377\341\1|Exif\0\0MM"..., 131072) = 131072
read(3, "\377\0\341\315\356\362\377\0\360t\246\v\322\264\37\360\231\276)\377\0\340\365|\177\303\376\250(\371 k\376"..., 131072) = 72687
write(4, "\377\0\341\315\356\362\377\0\360t\246\v\322\264\37\360\231\276)\377\0\340\365|\177\303\376\250(\371 k\376"..., 72687) = 72687
read(3, "", 131072) = 0
utimensat(4, NULL, [{tv_sec=15032385535, tv_nsec=0} /* 2446-05-10T18:38:55-0400 */, {tv_sec=1713986968, tv_nsec=0} /* 2024-04-24T15:29:28-0400 */], 0) = -1 EPERM (Operation not permitted)
openat(AT_FDCWD, "/usr/share/locale/en_US.UTF-8/LC_MESSAGES/coreutils.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/share/locale/en_US.utf8/LC_MESSAGES/coreutils.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/share/locale/en_US/LC_MESSAGES/coreutils.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/share/locale/en.UTF-8/LC_MESSAGES/coreutils.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/share/locale/en.utf8/LC_MESSAGES/coreutils.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/share/locale/en/LC_MESSAGES/coreutils.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
write(2, "mv: ", 4mv: ) = 4
write(2, "preserving times for '/ntfsd/pic"..., 80preserving times for '/ntfsd/pictures/cc613f04-d151-48a8-a286-8aa1cba90583.jpeg') = 80
openat(AT_FDCWD, "/usr/share/locale/en_US.UTF-8/LC_MESSAGES/libc.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/share/locale/en_US.utf8/LC_MESSAGES/libc.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/share/locale/en_US/LC_MESSAGES/libc.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/share/locale/en.UTF-8/LC_MESSAGES/libc.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/share/locale/en.utf8/LC_MESSAGES/libc.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/share/locale/en/LC_MESSAGES/libc.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
write(2, ": Operation not permitted", 25: Operation not permitted) = 25
write(2, "\n", 1
) = 1
fchown(4, 1001, 100) = -1 EPERM (Operation not permitted)
fchown(4, -1, 100) = -1 EPERM (Operation not permitted)
flistxattr(3, NULL, 0) = 0
flistxattr(3, 0x7ffe08351980, 0) = 0
fgetxattr(3, "system.posix_acl_access", 0x7ffe08351870, 132) = -1 ENODATA (No data available)
newfstatat(3, "", {st_mode=S_IFREG|0644, st_size=203759, ...}, AT_EMPTY_PATH) = 0
fsetxattr(4, "system.posix_acl_access", "\2\0\0\0\1\0\6\0\377\377\377\377\4\0\4\0\377\377\377\377 \0\4\0\377\377\377\377", 28, 0) = -1 EOPNOTSUPP (Operation not supported)
fchmod(4, 0100644) = -1 EPERM (Operation not permitted)
write(2, "mv: ", 4mv: ) = 4
write(2, "preserving permissions for \342\200\230/n"..., 90preserving permissions for ‘/ntfsd/pictures/cc613f04-d151-48a8-a286-8aa1cba90583.jpeg’) = 90
write(2, ": Operation not permitted", 25: Operation not permitted) = 25
write(2, "\n", 1
) = 1
close(4) = 0
close(3) = 0
munmap(0x7f97415d5000, 139264) = 0
newfstatat(AT_FDCWD, "/", {st_mode=S_IFDIR|0755, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0
newfstatat(AT_FDCWD, "cc613f04-d151-48a8-a286-8aa1cba90583.jpeg", {st_mode=S_IFREG|0644, st_size=203759, ...}, AT_SYMLINK_NOFOLLOW) = 0
unlinkat(AT_FDCWD, "cc613f04-d151-48a8-a286-8aa1cba90583.jpeg", 0) = 0
lseek(0, 0, SEEK_CUR) = -1 ESPIPE (Illegal seek)
close(0) = 0
close(1) = 0
close(2) = 0
exit_group(0) = ?
+++ exited with 0 +++
 
Old 04-24-2024, 08:37 PM   #4
Daedra
Senior Member
 
Registered: Dec 2005
Location: Springfield, MO
Distribution: Slackware64-15.0
Posts: 2,687

Rep: Reputation: 1376Reputation: 1376Reputation: 1376Reputation: 1376Reputation: 1376Reputation: 1376Reputation: 1376Reputation: 1376Reputation: 1376Reputation: 1376
Maybe try the paragon ntfs driver. Change your fstab from

Code:
UUID=82CC1BFECC1BEAE5                            /ntfsd           ntfs        fmask=111,dmask=000 1   0
to

Code:
UUID=82CC1BFECC1BEAE5                            /ntfsd           ntfs3        fmask=111,dmask=000 1   0
 
Old 04-24-2024, 09:35 PM   #5
rkelsen
Senior Member
 
Registered: Sep 2004
Distribution: slackware
Posts: 4,457
Blog Entries: 7

Rep: Reputation: 2560Reputation: 2560Reputation: 2560Reputation: 2560Reputation: 2560Reputation: 2560Reputation: 2560Reputation: 2560Reputation: 2560Reputation: 2560Reputation: 2560
Quote:
Originally Posted by Tsuga View Post
Code:
UUID=82CC1BFECC1BEAE5                            /ntfsd           ntfs        fmask=111,dmask=000 1   0
Is there a setting I should change or something I should check?
The standard NTFS driver doesn't support writing. As per above, you'll get better results with either the Paragon driver or ntfs-3g.
 
1 members found this post helpful.
Old 04-25-2024, 12:49 AM   #6
henca
Member
 
Registered: Aug 2007
Location: Linköping, Sweden
Distribution: Slackware
Posts: 974

Rep: Reputation: 664Reputation: 664Reputation: 664Reputation: 664Reputation: 664Reputation: 664
Quote:
Originally Posted by Tsuga View Post
Thanks for the suggestion. I used the command line and the file moved to the new folder.

Here are results. No idea what any of this means.

Code:
strace mv cc613f04-d151-48a8-a286-8aa1cba90583.jpeg /ntfsd/pictures/
The explanations are here:

Quote:
Originally Posted by Tsuga View Post
Code:
utimensat(4, NULL, [{tv_sec=15032385535, tv_nsec=0} /* 2446-05-10T18:38:55-0400 */, {tv_sec=1713986968, tv_nsec=0} /* 2024-04-24T15:29:28-0400 */], 0) = -1 EPERM (Operation not permitted)
The NTFS file system does not seem to allow you to preserve the time stamp of the moved file.

Quote:
Originally Posted by Tsuga View Post
Code:
fchown(4, 1001, 100) = -1 EPERM (Operation not permitted)
And you are not allowed to keep the ownership of the file, probably because the NTFS file system does not know anything about your normal user with UID number 1001.

Quote:
Originally Posted by Tsuga View Post
Code:
fchmod(4, 0100644) = -1 EPERM (Operation not permitted)
And you are not allowed to set unix file permissions on a file in an NTFS file system.

But most of the above would have been rather obvious by looking at the output of mv if run without strace.
You might want to wish that your graphical file manager gave a more detailed error message.

regards Henrik
 
1 members found this post helpful.
Old 04-29-2024, 08:13 PM   #7
Tsuga
Member
 
Registered: Jul 2020
Distribution: Slackware64 15.0
Posts: 63

Original Poster
Rep: Reputation: Disabled
Thanks for the informative and helpful comments.

I couldn't find anything in slackpkg or sbopkg with Paragon NTFS3. I do have ntfs-3g installed and so I changed fstab to use that instead. I rebooted and tried moving a file again via GUI and I get the same error an in #1.

I then tried the CLI with mv strace. The file moves again but with the same result as what I show in #3.

I think that I had ntfs-3g as the setting in fstab when I first set up the computer, but then read some time after that ntfs-3g was problematic. I can't remember where or when I read that, but I believe that's why I had the ntfs setting in fstab.

I suppose as long as I can move the files, even if there is that error in the GUI, I'm okay.
 
Old 04-29-2024, 08:34 PM   #8
rkelsen
Senior Member
 
Registered: Sep 2004
Distribution: slackware
Posts: 4,457
Blog Entries: 7

Rep: Reputation: 2560Reputation: 2560Reputation: 2560Reputation: 2560Reputation: 2560Reputation: 2560Reputation: 2560Reputation: 2560Reputation: 2560Reputation: 2560Reputation: 2560
Quote:
Originally Posted by Tsuga View Post
I couldn't find anything in slackpkg or sbopkg with Paragon NTFS3.
The Paragon driver comes with Slackware's kernel. All you need to do to use it is specify "ntfs3" in place of "ntfs"
 
1 members found this post helpful.
Old 04-30-2024, 01:12 AM   #9
henca
Member
 
Registered: Aug 2007
Location: Linköping, Sweden
Distribution: Slackware
Posts: 974

Rep: Reputation: 664Reputation: 664Reputation: 664Reputation: 664Reputation: 664Reputation: 664
The problem here does not seem to be lack of permission to write files. The problem seems to be that the NTFS file system does not allow changing ownership of a file, setting unix permissions on a file or changing the time stamp of a file.

Considering that NTFS is a completely different beast than a unix file system some of those limitations make sense. Moving the file works fine, but it will not be able to retain ownership, timestamp or unix file permissions.

regards Henrik
 
1 members found this post helpful.
Old 04-30-2024, 08:08 AM   #10
Paulo2
Member
 
Registered: Aug 2012
Distribution: Slackware64 15.0 (started with 13.37). Testing -current in a spare partition.
Posts: 931

Rep: Reputation: 518Reputation: 518Reputation: 518Reputation: 518Reputation: 518Reputation: 518
I have this on /etc/fstab to mount ntfs partitions
Code:
UUID=6C90EEC690EE95BC /winxp ntfs-3g locale=pt_BR.utf-8,uid=1000,gid=100,umask=000,noauto 1 0
UUID=384C53414C52F8D8 /win10 ntfs-3g locale=pt_BR.utf-8,uid=1000,gid=100,umask=000,noauto 1 0
UUID=9EF6B01AF6AFF127 /seagate2t ntfs-3g locale=pt_BR.utf-8,uid=1000,gid=100,umask=000,noauto 1 0
It mounts with my regular user's uid and gid.
locale is for pt_BR language, full of accented characters.
I prefer ntfs-3g instead of the (now native) Paragon kernel driver. I had some errors using it.
Hope this helps.
 
1 members found this post helpful.
Old 04-30-2024, 06:35 PM   #11
0XBF
Member
 
Registered: Nov 2018
Distribution: Slackware
Posts: 769

Rep: Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872
I just spent some time writing up a post over in the install section of the forums on the topic of mounting ntfs partitions. A couple things I noticed that are relevant to the discussion in this post:

1. There's no difference between specifying 'ntfs' or 'ntfs-3g' as the fs type. These both use the ntfs-3g fuse driver in the end.
Code:
lrwxrwxrwx 1 root root 13 Jul 12  2023 /sbin/mount.ntfs -> mount.ntfs-3g
2. I had errors using the 'ntfs3' paragon driver as well. In my case, this is due to the ntfs filesystem being marked as "dirty" (windows wants to scan it for errors, but I really dont use windows much and have been skipping that to just get in and get out back to slackware ). I had to add the 'force' option to the ntfs3 driver's options in fstab to get it to mount without that error. I guess the ntfs-3g fuse driver just don't care about "dirty filesystems", while ntfs3 is more strict about that.

See the other post I wrote up if you want to read the rest: https://www.linuxquestions.org/quest...7/#post6499135

Cheers
 
1 members found this post helpful.
  


Reply

Tags
access denied, cut and paste, ntfs, partition



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Preventing the screen copy and paste error on first paste slackartist Slackware 0 04-03-2016 06:48 PM
[SOLVED] parcellite can't 1) paste all; 2) Disable paste history display andrew.comly Linux - General 2 03-03-2015 08:53 PM
PHP mail returns true (Message accepted for delivery), but the message is not sent Sogeking Linux - Server 1 06-09-2013 10:30 PM
Right click paste instead of scroll wheel paste Jman-NZ Linux - Newbie 2 03-10-2013 05:57 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 04:42 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration