Can't save file into /Home?

This forum is dedicated to basic help and support :

Ask here your questions about basic installation and usage of Mageia. For example you may post here all your questions about getting Mageia isos and installing it, configuring your printer, using your word processor etc.

Try to ask your questions in the right sub-forum with as much details as you can gather. the more precise the question will be, the more likely you are to get a useful answer

Can't save file into /Home?

Postby ddalley » Jul 13th, '13, 23:42

Well, this is a first for me. I looked back in the post history until just after launch, but no-one else seems to have a similar problem.

I did a fresh install to a USB drive, updated, then tried to set up some basic files. I can't access the hard drive in the computer box at all nor can I copy files I need into my /home. Permissions seem to be normal, so I have no clue as to why this would happen.

Any ideas how to resolve this problem?
Last edited by ddalley on Jul 17th, '13, 08:49, edited 3 times in total.
ddalley
 
Posts: 4
Joined: Jul 13th, '13, 20:58

Re: Can't save file into /Home?

Postby doktor5000 » Jul 14th, '13, 10:03

What media did you use for installation, live cd/dvd or normal cd/dvd?
Please show the outpuf of
Code: Select all
ls -al /home
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18067
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Can't save file into /Home?

Postby ddalley » Jul 16th, '13, 06:24

Installation media was a live DVD.

I'll have to run that command later, after I try to boot it again.
ddalley
 
Posts: 4
Joined: Jul 13th, '13, 20:58

Re: Can't save file into /Home?

Postby dennisk » Jul 17th, '13, 01:47

Are you trying to write files to /home or your home directory /home/your_user_name? As an ordinary user you can only write to your home directory, /tmp and /var/tmp. This prevents damage to the system by a careless user. Root, of course, can write to any directory.

If you can't write to your home directory that there is something wrong. You might post the output of mount and umask. Here is a typical example:

Code: Select all
$ mount | grep /home
/dev/mapper/vg--mga-home on /home type btrfs (rw,noatime,space_cache)
$ umask
0022


It shows that the separate /home partition is mounted read/write and the the default file permissions are appropriate.

dennisk
Network Academy
Mesa Community College
Mesa, Arizona, USA
User avatar
dennisk
 
Posts: 15
Joined: Jul 17th, '13, 01:36

Re: Can't save file into /Home?

Postby ddalley » Jul 17th, '13, 07:48

{edit} The problem sems to have corrected itself. I did nothing other than wait a few days and reboot.
{edit} Well, not quite. I could not delete a file on the networked NAS box, so permissions probably didn't get set up completely. They looked normal.

$ mount | grep /home
/dev/sdb6 on /home type ext4 (rw,relatime,data=ordered)

$ umask
0022
ddalley
 
Posts: 4
Joined: Jul 13th, '13, 20:58

Re: Can't save file into /Home?

Postby dennisk » Jul 17th, '13, 17:43

Yep, That output looks normal. You might want to mark this thread [SOLVED].
Network Academy
Mesa Community College
Mesa, Arizona, USA
User avatar
dennisk
 
Posts: 15
Joined: Jul 17th, '13, 01:36

Re: Can't save file into /Home?

Postby ddalley » Jul 17th, '13, 18:47

I did mark it solved, until I noticed the related problem, noted above.
ddalley
 
Posts: 4
Joined: Jul 13th, '13, 20:58

Re: Can't save file into /Home?

Postby doktor5000 » Jul 17th, '13, 19:29

What does the NAS box have to do with your /home?
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18067
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Can't save file into /Home?

Postby dennisk » Jul 17th, '13, 22:01

Here's tip. It's easier to get help on the forum if you limit each post to one issue. If you also have a NAS problem please make that a separate post with a subject line that describes the problem.

dennisk
Network Academy
Mesa Community College
Mesa, Arizona, USA
User avatar
dennisk
 
Posts: 15
Joined: Jul 17th, '13, 01:36


Return to Basic support

Who is online

Users browsing this forum: No registered users and 1 guest