ai-user w/o write permissions in main file system

Anything regarding the Operating System itself: accounts, boot, desktop, control panel, system utilities and file explorer

ai-user w/o write permissions in main file system

Postby jthiels » Sun Oct 25, 2009 11:53 am

Tried to save a .txt file using Notepad/Mousepad and received a GTK+ warning that user had no permission to write file. I was able to save opening mousepad as sudo (sudo -s). Problem persisted after reboot and with abiword and with gimp--basically the user has only read permission in the main file system. Is this the same problem reported here?
viewtopic.php?f=8&t=300 ? If so, how to add open file and write permission to the main partition??? Same code?
jthiels
 
Posts: 27
Joined: Thu Oct 08, 2009 12:17 pm

Re: ai-user w/o write permissions in main file system

Postby he_the_great » Sun Oct 25, 2009 12:51 pm

The user (ai) is only going to have permissions in the directory /home/ai if you are trying to save in another locations (sub-directoies are ok) you must have root access.

USB devices are just not being mounted properly.
he_the_great
 
Posts: 195
Joined: Tue Aug 25, 2009 10:51 am
Location: Washington

Re: ai-user w/o write permissions in main file system

Postby jthiels » Sun Oct 25, 2009 1:11 pm

he_the_great wrote:The user (ai) is only going to have permissions in the directory /home/ai if you are trying to save in another locations (sub-directoies are ok) you must have root access.

USB devices are just not being mounted properly.


I had no write access to the whole /home/ai directory for some reason--I hadn't run anything that I knew would change those permissions but ended up fixing it with chmod from root.
Code: Select all
chmod -R go+rw /home/ai
Someone on IRC suggested chown (to change owner from root to ai), but is there a difference in security?
jthiels
 
Posts: 27
Joined: Thu Oct 08, 2009 12:17 pm

Re: ai-user w/o write permissions in main file system

Postby he_the_great » Sun Oct 25, 2009 5:41 pm

jthiels wrote:
he_the_great wrote:I had no write access to the whole /home/ai directory for some reason--I hadn't run anything that I knew would change those permissions but ended up fixing it with chmod from root.
Code: Select all
chmod -R go+rw /home/ai
Someone on IRC suggested chown (to change owner from root to ai), but is there a difference in security?


Yes, and no. The chmod command you used allows all users on the Touch Book access to read and write to your home directory. However, there are no other users, no password, and the SD card can easily be removed and read on any Linux machine.
he_the_great
 
Posts: 195
Joined: Tue Aug 25, 2009 10:51 am
Location: Washington

Re: ai-user w/o write permissions in main file system

Postby jthiels » Tue Oct 27, 2009 4:47 pm

Thanks!
jthiels
 
Posts: 27
Joined: Thu Oct 08, 2009 12:17 pm

Re: ai-user w/o write permissions in main file system

Postby gsarafin » Wed Nov 04, 2009 9:27 pm

I've had the same issue. Security probably isn't an issue, but it you want to make it so that only ai (the default user) is the only one that can access that folder, then change ownership.

Code: Select all
chown -R ai /home/ai


might not need the R option, but I used it and didn't have any issues
gsarafin
 
Posts: 5
Joined: Sun Oct 18, 2009 2:56 pm


Return to Core

Who is online

Users browsing this forum: No registered users and 0 guests

cron