Page 1 of 1

Can't save file into /Home?

PostPosted: Jul 13th, '13, 23:42
by ddalley
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?

Re: Can't save file into /Home?

PostPosted: Jul 14th, '13, 10:03
by doktor5000
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

Re: Can't save file into /Home?

PostPosted: Jul 16th, '13, 06:24
by ddalley
Installation media was a live DVD.

I'll have to run that command later, after I try to boot it again.

Re: Can't save file into /Home?

PostPosted: Jul 17th, '13, 01:47
by dennisk
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

Re: Can't save file into /Home?

PostPosted: Jul 17th, '13, 07:48
by ddalley
{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

Re: Can't save file into /Home?

PostPosted: Jul 17th, '13, 17:43
by dennisk
Yep, That output looks normal. You might want to mark this thread [SOLVED].

Re: Can't save file into /Home?

PostPosted: Jul 17th, '13, 18:47
by ddalley
I did mark it solved, until I noticed the related problem, noted above.

Re: Can't save file into /Home?

PostPosted: Jul 17th, '13, 19:29
by doktor5000
What does the NAS box have to do with your /home?

Re: Can't save file into /Home?

PostPosted: Jul 17th, '13, 22:01
by dennisk
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