Stack Exchange
log in
users (52)
rooms (43)
faq
jasonwryan
general
recent
conversations
Discussion between jasonwryan and Fah
…
Imported from a comment discussion on
unix.stackexchange.com/q...
jasonwryan
Apr 22, 2016 08:29
TIAS :)
jasonwryan
Apr 22, 2016 08:29
ttyl
jasonwryan
Apr 22, 2016 08:29
I'll delete my comments on your question: they don't add anything
jasonwryan
Apr 22, 2016 08:28
np
jasonwryan
Apr 22, 2016 08:28
no: put it in your fstab and then
mount -a
jasonwryan
Apr 22, 2016 08:28
I have my moments :)
jasonwryan
Apr 22, 2016 08:27
it will work
jasonwryan
Apr 22, 2016 08:27
try it and see
jasonwryan
Apr 22, 2016 08:27
yes
jasonwryan
Apr 22, 2016 08:26
well, its not somewhere I'd want to visit
jasonwryan
Apr 22, 2016 08:26
all questions, no answers...
jasonwryan
Apr 22, 2016 08:25
heh
jasonwryan
Apr 22, 2016 08:25
TIAS
jasonwryan
Apr 22, 2016 08:24
it needs root to run
mount -a
BUT it mounts the drive as your user
jasonwryan
Apr 22, 2016 08:22
I pasted abpve
jasonwryan
Apr 22, 2016 08:22
the ntfs line with the user and group ids
jasonwryan
Apr 22, 2016 08:22
did you try the line form the arch wiki: it should work fine
jasonwryan
Apr 22, 2016 08:21
that's what you are doing with the polkit file anyway
jasonwryan
Apr 22, 2016 08:21
yes
jasonwryan
Apr 22, 2016 08:20
that's what sudoers is for
jasonwryan
Apr 22, 2016 08:19
from the script
jasonwryan
Apr 22, 2016 08:18
well, you can use sudo for the mount
jasonwryan
Apr 22, 2016 08:17
yes
jasonwryan
Apr 22, 2016 08:17
np
jasonwryan
Apr 22, 2016 08:17
the backup is run as user...
jasonwryan
Apr 22, 2016 08:16
see:
wiki.archlinux.org/index.php/NTFS-3G
jasonwryan
Apr 22, 2016 08:16
I don't use ntfs :p
jasonwryan
Apr 22, 2016 08:15
yes
jasonwryan
Apr 22, 2016 08:15
well, to mount from fstab, you issue the command as root
jasonwryan
Apr 22, 2016 08:14
you have to specify them
jasonwryan
Apr 22, 2016 08:14
nope; it is windows fuckery with linux permissions
jasonwryan
Apr 22, 2016 08:13
to set the correct perms
jasonwryan
Apr 22, 2016 08:13
UUID=01CD2ABB65E17DE0 /run/media/user1/Windows ntfs-3g uid=user1,gid=users,dmask=022,fmask=133 0 0
jasonwryan
Apr 22, 2016 08:13
you want somethinglike:
jasonwryan
Apr 22, 2016 08:12
yes
jasonwryan
Apr 22, 2016 08:12
what happens if you mount from fstab? same errors?
jasonwryan
Apr 22, 2016 08:11
I don't have a DE, so it handles all my automounting
jasonwryan
Apr 22, 2016 08:11
works great: I have used it for ages with no complaints (other than that one issue with the broken env)
jasonwryan
Apr 22, 2016 08:00
but you have it working now, so all good
jasonwryan
Apr 22, 2016 08:00
I just thought it would be simpler to use cron to call the script, have the drive in fstab and mount it when required.
jasonwryan
Apr 22, 2016 07:59
no, I'm not familiar with it
jasonwryan
Apr 22, 2016 07:58
If it is plugged in all the time, why not just mount it from your backup script and dispense with udiskie all together?
jasonwryan
Apr 22, 2016 07:58
Do you manually plug the drive in, or is it sitting there (unmounted) all the time?
jasonwryan
Apr 22, 2016 07:58
Can I ask why a cron job? What about automounting requires scheduling?
/dev/chat
General discussion for
unix.stackexchange.com
. If you have a q...
2
jasonwryan
Mar 20, 2015 06:20
I linked to the page in my first comment @FaheemMitha
jasonwryan
Mar 20, 2015 06:20
Useless Use of Cat...
jasonwryan
Mar 20, 2015 04:37
Bueller?
jasonwryan
Mar 20, 2015 04:03
Now I am feeding the troll... Great.
jasonwryan
Mar 20, 2015 04:00
/me having to come to chat makes me grumpy :(
jasonwryan
Mar 20, 2015 03:59
Can a mod please talk to this guy?
unix.stackexchange.com/questions/190879/…
The message he left rolling back Janis' edit is outrageous...