maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Maemo 5 / Fremantle (https://talk.maemo.org/forumdisplay.php?f=40)
-   -   MyDocs permissions (https://talk.maemo.org/showthread.php?t=99830)

bradvesp 2017-09-13 23:04

MyDocs permissions
 
The permissions to MyDocs files changed this morning to root without my authorization. I don't have root access set up on the system without flashing to R & D Mode (really I thought it would prevent this kinda tampering). Any idea about commands to change the permissions back to a lower level user? My usb port's broken and I don't seem to be able to use the flasher.

sicelo 2017-09-14 04:40

Re: MyDocs permissions
 
MyDocs is FAT by default ... so i wouldn't worry about permissions. What problem is it causing you?

pichlo 2017-09-14 04:51

Re: MyDocs permissions
 
You don't need R&D to get root access. Just install rootsh. But what do you mean your permissions changed? How did you find out?

The most likely cause is a file system corruption. The OS then mounts the volume as read only, giving only root the write access. Since MyDocs is FAT, the usual remedy is attaching it to a Windows PC in Mass Storage mode and running a disk check on the PC. You could try fsck on the phone but that is less likely to guarantee a success. In some cases it may make the situation worse.

bradvesp 2017-09-14 20:28

Re: MyDocs permissions
 
Quote:

Originally Posted by sicelo (Post 1534367)
MyDocs is FAT by default ... so i wouldn't worry about permissions. What problem is it causing you?

I wasn't able to save anything to the folders there.
It seemed to have fixed itself. Maybe after turning the N900 off to change the battery. The permissions read as user:root. It was root:root for a time.

bradvesp 2017-09-14 20:34

Re: MyDocs permissions
 
Quote:

Originally Posted by pichlo (Post 1534369)
You don't need R&D to get root access. Just install rootsh. But what do you mean your permissions changed? How did you find out?

The most likely cause is a file system corruption. The OS then mounts the volume as read only, giving only root the write access. Since MyDocs is FAT, the usual remedy is attaching it to a Windows PC in Mass Storage mode and running a disk check on the PC. You could try fsck on the phone but that is less likely to guarantee a success. In some cases it may make the situation worse.

I think that's exactly what happened. I've assumed the corruption was cause by someone trying to tamper with it, tunnel into it, reset permissions, or otherwise access it.
Yeah, I recall now something about FAT systems not having permissions. I downloaded software called "Hamster Filer" that gives the following file details: Name, Size, Modified, Owner, Permissions. I was wrong when I've stated "permissions". The details I've mentioned were listed as "Owner".

pichlo 2017-09-15 06:30

Re: MyDocs permissions
 
Quote:

Originally Posted by bradvesp (Post 1534403)
I've assumed the corruption was cause by someone trying to tamper with it, tunnel into it, reset permissions, or otherwise access it.

Although remotely possible, it is highly unlikely. The most common cause of FS corruption is an unclean interruption of a write operation. A sudden shutdown or reboot - or a surprise removal of a USB storage. That is why you have to remove cleanly. A dodgy USB port can easily cause problems like this.

bradvesp 2017-09-15 18:31

Re: MyDocs permissions
 
Quote:

Originally Posted by pichlo (Post 1534421)
Although remotely possible, it is highly unlikely. The most common cause of FS corruption is an unclean interruption of a write operation. A sudden shutdown or reboot - or a surprise removal of a USB storage. That is why you have to remove cleanly. A dodgy USB port can easily cause problems like this.

Thanks for the info.
Before it happened I was downloading a file from a fairly reputable organization via WiFi. So, the problem wasn't caused by a usb issue. I've downloaded files from there before without any problems.
I'm concerned the problem was cause at the local level (at the WiFi router in my apartment).


All times are GMT. The time now is 22:35.

vBulletin® Version 3.8.8