Hi A few days ago i installed 12.3. During the installation, I set up 4 primary partitions, swap, root, Home and Data. Everything works ok except kde can’t read or write to the Data partition I can click on the folder and it will open but that’s all. However, I can read and write to the partition from the terminal. Thank you
Why not show us a copy of your /etc/fstab file? Open up a terminal session and type the following command:
cat /etc/fstab
Post the result here in your next message using a code # tags in the advanced message editor. Just pop in a message, highlight only this text and press # and it is in a code # tag. For easy edits to the fstab file, have a look at this blog: SYSEdit - System File Editor - Version 1.50 - Blogs - openSUSE Forums
Thank You,
On 2013-05-17 03:56, Subzero01 wrote:
>
> Hi A few days ago i installed 12.3. During the installation, I set up 4
> primary partitions, swap, root, Home and Data. Everything works ok
> except kde can’t read or write to the Data partition I can click on the
> folder and it will open but that’s all. However, I can read and write to
> the partition from the terminal. Thank you
Please run in a terminal the command “mount” and copy back here the
output, inside code tags. Advanced editor, ‘#’ button.
Posting in
Code Tags - A Guide
–
Cheers / Saludos,
Carlos E. R.
(from 12.1 x86_64 “Asparagus” at Telcontar)
As requested mount
devtmpfs on /dev type devtmpfs (rw,relatime,size=1993208k,nr_inodes=498302,mode=755) tmpfs on /dev/shm type tmpfs (rw,relatime) tmpfs on /run type tmpfs (rw,nosuid,nodev,relatime,mode=755) devpts on /dev/pts type devpts (rw,relatime,gid=5,mode=620,ptmxmode=000) /dev/sda3 on / type ext4 (rw,relatime,data=ordered) proc on /proc type proc (rw,relatime) sysfs on /sys type sysfs (rw,relatime) securityfs on /sys/kernel/security type securityfs (rw,nosuid,nodev,noexec,relatime) tmpfs on /sys/fs/cgroup type tmpfs (rw,nosuid,nodev,noexec,mode=755) cgroup on /sys/fs/cgroup/systemd type cgroup (rw,nosuid,nodev,noexec,relatime,release_agent=/usr/lib/systemd/systemd-cgroups-agent,name=systemd) cgroup on /sys/fs/cgroup/cpuset type cgroup (rw,nosuid,nodev,noexec,relatime,cpuset) cgroup on /sys/fs/cgroup/cpu,cpuacct type cgroup (rw,nosuid,nodev,noexec,relatime,cpuacct,cpu) cgroup on /sys/fs/cgroup/memory type cgroup (rw,nosuid,nodev,noexec,relatime,memory) cgroup on /sys/fs/cgroup/devices type cgroup (rw,nosuid,nodev,noexec,relatime,devices) cgroup on /sys/fs/cgroup/freezer type cgroup (rw,nosuid,nodev,noexec,relatime,freezer) cgroup on /sys/fs/cgroup/net_cls type cgroup (rw,nosuid,nodev,noexec,relatime,net_cls) cgroup on /sys/fs/cgroup/blkio type cgroup (rw,nosuid,nodev,noexec,relatime,blkio) cgroup on /sys/fs/cgroup/perf_event type cgroup (rw,nosuid,nodev,noexec,relatime,perf_event) cgroup on /sys/fs/cgroup/hugetlb type cgroup (rw,nosuid,nodev,noexec,relatime,hugetlb) systemd-1 on /proc/sys/fs/binfmt_misc type autofs (rw,relatime,fd=26,pgrp=1,timeout=300,minproto=5,maxproto=5,direct) hugetlbfs on /dev/hugepages type hugetlbfs (rw,relatime) mqueue on /dev/mqueue type mqueue (rw,relatime) tmpfs on /var/lock type tmpfs (rw,nosuid,nodev,relatime,mode=755) debugfs on /sys/kernel/debug type debugfs (rw,relatime) tmpfs on /var/run type tmpfs (rw,nosuid,nodev,relatime,mode=755) /dev/sda1 on /boot/efi type vfat (rw,relatime,fmask=0002,dmask=0002,allow_utime=0020,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro) /dev/sda4 on /home type ext4 (rw,relatime,data=ordered) /dev/sda5 on /Data type ext4 (rw,relatime,data=ordered) fusectl on /sys/fs/fuse/connections type fusectl (rw,relatime) gvfsd-fuse on /run/user/1000/gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev,relatime,user_id=1000,group_id=100) gvfsd-fuse on /var/run/user/1000/gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev,relatime,user_id=1000,group_id=100)
fstab
/dev/disk/by-id/ata-WDC_WD10EALX-009BA0_WD-WMATR0522073-part2 swap swap defaults 0 0 /dev/disk/by-id/ata-WDC_WD10EALX-009BA0_WD-WMATR0522073-part3 / ext4 acl,user_xattr 1 1 /dev/disk/by-id/ata-WDC_WD10EALX-009BA0_WD-WMATR0522073-part5 /Data ext4 acl,user_xattr 1 2 /dev/disk/by-id/ata-WDC_WD10EALX-009BA0_WD-WMATR0522073-part1 /boot/efi vfat umask=0002,utf8=true 0 0 /dev/disk/by-id/ata-WDC_WD10EALX-009BA0_WD-WMATR0522073-part4 /home ext4 acl,user_xattr 1 2 proc /proc proc defaults 0 0 sysfs /sys sysfs noauto 0 0 debugfs /sys/kernel/debug debugfs noauto 0 0 usbfs /proc/bus/usb usbfs noauto 0 0 devpts /dev/pts devpts mode=0620,gid=5 0 0
This does’nt look very good i hope you can read it ok
On 2013-05-17 05:36, Subzero01 wrote:
> This does’nt look very good i hope you can read it ok
It is unreadable, sorry.
–
Cheers / Saludos,
Carlos E. R.
(from 12.1 x86_64 “Asparagus” at Telcontar)
You use the CODE tags, but somehow you managed to completly misform the contents. You must copy/paste the text from within your terminal wind directly in between the CODE tags. And you must copy it including the prompt, the command and the new prompt at the end of the output.
And apart from the output we are waiting for, you could explain what you told the installer to do with that “Dat” partition. Did you tell it to format it and when yes with what file system type? Did you tell to mount it and when yes, where?
This because we know it is rather normal to use a swap partition forswap, to mount a so called “root partition” on / and to mount a so called "home partition on /home, but there is no fixed “rule” for most other partitions a system manager may think he needs on the system.
You could also see if http://en.opensuse.org/SDB%3ABasics_of_partitions,_filesystems,_mount_points contains information you did not already know.
/dev/disk/by-id/ata-WDC_WD10EALX-009BA0_WD-WMATR0522073-part2 swap swap defaults 0 0
/dev/disk/by-id/ata-WDC_WD10EALX-009BA0_WD-WMATR0522073-part3 / ext4 acl,user_xattr 1 1
/dev/disk/by-id/ata-WDC_WD10EALX-009BA0_WD-WMATR0522073-part5 /Data ext4 acl,user_xattr 1 2
/dev/disk/by-id/ata-WDC_WD10EALX-009BA0_WD-WMATR0522073-part1 /boot/efi vfat umask=0002,utf8=true 0 0
/dev/disk/by-id/ata-WDC_WD10EALX-009BA0_WD-WMATR0522073-part4 /home ext4 acl,user_xattr 1 2
proc /proc proc defaults 0 0
sysfs /sys sysfs noauto 0 0
debugfs /sys/kernel/debug debugfs noauto 0 0
usbfs /proc/bus/usb usbfs noauto 0 0
devpts /dev/pts devpts mode=0620,gid=5 0 0
Looks like an efi boot setup. I don’t have much time this morning, but at least your posts should be readable.
devtmpfs on /dev type devtmpfs (rw,relatime,size=1993208k,nr_inodes=498302,mode=755)
tmpfs on /dev/shm type tmpfs (rw,relatime)
tmpfs on /run type tmpfs (rw,nosuid,nodev,relatime,mode=755)
devpts on /dev/pts type devpts (rw,relatime,gid=5,mode=620,ptmxmode=000)
/dev/sda3 on / type ext4 (rw,relatime,data=ordered)
proc on /proc type proc (rw,relatime) sysfs on /sys type sysfs (rw,relatime)
securityfs on /sys/kernel/security type securityfs (rw,nosuid,nodev,noexec,relatime)
tmpfs on /sys/fs/cgroup type tmpfs (rw,nosuid,nodev,noexec,mode=755)
cgroup on /sys/fs/cgroup/systemd type cgroup (rw,nosuid,nodev,noexec,relatime,release_agent=/usr/lib/systemd/systemd-cgroups-agent,name=systemd)
cgroup on /sys/fs/cgroup/cpuset type cgroup (rw,nosuid,nodev,noexec,relatime,cpuset)
cgroup on /sys/fs/cgroup/cpu,cpuacct type cgroup (rw,nosuid,nodev,noexec,relatime,cpuacct,cpu)
cgroup on /sys/fs/cgroup/memory type cgroup (rw,nosuid,nodev,noexec,relatime,memory)
cgroup on /sys/fs/cgroup/devices type cgroup (rw,nosuid,nodev,noexec,relatime,devices)
cgroup on /sys/fs/cgroup/freezer type cgroup (rw,nosuid,nodev,noexec,relatime,freezer)
cgroup on /sys/fs/cgroup/net_cls type cgroup (rw,nosuid,nodev,noexec,relatime,net_cls)
cgroup on /sys/fs/cgroup/blkio type cgroup (rw,nosuid,nodev,noexec,relatime,blkio)
cgroup on /sys/fs/cgroup/perf_event type cgroup (rw,nosuid,nodev,noexec,relatime,perf_event)
cgroup on /sys/fs/cgroup/hugetlb type cgroup (rw,nosuid,nodev,noexec,relatime,hugetlb)
systemd-1 on /proc/sys/fs/binfmt_misc type autofs (rw,relatime,fd=26,pgrp=1,timeout=300,minproto=5,maxproto=5,direct)
hugetlbfs on /dev/hugepages type hugetlbfs (rw,relatime)
mqueue on /dev/mqueue type mqueue (rw,relatime)
tmpfs on /var/lock type tmpfs (rw,nosuid,nodev,relatime,mode=755)
debugfs on /sys/kernel/debug type debugfs (rw,relatime)
tmpfs on /var/run type tmpfs (rw,nosuid,nodev,relatime,mode=755)
/dev/sda1 on /boot/efi type vfat (rw,relatime,fmask=0002,dmask=0002,allow_utime=0020,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro)
/dev/sda4 on /home type ext4 (rw,relatime,data=ordered)
/dev/sda5 on /Data type ext4 (rw,relatime,data=ordered)
fusectl on /sys/fs/fuse/connections type fusectl (rw,relatime)
gvfsd-fuse on /run/user/1000/gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev,relatime,user_id=1000,group_id=100)
gvfsd-fuse on /var/run/user/1000/gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev,relatime,user_id=1000,group_id=100)
Thank You,
From the mount table:
/dev/sda5 on /Data type ext4 (rw,relatime,data=ordered)
Which looks rather normal.
You say you can read and write to that file system from the terminal. Please show us:
ls -ld /Data
ls -l /Data
to see who owns what.
On 2013-05-17 10:16, hcvv wrote:
>
> And apart from the output we are waiting for, you could explain what you
> told the installer to do with that “Dat” partition. Did you tell it to
> format it and when yes with what file system type? Did you tell to mount
> it and when yes, where?
Looking very carefully with an editor at his output I see this:
mount output
> /dev/sda5 on /Data type ext4 (rw,relatime,data=ordered)
fstab "line"
> /dev/disk/by-id/ata-WDC_WD10EALX-009BA0_WD-WMATR0522073-part5 /Data ext4 acl,user_xattr 1 2
This contradicts the OP affirmation of “I set up 4
primary partitions, swap, root, Home and Data”. The data partition is a
logical one, not a primary - unless it is a GPT setup, which matches the
presence of /boot/efi.
I think the setup is:
> /dev/sda1 on /boot/efi type vfat (rw,relatime,fmask=0002,dmask=0002,allow_utime=0020,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro)
> /dev/sda2 is swap (guess)
> /dev/sda3 on / type ext4 (rw,relatime,data=ordered)
> /dev/sda4 on /home type ext4 (rw,relatime,data=ordered)
> /dev/sda5 on /Data type ext4 (rw,relatime,data=ordered)
The OP said:
> except kde can’t read or write to the Data partition I can click on the
> folder and it will open but that’s all. However, I can read and write to
> the partition from the terminal. Thank you
I think he is simply clicking at the wrong folder in KDE. The partition
is already there, mounted and accessible - proved by accessing it from
the terminal. So a detailed description or photo(s) of what happens in
KDE would be needed now.
Of course, typically a plain user will not be able to write on that
partition, no permissions, unless the OP chowns it to the user or adds a
directory owned by the user.
–
Cheers / Saludos,
Carlos E. R.
(from 12.1 x86_64 “Asparagus” at Telcontar)
I am root user
OpenSuse12:/home/terry # ls -l /Data
drwx------ 2 root root 16384 May 11 21:59 lost+found
OpenSuse12:/home/terry # mount
devtmpfs on /dev type devtmpfs (rw,relatime,size=1993212k,nr_inodes=498303,mode=755)
tmpfs on /dev/shm type tmpfs (rw,relatime)
tmpfs on /run type tmpfs (rw,nosuid,nodev,relatime,mode=755)
devpts on /dev/pts type devpts (rw,relatime,gid=5,mode=620,ptmxmode=000)
/dev/sda3 on / type ext4 (rw,relatime,data=ordered)
proc on /proc type proc (rw,relatime)
sysfs on /sys type sysfs (rw,relatime)
securityfs on /sys/kernel/security type securityfs (rw,nosuid,nodev,noexec,relatime)
tmpfs on /sys/fs/cgroup type tmpfs (rw,nosuid,nodev,noexec,mode=755)
cgroup on /sys/fs/cgroup/systemd type cgroup (rw,nosuid,nodev,noexec,relatime,release_agent=/usr/lib/systemd/systemd-cgroups-agent,name=systemd)
cgroup on /sys/fs/cgroup/cpuset type cgroup (rw,nosuid,nodev,noexec,relatime,cpuset)
cgroup on /sys/fs/cgroup/cpu,cpuacct type cgroup (rw,nosuid,nodev,noexec,relatime,cpuacct,cpu)
cgroup on /sys/fs/cgroup/memory type cgroup (rw,nosuid,nodev,noexec,relatime,memory)
cgroup on /sys/fs/cgroup/devices type cgroup (rw,nosuid,nodev,noexec,relatime,devices)
cgroup on /sys/fs/cgroup/freezer type cgroup (rw,nosuid,nodev,noexec,relatime,freezer)
cgroup on /sys/fs/cgroup/net_cls type cgroup (rw,nosuid,nodev,noexec,relatime,net_cls)
cgroup on /sys/fs/cgroup/blkio type cgroup (rw,nosuid,nodev,noexec,relatime,blkio)
cgroup on /sys/fs/cgroup/perf_event type cgroup (rw,nosuid,nodev,noexec,relatime,perf_event)
cgroup on /sys/fs/cgroup/hugetlb type cgroup (rw,nosuid,nodev,noexec,relatime,hugetlb)
systemd-1 on /proc/sys/fs/binfmt_misc type autofs (rw,relatime,fd=26,pgrp=1,timeout=300,minproto=5,maxproto=5,direct)
mqueue on /dev/mqueue type mqueue (rw,relatime)
hugetlbfs on /dev/hugepages type hugetlbfs (rw,relatime)
tmpfs on /var/lock type tmpfs (rw,nosuid,nodev,relatime,mode=755)
debugfs on /sys/kernel/debug type debugfs (rw,relatime)
tmpfs on /var/run type tmpfs (rw,nosuid,nodev,relatime,mode=755)
/dev/sda1 on /boot/efi type vfat (rw,relatime,fmask=0002,dmask=0002,allow_utime=0020,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro)
/dev/sda5 on /Data type ext4 (rw,relatime,data=ordered)
/dev/sda4 on /home type ext4 (rw,relatime,data=ordered)
fusectl on /sys/fs/fuse/connections type fusectl (rw,relatime)
gvfsd-fuse on /run/user/1000/gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev,relatime,user_id=1000,group_id=100)
gvfsd-fuse on /var/run/user/1000/gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev,relatime,user_id=1000,group_id=100)
OpenSuse12:/home/terry # cat /etc/fstab
/dev/disk/by-id/ata-WDC_WD10EALX-009BA0_WD-WMATR0522073-part2 swap swap defaults 0 0
/dev/disk/by-id/ata-WDC_WD10EALX-009BA0_WD-WMATR0522073-part3 / ext4 acl,user_xattr 1 1
/dev/disk/by-id/ata-WDC_WD10EALX-009BA0_WD-WMATR0522073-part5 /Data ext4 acl,user_xattr 1 2
/dev/disk/by-id/ata-WDC_WD10EALX-009BA0_WD-WMATR0522073-part1 /boot/efi vfat umask=0002,utf8=true 0 0
/dev/disk/by-id/ata-WDC_WD10EALX-009BA0_WD-WMATR0522073-part4 /home ext4 acl,user_xattr 1 2
proc /proc proc defaults 0 0
sysfs /sys sysfs noauto 0 0
debugfs /sys/kernel/debug debugfs noauto 0 0
usbfs /proc/bus/usb usbfs noauto 0 0
devpts /dev/pts devpts mode=0620,gid=5 0 0
When i set it up i told the insaller to format with ext4 and i typed Data into the text box with the dropdown list. I don’t remember doing
anything with the /boot/efi suse must have done that itself.
I don’t know how to take a screen shot, if i did, i would’t know how to post it here, hope it does’nt come to that.
Hope this is better
Thanks
Two suggestions.
- DO not log in as root. Only use root when you need to do root things to the system.
- Open up Terminal and use this command:
sudo chmod 777 /Data
This is needed for folders, mounted by a partition that should usable by all. There are other attributes as well. Have a look at my blog on the subject: S.A.F.P. - SUSE Automated File Permissions - Version 1.0.4 - Blogs - openSUSE Forums
Thank You,
I am with James.
First, I asked you to do two statements, you only posted the last one.
Second, I did not ask you to do that as root, so why did you do that as root.
Three, there is no need to tell us you did that as root, because we see that in your prompt (one of the reasons we ask to post the prompts also).
Then, there is nothing wrong with your mount. There is an ext4 file system on that partition and it is mounted on /Data as you asked for.
But, you forgot something that has nothing to do with mounting, but is true for every directory/file in Unix/Linux. The permissions must be set correctly. And because /Data is owned by root and the permissions are drwxr-xr-x (which I guess, becaus you did forget to post that), only root can read/write and search in that directory, and all others can only read and search there. Thus any “normal” user on your system can not create files/directories there.
As usual, it all depends on what you want the directory /Data to be used for
When you want this to be used by root only, it is OK as it is. And of course a “normal” user going there with whatever program, including a GUI file manager, can not create, delete things there.
When you want a specific user to use /Data as his/her own in the same way as he/she uses his/her home directory, then, as root, change te ownership and group of /Data:
chown username:users /Data
Of course replacing the word username there with the real username of that user.
You can also want that /Data is to be used by more users and there are appropriatee settings of ownership/group/permission bits to achieve that.
But as said, it is you as the system manager that decides who may use /Data for what. And again, that is independant from the fact that /Data happens to be amount point.
Thank you, to all the Global Moderators and other that help me with this problem. I have learn’t a bit more about permissions and chown.
Remember the old adage
Tell me I forget
Show me I remember.
Involve me I understand
Now I understand
Thank you, for your patience.
You are welcome. We are allways glad to help people to walk by themselves the miraculous ways of Unix/Linux.
Feel free to start a new thread with a new problem if that arises.