Gentoo Archives: gentoo-user

From: Greg Lindstrom <gslindstrom@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Running Scripts
Date: Sat, 28 Jul 2007 14:38:56
Message-Id: a9f39a410707280733m37eeb3c9p84d45bac88869fbd@mail.gmail.com
In Reply to: Re: [gentoo-user] Running Scripts by Kent Fredric
1 Eric Martin:
2 >what does ls -l /etc/fstab show?
3
4 $ ls -l /etc/fstab
5 -rw-r----- 1 root root 1434 Nov 29 2006 /etc/fstab
6
7
8 Florian Phillip:
9
10 >Please post the output of
11 >cat /etc/group | grep $username
12
13 Returns nothing. When I substitute my username (glindstrom) in it also
14 returns nothing.
15
16
17 Arthuro Buanzo:
18
19 > Try sending us the output of the "mount" command.
20
21 $ mount
22 /dev/sda2 on / type ext3 (rw,noatime,acl)
23 proc on /proc type proc (rw)
24 sysfs on /sys type sysfs (rw)
25 udev on /dev type tmpfs (rw,nosuid)
26 devpts on /dev/pts type devpts (rw)
27 /dev/sda5 on /var type ext3 (rw,nodev,noatime)
28 /dev/sda6 on /usr type ext3 (rw,nodev,noatime,acl)
29 /dev/sda7 on /home type ext3 (rw,nosuid,nodev)
30 /dev/sda8 on /m01 type ext3 (rw,nosuid,nodev,noatime,acl)
31 none on /dev/shm type tmpfs (rw,noexec,nosuid,nodev)
32 none on /tmp type tmpfs (rw,size=32M)
33 usbfs on /proc/bus/usb type usbfs (rw,devmode=0664,devgid=85)
34 //express/bender_departments on /mnt/depts type smbfs (0)
35 //express/bender_public on /mnt/public type smbfs (0)
36 //express/bender_everyone on /mnt/everyone type smbfs (0)
37 //express/edi_images on /mnt/edi_images type smbfs (0)
38
39
40 Dirk Heinrichs:
41
42 > Or just: id
43
44 $ id
45 uid=10002(glindstrom) gid=1000(people)
46 groups=1000(people),1002(cvs),1005(it),1022(p_it),1027(appdev)
47
48
49 Kent Fredric:
50 >try a plain old bash script and see if that works, and try this and
51 >see if it works:
52
53
54 $ ./testrun
55 -bash: ./testrun: Permission denied
56
57
58
59 <Sigh>. Thanks for all of your help, guys. It looks like I'm not set up to
60 execute sctripts in this manner. I'll continue to put "python" or "perl" in
61 front of them
62
63 Thanks again,
64 --greg

Replies

Subject Author
Re: [gentoo-user] Running Scripts Uwe Thiem <uwix@××××.na>