You are not logged in.
Hello,
I have a workstation dual booting Arch and Windows 7. My setup entails automonting an NTFS partition at boot (common home/user partition) and symlinking the directories to my Arch home folder. This works, and i have read/write permissions. Thing is, I cannot use the trash when I'm on the NTFS partition.
I have ntfs-3g installed, as well as gvfs and consolekit. I'm using standalone Openbox with Thunar as main file browser, and it complains that "The trash directory cannot be found or created". Nautilus lets me delete files, but only right away, without moving them to the trash.
This is my fstab file:
#
# /etc/fstab: static file system information
#
# <file system> <dir> <type> <options> <dump> <pass>
tmpfs /tmp tmpfs nodev,nosuid 0 0
/dev/sda7 swap swap defaults 0 0
LABEL=ahome /home ext4 defaults 0 1
LABEL=aroot / ext4 defaults 0 1
/dev/sda6 /mnt/whome ntfs-3g gid=users,fmask=113,dmask=002,permissions 0 0
I'm guessing the only problem lies in the fstab line, since when I mount external usb drives (also NTFS formatted) everything works perfectly. I can create, delete and use the trash. However, I haven't found any reliable solution to use the trash in the internal partition.
Last edited by Iacus (2012-08-03 09:30:43)
Offline
I had to set the uid in fstab to a specific user account in order to use the trash can on my NTFS partition. Having two accounts, I get the same message when I'm logged in with the other one. Something tells me there could be a quite simple solution but my studies are preventing me from doing much more as to maintain my system
Offline
...
/dev/sda6 /mnt/whome ntfs-3g gid=users,fmask=113,dmask=002,permissions 0 0
What does ",permissions" supposed to do?
I don't see anything about that in here: https://wiki.archlinux.org/index.php/NTFS-3G
Also, only the "/" partition needs "1" at the end. Everything else should have "2" or "0".
https://wiki.archlinux.org/index.php/Fs … efinitions
Last edited by DSpider (2012-07-28 17:13:46)
I have made a personal commitment not to reply in topics that start with a lowercase letter. Proper grammar and punctuation is a sign of respect, and if you do not show any, you will NOT receive any help (at least not from me).
Offline
So, how whould I go about getting my uid? There's only one account in my computer so that would be an acceptable workaround.
From what I read on a forum thread, "permissions" is an ntfs-3g flag that supposedly preserves standard permissions when mounting the filesystem. That would, in theory, allow me to make use of the trash, but it doesn't work
Last edited by Iacus (2012-07-28 19:47:09)
Offline
NTFS doesn't have a concept of owner, groups or permissions.
There is no such thing as a "permissions" flag. Where did you get that from? It certainly wasn't from the Arch wiki, was it?
I have made a personal commitment not to reply in topics that start with a lowercase letter. Proper grammar and punctuation is a sign of respect, and if you do not show any, you will NOT receive any help (at least not from me).
Offline
I kinda elucidated it from what i read here: http://forums.fedoraforum.org/showpost. … ostcount=3
but I admit I wasn't quite able do decipher the manual.
Offline
NTFS doesn't have a concept of owner, groups or permissions.
There is no such thing as a "permissions" flag. Where did you get that from? It certainly wasn't from the Arch wiki, was it?
"permissions" is a valid option for ntfs-3g mounts. But Windows file-ownership and access-control is different from the unix/linux flavor.
From man ntfs-3g, under Options:
permissions
Set standard permissions on created files and use standard access con‐
trol. This option is set by default when a user mapping file is present.
So, how whould I go about getting my uid?
With Arch, the first non-root user's UID is usually 1000.
$ echo $UID
1000
Offline
Try one of these entries and reboot:
/dev/sdb5 /mnt/Datos ntfs-3g uid=alex,gid=users 0 0
/dev/sdb1 /media/Games ntfs-3g defaults 0 0
Adjust accordingly (including spaces, etc).
Keep it simple.
I have made a personal commitment not to reply in topics that start with a lowercase letter. Proper grammar and punctuation is a sign of respect, and if you do not show any, you will NOT receive any help (at least not from me).
Offline
That works. Thank you.
Offline