guitarman_ | unbelievable but working. | 02:55 |
---|---|---|
ragnar_123 | Hi | 06:52 |
ragnar_123 | having trouble with a usb drive that mounts as readonly | 06:52 |
diogenes_ | ragnar_123, have you tried formatting it? | 06:53 |
ragnar_123 | No, i have data on it, that I dont want to loose | 06:53 |
ragnar_123 | and not enough space here, to do a backup .. | 06:54 |
diogenes_ | try to rename the file manage config folder | 06:54 |
ragnar_123 | owner is root, and i cannot change it using chmod/chgrp | 06:54 |
diogenes_ | and re-plug | 06:54 |
ragnar_123 | running caja as root makes it possible to copy at ~100kB/s | 06:55 |
ragnar_123 | in ~/.config ? | 06:55 |
diogenes_ | yes | 06:55 |
diogenes_ | and also re-open caja | 06:56 |
ragnar_123 | mbp@mbp-MacBookPro:~/.config$ mv caja caja-bak && killall -9 caja | 06:56 |
ragnar_123 | no difference | 06:56 |
diogenes_ | then you need to find where to copy the date as quick as possible until you can no longer extract it | 06:57 |
ragnar_123 | yeah | 06:58 |
ragnar_123 | but do you think a reformat will solve the ownership issues with the usb drive? | 07:00 |
diogenes_ | in some cases yes in others not, maybe it's a hardware issue, who knows | 07:01 |
ragnar_123 | the usb drive seems to work fine on windows machines -- brand new PNY 64 gigs. | 07:01 |
ragnar_123 | it took me 13 hours to copy 15.5 gigabytes of data, running the file manager as superuser, the other day ... | 07:02 |
diogenes_ | lol | 07:03 |
diogenes_ | on some ntfs pendrives it's like that | 07:03 |
diogenes_ | you probably got the cheatest one | 07:04 |
ragnar_123 | Say, if I am in a library using a PC, it is a really fast device. My Ubuntu just doesn't seem to like it. | 07:04 |
alkisg | ragnar_123: what file system are you using? fat? ntfs? ext4? | 07:06 |
ragnar_123 | fat | 07:07 |
alkisg | fat doesn't use permissions, so why would you ever have permission issues? | 07:08 |
ragnar_123 | I can only reed the files? | 07:08 |
ragnar_123 | read-only issue | 07:08 |
ragnar_123 | tried remounting, etc- | 07:09 |
ragnar_123 | Wondering if I can "patch it through" to a VM, running virtualbox. But also there are error messages, see https://pastebin.com/xtg7ihU3. Any ideas? | 07:10 |
ragnar_123 | When trying to change permissions from root to user, i get errors like "Operation not permitted" | 07:14 |
ragnar_123 | "Create folder" is grayed out in the file manager | 07:16 |
alkisg | ragnar_123: the fat file system is mapped to a user at mount time | 07:23 |
alkisg | It doesn't support users or permissions, that's why you get operation not permitted | 07:23 |
alkisg | If you can only read and not write, check dmesg for file system errors or for hardware errors | 07:23 |
alkisg | If you mounted as root, and are trying to write as user, of course you won't be able | 07:24 |
alkisg | Because you used the wrong mount permissions | 07:24 |
alkisg | You can pastebin the output of `mount` for us to see if you want | 07:24 |
ragnar_123 | alkisg: https://pastebin.com/raw/0hBicif3 | 07:28 |
alkisg | ragnar_123: and the output of this, ran as the user, not root? ls -l /media/mbp/HP_TOOLS; touch /media/mbp/HP_TOOLS/test | 07:29 |
ragnar_123 | Whoops, wrong paste; had another device attached for testing. https://pastebin.com/raw/reLHEpKs - and the output is https://pastebin.com/raw/70j50XNg | 07:39 |
alkisg | ragnar_123: how did you manage to mount a vfat file system as root, while using udisks?! | 07:40 |
alkisg | Did it automount, or did you run a mount command? | 07:40 |
alkisg | ...or are you logged in as root in the desktop environment?! :D | 07:40 |
ragnar_123 | This time automount. I tried various rw(x) mount commands without success, | 07:41 |
ragnar_123 | When desperate to copy some files, yes, sudo caja & solves the issue. | 07:41 |
alkisg | ragnar_123: try again as cleanly as you can: unmount everything, then just insert the stick. If at that point, ls -l /media/mbp/13FA-1E57, tells you the files are owned by root,that's the main issue | 07:42 |
alkisg | Ah,sudo caja :D | 07:42 |
alkisg | Yeah, big problem there, don't do that | 07:42 |
alkisg | So, start over.LOGOUT first, to stop any processes from running as root | 07:42 |
ragnar_123 | Why, if I might ask? | 07:42 |
alkisg | Then login again (or even better reboot), and just automount the stick | 07:42 |
alkisg | Because of the problems you see | 07:43 |
alkisg | sudo caja may even create root-owned files in your own dir | 07:43 |
alkisg | Under /home/username | 07:43 |
ragnar_123 | oh yeah, therefore.. ;) | 07:43 |
alkisg | So then, normal caja won't be able to save settings, and it will cause chaos | 07:43 |
alkisg | Moment | 07:43 |
alkisg | Let's make sure that didn't already happen | 07:43 |
alkisg | What's the output of this command, when run as the user? find ~ -uid 0 | 07:43 |
ragnar_123 | something that amounts to 2808 lines of filepaths and errors. | 07:45 |
alkisg | Ouch, yeah, you already caused chaos :) | 07:45 |
ragnar_123 | ... | 07:45 |
alkisg | OK, I suggest this: | 07:45 |
alkisg | 1) Reboot, without any sticks or devices inserted | 07:45 |
alkisg | 2) Login, run this: sudo chown -R username:username /home/username | 07:46 |
alkisg | 3) Reboot again! So that now it loads with the proper permissions | 07:46 |
alkisg | 4) Don't run sudo caja etc again :) | 07:46 |
ragnar_123 | you will probably hear back from me in an hour, if it does not work :) | 07:47 |
alkisg | Hehe :) | 07:47 |
ragnar_123 | Thanks, I'll try :-) | 07:48 |
alkisg | ragnar_123: so now, `find ~ -uid 0` returns nothing? | 07:57 |
alkisg | And what's the output of ls -l media/mbp/13FA-1E57 ? | 07:57 |
alkisg | Still owned by root? | 07:57 |
ragnar_123 | Yes | 08:03 |
alkisg | ragnar_123: this is a big problem; you misconfigured something | 08:04 |
alkisg | The sticks are never mounted as root automatically | 08:05 |
alkisg | Try logging in as a guest user (or create a new user with `sudo adduser`), and see if the problem happens on the other user | 08:05 |
alkisg | This way we'll see if the misconfiguration is system-wide, or just a user setting | 08:05 |
ragnar_123 | Changing user does not seem to work | 08:17 |
alkisg | ragnar_123: do you mean that you couldn't log in as another user, or that the stick was still mounted as root? | 08:17 |
alkisg | "does not work" is not very descriptive... | 08:18 |
ragnar_123 | Well, create folder is grayed out in the filemanager, as normal user, test user, but not as superuser (though i haven't done `sudo caja`, since you told me not to) | 08:20 |
ragnar_123 | and permissions say owner is root | 08:20 |
alkisg | So you did manage to create a test user, and you logged in, and THEN inserted the stick (and not at boot or as the previous user), and ran ls -l /media/test/13FA-1E57, and it showed that the owner was root? | 08:21 |
ragnar_123 | ..I should probably just wipe everything and do a clean install | 08:21 |
alkisg | It's strange if you managed to mess up with the udev rules to make them mount as root instead of as the user | 08:22 |
ragnar_123 | I will try one more time, but yes | 08:22 |
alkisg | Did you ever try to follow bad tutorials about messing with udev rules? | 08:22 |
ragnar_123 | nope | 08:22 |
alkisg | Do you have an ubuntu live cd or live usb stick? | 08:22 |
ragnar_123 | Dont think so | 08:23 |
alkisg | Do you mind if you share your screen with me over vnc, so that I test 2-3 commands myself? | 08:23 |
ragnar_123 | Can't do that, sorry | 08:24 |
alkisg | np | 08:24 |
alkisg | I haven't ever heard of sticks automounted as root by default | 08:24 |
alkisg | So I'm guessing you somehow messed up your installation | 08:24 |
alkisg | If you do end up reinstalling, do avoid (1) logging in as root, and (2) running sudo caja | 08:25 |
alkisg | Btw which ubuntu-mate version is that? | 08:27 |
ragnar_123 | 17.10 | 08:29 |
ragnar_123 | Yeah, I probably built too many wierd versions of tools during the past three years. If desperate and it does the job (slowly), I might just do that (`sudo caja`) | 08:29 |
ragnar_123 | but I have upgraded (dist-upgrade) several times | 08:29 |
alkisg | You haven't put anything for the sticks in /etc/fstab, right? | 08:30 |
ragnar_123 | nope | 08:30 |
alkisg | Then it does sound like broken udev rules to me | 08:30 |
ragnar_123 | where can I find them? | 08:31 |
alkisg | Oh it would be much easier to reinstall | 08:31 |
alkisg | If you don't know how you broke them | 08:31 |
ragnar_123 | True. But then I would actually need to do a full backup | 08:32 |
alkisg | Nah, reinstallations can keep /home | 08:32 |
ragnar_123 | Uh | 08:32 |
alkisg | You can even just mv your installation to a different folder and keep all of it, including /usr and everything | 08:32 |
ragnar_123 | I will get started to prepare a live-usb image.. Hopefully dd will write to it ;) | 08:34 |
alkisg | You might as well use 18.04 at this point | 08:35 |
ole_denmark | identify 270536OLE | 10:17 |
androidfreak | hi | 10:24 |
=== moondoggy_ is now known as moondoggy | ||
=== moondoggy_ is now known as moondoggy | ||
khogle | good morning fro Pennsylvania | 13:48 |
=== mbp is now known as ragnar_123 | ||
=== Akuli is now known as {{{{{{{{{{{{{{{{ | ||
=== {{{{{{{{{{{{{{{{ is now known as Akuli | ||
=== Akuli is now known as {``` | ||
=== {``` is now known as Akuli | ||
xep_ | Hi everybody. It's possible hide dropdown arrown on caja navigate folders when i set list view? | 20:54 |
xep_ | Hi everybody. It's possible hide dropdown arrown on caja navigate folders when i set list view? | 20:59 |
xep_ | Hi everybody. It's possible hide dropdown arrown on caja navigate folders when i set list view? | 21:27 |
xep_ | Hi everybody. It's possible hide dropdown arrown on caja navigate folders when i set list view? | 21:46 |
mate|98807 | Hallo, | 22:48 |
mate|98807 | hat einer von ihnen eine Möglichkeit wie man den bionischen Biber in die Richtung MAC Buntu switchen einstellen kann | 22:49 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!