[opensuse] Permissions and Catch-22
There are two partitions in my OS/2 installation that I wish to have available to Linux as well; they are formatted with JFS (OS/2 implementation, of course). I had no difficulty in doing this in openSuSE v10.2, but I am having a knotty problem with it now, in v10.3. In fstab, each of these partitions is mounted to its own subdirectory of /mnt. When I use a terminal in either subdirectory (whether as root or user) to get a directory of either partition, the answer is that the partition is empty. This was a nasty surprise, especially becauser the lines in fstab look all right to me. To try to get a handle on what is happening, I entered My Computer, and saw that the two partitions do appear in the right hand column, complete with correct sizes. Clicking on either one of them brought up a window populated with all the folders, and these are filled with all the files that should be there. Most of the folders are shown with padlocks, of course; a few are not, and I don't understand this either. 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 the terminal. But I can't use the terminal, because it sees nothing. Catch-22. 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. -- Stan Goodman Qiryat Tiv'on Israel "Clothes make the man. Naked people have little or no influence on society." - Mark Twain -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
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 the terminal. But I can't use the terminal, because it sees nothing. Catch-22.
"Sees nothing?" 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.
-- Stan Goodman
Randall Schulz -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Randall R Schulz wrote:
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 the terminal. But I can't use the terminal, because it sees nothing. Catch-22.
"Sees nothing?"
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.)
Even better readability is provided by df -h (-h flag is for for "human readable"): $ df -h Filesystem Size Used Avail Use% Mounted on /dev/sda5 1012M 457M 504M 48% / udev 1013M 172K 1013M 1% /dev /dev/sda6 9.0G 4.8G 4.3G 53% /usr /dev/sda7 6.0G 1.2G 4.9G 19% /var /dev/sda8 10G 2.5G 7.6G 25% /opt /dev/sda11 64G 47G 17G 74% /home /dev/sda9 2.0G 749M 1.3G 37% /tmp /dev/sdb1 79G 21G 58G 26% /windows/c /dev/hda 132M 132M 0 100% /media/HP_50g $
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).
-- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Wednesday 16 January 2008 16:38, Randall R Schulz wrote:
(I chose "df" instead of the more obvious "mount" simply because the output is easier to read, in my opinion.)
mount | column -t make the output much easier to read. -- Don -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Thursday 17 January 2008 11:02, Don Raboud wrote:
On Wednesday 16 January 2008 16:38, Randall R Schulz wrote:
(I chose "df" instead of the more obvious "mount" simply because the output is easier to read, in my opinion.)
mount | column -t
Very nice. There's lots of places where I can use the "column" command. I can't believe I never encountered it before.
make the output much easier to read.
Definitely.
-- Don
Randall Schulz -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
* Randall R Schulz
On Thursday 17 January 2008 11:02, Don Raboud wrote:
On Wednesday 16 January 2008 16:38, Randall R Schulz wrote:
(I chose "df" instead of the more obvious "mount" simply because the output is easier to read, in my opinion.)
mount | column -t
Very nice. There's lots of places where I can use the "column" command. I can't believe I never encountered it before.
Yes, but it's so new. The man pages were authored 1993 :^) - -- Patrick Shanahan Plainfield, Indiana, USA HOG # US1244711 http://wahoo.no-ip.org Photo Album: http://wahoo.no-ip.org/gallery2 Registered Linux User #207535 @ http://counter.li.org -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (GNU/Linux) iD8DBQFHj8DXClSjbQz1U5oRAsALAJwPoXmlzaNyWSUxQcpBBpUMBC80KQCeIAPr IYfwyMPcbhuml64mtSPj2Lo= =lVBG -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Patrick Shanahan wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
* Randall R Schulz
[01-17-08 15:38]: On Thursday 17 January 2008 11:02, Don Raboud wrote:
On Wednesday 16 January 2008 16:38, Randall R Schulz wrote:
(I chose "df" instead of the more obvious "mount" simply because the output is easier to read, in my opinion.) mount | column -t Very nice. There's lots of places where I can use the "column" command. I can't believe I never encountered it before.
Yes, but it's so new. The man pages were authored 1993 :^)
And I believe the command originated on BSD in the 1980's. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Thursday 17 January 2008 20:17, Aaron Kulkis wrote:
Patrick Shanahan wrote:
...
mount | column -t
Very nice. There's lots of places where I can use the "column" command. I can't believe I never encountered it before.
Yes, but it's so new. The man pages were authored 1993 :^)
And I believe the command originated on BSD in the 1980's.
According to the man page, it originated in the "Reno" release of 4.3BSD, so probably that's right. RRS -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Randall R Schulz wrote:
On Thursday 17 January 2008 20:17, Aaron Kulkis wrote:
Patrick Shanahan wrote:
...
mount | column -t Very nice. There's lots of places where I can use the "column" command. I can't believe I never encountered it before. Yes, but it's so new. The man pages were authored 1993 :^) And I believe the command originated on BSD in the 1980's.
According to the man page, it originated in the "Reno" release of 4.3BSD, so probably that's right.
And it was floating around at some places far earlier than the official release. (some the Vaxen on the Electrical Engineering school machines on the ecn.purdue.edu network always had the latest builds (within 1 month)) from Berkeley, as well as other things from CMU and MIT.
RRS
-- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
participants (5)
-
Aaron Kulkis
-
Don Raboud
-
Patrick Shanahan
-
Randall R Schulz
-
Stan Goodman