Re: [opensuse] Permissions and Catch-22
On Wednesday 16 January 2008 14:49, Stan Goodman wrote:
...
Obviously, I can't do anything with the great majority of the folders and files. But I could, if only I could do some chmod commands in
On Thursday 17 January 2008 01:38 Randall R Schulz wrote: the
terminal. But I can't use the terminal, because it sees nothing. Catch-22.
"Sees nothing?"
Nothing: <ls> returns nothing at all, <dir> returms "0".
Ascertain where those volume are mounted, first:
% df Filesystem 1K-blocks Used Available Use% Mounted on LABEL=Root10 35895684 15595092 20300592 44% / tmpfs 1036540 0 1036540 0% /dev/shm /dev/sda1 293008588 91058060 201950528 32% /repo /dev/sdb1 20962560 11337580 9624980 55% /root93 /dev/sdd1 11962304 6421116 5541188 54% /root91 /dev/sdd2 11961344 6690496 5270848 56% /home /dev/sdd3 11961344 1242680 10718664 11% /dar
(I chose "df" instead of the more obvious "mount" simply because the output is easier to read, in my opinion.)
Presumably you'll recognize which of the file system shown there are
the
two you're concerned with. You can then cd there, chmod or chown (-R) to your hearts content (after becoming root, of course).
I would be grateful for some insight into this, so I can access the files. Again, I had nothing of the sort in v10.2.
It's obvious to me that I misinterpreted the information on page "man fstab", and have not mounted these two partitions properly, because they do not appear at all in the df readout: ***** # df Filesystem 1K-blocks Used Available Use% Mounted on /dev/sda6 20161172 4263432 14873600 23% / udev 1027092 112 1026980 1% /dev /dev/sda7 30249960 432008 28281340 2% /home ***** Here is mount: ***** # mount /dev/sda6 on / type ext3 (rw,acl,user_xattr) proc on /proc type proc (rw) sysfs on /sys type sysfs (rw) debugfs on /sys/kernel/debug type debugfs (rw) udev on /dev type tmpfs (rw) devpts on /dev/pts type devpts (rw,mode=0620,gid=5) /dev/sda7 on /home type ext3 (rw,acl,user_xattr) securityfs on /sys/kernel/security type securityfs (rw) The pertinent lines of fstab are as follows: ***** /dev/sda12 /mnt/info jfs ro,noauto,user 0 0 /dev/sda13 /mnt/datafiles jfs ro,noauto,user 0 0 ***** They still make sense to me, but there must be a misunderstanding. How is this incorrect? -- Stan Goodman Qiryat Tiv'on Israel -- Stan Goodman Qiryat Tiv'on Israel -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 The Thursday 2008-01-17 at 14:21 +0200, Stan Goodman wrote:
"Sees nothing?"
Nothing: <ls> returns nothing at all, <dir> returms "0".
...
It's obvious to me that I misinterpreted the information on page "man fstab", and have not mounted these two partitions properly, because they do not appear at all in the df readout:
***** # df Filesystem 1K-blocks Used Available Use% Mounted on /dev/sda6 20161172 4263432 14873600 23% / udev 1027092 112 1026980 1% /dev /dev/sda7 30249960 432008 28281340 2% /home *****
...
The pertinent lines of fstab are as follows:
***** /dev/sda12 /mnt/info jfs ro,noauto,user 0 0 /dev/sda13 /mnt/datafiles jfs ro,noauto,user 0 0 *****
They still make sense to me, but there must be a misunderstanding. How is this incorrect?
Well... as I see it, it is correct. The partitions are not mounted because you have not explicitly mounted them... Ie, the "noauto" keyword means that those two partitions will not be mounted automatically, and thus the "/mnt/info" dir will be empty, obviously, till you mount it. - -- Cheers, Carlos E. R. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4-svn0 (GNU/Linux) iD8DBQFHj1ONtTMYHG2NR9URAv39AKCVm6+96mF5GCHRmPXqlgx5gb4UrACgl7rS coOt+IGUxn6xi1+pFQv4sNY= =xJsI -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Thu, 2008-01-17 at 14:09 +0100, Carlos E. R. wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
The Thursday 2008-01-17 at 14:21 +0200, Stan Goodman wrote:
"Sees nothing?"
Nothing: <ls> returns nothing at all, <dir> returms "0".
...
It's obvious to me that I misinterpreted the information on page "man fstab", and have not mounted these two partitions properly, because they do not appear at all in the df readout:
***** # df Filesystem 1K-blocks Used Available Use% Mounted on /dev/sda6 20161172 4263432 14873600 23% / udev 1027092 112 1026980 1% /dev /dev/sda7 30249960 432008 28281340 2% /home *****
...
The pertinent lines of fstab are as follows:
***** /dev/sda12 /mnt/info jfs ro,noauto,user 0 0 /dev/sda13 /mnt/datafiles jfs ro,noauto,user 0 0 *****
They still make sense to me, but there must be a misunderstanding. How is this incorrect?
Well... as I see it, it is correct. The partitions are not mounted because you have not explicitly mounted them...
Ie, the "noauto" keyword means that those two partitions will not be mounted automatically, and thus the "/mnt/info" dir will be empty, obviously, till you mount it.
Well, now we know which element it was that I didn't understand. Thank you...
- -- Cheers, Carlos E. R.
-- Stan Goodman Qiryat Tiv'on Israel -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
participants (2)
-
Carlos E. R.
-
Stan Goodman