Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Can't execute programs in /home [Solved]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
TJNII
l33t
l33t


Joined: 09 Nov 2003
Posts: 637
Location: for(;;);

PostPosted: Mon Jun 13, 2005 5:30 pm    Post subject: Can't execute programs in /home [Solved] Reply with quote

As the title states, I can't execute any program residing in /home as either my day-to-day user or root. I figure it's prolly a simple fix in my fstab, but I don't know what that fix is.

Relavant fstab stuff:
Code:

/dev/hda2               /boot           ext3            noauto,noatime          1 2
/dev/hda5               /               reiserfs        noatime                 0 1
/dev/hda3               none            swap            sw                      0 0
/dev/cdroms/cdrom0      /mnt/cdrom      iso9660         noauto,ro,user          0 0
/dev/cdroms/cdrom1      /mnt/cdrom1     iso9660         noauto,ro               0 0
/dev/hda6               /mnt/backups    auto            noatime                 0 1
/dev/hda7               /home           ext3            noatime                 0 1
/dev/hda1               /mnt/Windows    auto            noatime,ro,user         0 1
/dev/sda1               /mnt/KeyDrive   auto            noauto,user             0 0
/dev/sdb1               /mnt/KeyDrive1  auto            noauto,user             0 0


As you can see /home is it's own ext3 partition. The problem is probably on the /dev/hda7 line.
_________________
Maintaining documentation on upgrades is apparently not within the power of Gentoo
Beware when you emerge -u world!


Last edited by TJNII on Mon Jun 13, 2005 6:13 pm; edited 1 time in total
Back to top
View user's profile Send private message
BitJam
Advocate
Advocate


Joined: 12 Aug 2003
Posts: 2508
Location: Silver City, NM

PostPosted: Mon Jun 13, 2005 5:51 pm    Post subject: Reply with quote

That line looks fine. What is the error message you get? What are the permissions on the directory and files in question? Finally, I don't want to offend you, but are you putting a ./ in front of the executables?
Back to top
View user's profile Send private message
TJNII
l33t
l33t


Joined: 09 Nov 2003
Posts: 637
Location: for(;;);

PostPosted: Mon Jun 13, 2005 6:00 pm    Post subject: Reply with quote

The error: Permission Denied

Permissions: I did a chmod 700 * -R and a chown tom * -R on everything in that directory as root. As such, my user (tom) owns all the executables and has full access. I recompiled the program on this machine so it is executable.

Yes, I remembered the ./
_________________
Maintaining documentation on upgrades is apparently not within the power of Gentoo
Beware when you emerge -u world!
Back to top
View user's profile Send private message
TJNII
l33t
l33t


Joined: 09 Nov 2003
Posts: 637
Location: for(;;);

PostPosted: Mon Jun 13, 2005 6:03 pm    Post subject: Reply with quote

I figured it out.

I had user in the options. I took it out because I remembered from another issue it causes execution problems. I didn't, however, re-mount the drive. As such the change didn't take effect. Now it works, as I rebooted the system since Saturday.

Never mind.
_________________
Maintaining documentation on upgrades is apparently not within the power of Gentoo
Beware when you emerge -u world!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum