maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   [Maemo 5] [Announce] Hamster Filer 0.6.4 (https://talk.maemo.org/showthread.php?t=87152)

impeham 2012-12-06 21:18

Re: [Maemo 5] [Announce] Hamster Filer 0.6.3
 
God - this file browser rocks!

sixwheeledbeast 2012-12-23 00:15

Re: [Maemo 5] [Announce] Hamster Filer 0.6.3
 
I can't seem to delete files or folders with hamster filer.

Comes to an Error Dialog with Skip, Retry and Abort.

Tried as normal and as root, no output in a terminal.
Anybody else have this problem?

Edit:-

Seems on terminating application the error in terminal is...

Code:

X Error: BadMatch (invalid parameter attributes) 8
Major opcode: 42 (X_SetInputFocus)
Resource id 0x3600003


ade 2012-12-23 00:53

Re: [Maemo 5] [Announce] Hamster Filer 0.6.3
 
No problems over here. Can you remove the file using the commandline rm? Is your MyDocs perhaps mounted as read only?

Sourav.dubey 2012-12-23 05:13

Re: [Maemo 5] [Announce] Hamster Filer 0.6.3
 
Same issue over here
Yes I am able to delete it with rm and using filebox
no MyDocs is not read only

sixwheeledbeast 2012-12-23 11:38

Re: [Maemo 5] [Announce] Hamster Filer 0.6.3
 
Quote:

Originally Posted by Sourav.dubey (Post 1306976)
Same issue over here
Yes I am able to delete it with rm and using filebox
no MyDocs is not read only

Yes . FIlebox will delete the files.
However the folder I was trying to delete had a file deep in the directories which seemed be corrupt.
After deleting the one corrupt file with Filebox the whole directory was removed no problem.

I still cannot remove files or folders from anywhere with Hamster.

gidzzz 2012-12-23 14:16

Re: [Maemo 5] [Announce] Hamster Filer 0.6.3
 
Quote:

Originally Posted by sixwheeledbeast (Post 1307040)
I still cannot remove files or folders from anywhere with Hamster.

I find it hard to believe, as FileBox also seems to use QFile::remove() for deleting files. :eek: From what I understood, even the most trivial deletion fails, is that right? By "most trivial" I mean something like:
  • navigate to "/home/user/",
  • create a file and give it a simple name (for example "a"),
  • delete "a".

sixwheeledbeast 2012-12-23 14:24

Re: [Maemo 5] [Announce] Hamster Filer 0.6.3
 
Quote:

Originally Posted by gidzzz (Post 1307068)
I find it hard to believe, as FileBox also seems to use QFile::remove() for deleting files. :eek: From what I understood, even the most trivial deletion fails, is that right? By "most trivial" I mean something like:
  • navigate to "/home/user/",
  • create a file and give it a simple name (for example "a"),
  • delete "a".

The above works, however I can't delete the below for example when filebox will.

Code:

/home/user/.myscripts/a.txt

gidzzz 2012-12-23 15:06

Re: [Maemo 5] [Announce] Hamster Filer 0.6.3
 
If "a.txt" is a file freshly created with Hamster (this is essential to rule out any problems with permissions), then it leaves me stunned. The only thing that I can think of is some random corruption, possibly fixed by rebooting or reinstalling Hamster.

sixwheeledbeast 2012-12-23 16:58

Re: [Maemo 5] [Announce] Hamster Filer 0.6.3
 
Quote:

Originally Posted by gidzzz (Post 1307087)
If "a.txt" is a file freshly created with Hamster (this is essential to rule out any problems with permissions), then it leaves me stunned. The only thing that I can think of is some random corruption, possibly fixed by rebooting or reinstalling Hamster.

OK so it seems like a permissions thing.

I can create and remove "home/user/.myscripts/a.txt with FileBox but I can't do either with Hamster with run as root on or off.

However /home/user/MyDocs/a.txt will create and delete with Hamster.

It seems files with root permissions are not editable with Hamster.

Code:

ls -la
drwxr-xr-x  2 root  root  4096 Dec 23 16:41 .myscripts

sudo chown user .myscripts/
ls -la
drwxr-xr-x  2 user  root  4096 Dec 23 16:41 .myscripts

sudo chgrp users .myscripts/
ls -la
drwxr-xr-x  2 user users  4096 Dec 23 16:41 .myscripts

After the above all working perfect.

I must have created the folder with filebox set to "run as root"

Can Hamster not warn of bad permissions?

gidzzz 2012-12-23 19:20

Re: [Maemo 5] [Announce] Hamster Filer 0.6.3
 
Quote:

Originally Posted by sixwheeledbeast (Post 1307110)
It seems files with root permissions are not editable with Hamster.

Are you aware that Hamster also requires restart before "run as root" is applied? You can tell if it's really running as root by looking at the window title (it should say "Hamster Filer (root)").

Quote:

Originally Posted by sixwheeledbeast (Post 1307110)
Can Hamster not warn of bad permissions?

As long as it uses QFile for removing files (but that might change) -- no, error reporting is very scarce there. Yeah, FileBox warns you, but it deals with that by trying to create an empty file next to the one which should be deleted. I don't like such approach, and it's still just guessing.


All times are GMT. The time now is 10:12.

vBulletin® Version 3.8.8