Hello. On a new installation of leap 42.2 I can read from 2 storage ssd’s but can’t write to them. They are new with no files in them. I can’t copy any files to them and I get permission denied when I try. I also have an older wd passport installed along side them. I can read, write, and execute with the passport drive. I’ve been trying to learn how to change permissions for the ssd’s but all searching has not helped. I was looking at /etc/fstab. I opened it in kate and on the left tab is the entries for my home drive (a M.2 ssd which works fine BTW), and on the right tab was all file permissions. I copied that file successfully to the passport so it works.
Here, I tried to copy the permissions.easy file back to /etc but it didn’t work.
Even though that file copied to the passport it shows it was denied. If I try to drag and drop I get a large red bar at the top of dolphin saying the file can’t be copied even though it did. And I also have to give my root pw just to access the ssd’s.
I thought it would be worthwhile to unmount the ssd’s and restart to see if they would change but they didn’t. I went back to /etc/fstab and I then saw that the permissions.easy file was gone as well as permissions.secure and paranoid were gone also. Then I realized I didn’t close kate with fstab open and that must be why those permissions are gone. I don’t know what to do about that.
There were some other permission problems showing up but i’ve been stuck on these ssd drives. Such as whenever I try to change permissions all options are grayed out or I’m not allowed to add to the permissions present. I tried to copy some more information to show here but it won’t let me copy and paste files to include here. I had none of these problems with 13.1 installed as the os. What could be causing this and what should I do about the permissions files?
Any help will be much appreciated. Thank you
i5 6500 cpu, asus pro gaming skylake, 32GB ram. Leap 42.2. Problems aside I think Leap 42.2 is the best yet.
How is the drive formatted? If it uses a Windows format then that format does not use Linux permissions and the permissions of the partition are faked at mount. So show us /etc/fstab so we can see the mount parameters.
Note you are the seconded permission to note that even though permissions are flagged the file is actually copied. This should not be and may indicate a bug. But we need to dive deeper to be sure. I don’t have any Window formatted partitions here to test
I forgot: I formatted everything with ext4. I installed leap on a M.2 128GB ssd then added 2 large ssd’s for storage. I can work with the M.2 ok as well as the passport, but not the other two.
tony@linux-cjl6:~> mount | grep media
/dev/sdc1 on /run/**media**/tony/WD Passport type fuseblk (rw,nosuid,nodev,relatime,user_id=0,group_id=0,default_permissions,
allow_other,blksize=4096,uhelper=udisks2)
/dev/sda1 on /run/**media**/tony/disk1 type ext4 (rw,nosuid,nodev,relatime,data=ordered,uhelper=udisks2)
/dev/sdb1 on /run/**media**/tony/disk2 type ext4 (rw,nosuid,nodev,relatime,data=ordered,uhelper=udisks2)
I based the existence of this directory on it being in your first post, but I misread it because there is white space in that name. It should have been
ls -ld /run/media/tony/WD\ Passport
and you can of course do the same for
ls -ld /run/media/tony/disk1
ls -ld /run/media/tony/disk2
I also see from your mount list that WD Passport seems not to be an ext4 file system.
Did you try to copy a file to disk1 and/or disk2, which are ext4?
And like @avidjaar, I wonder why you are trying to copy a file to /etc. What do you think that that has to do with your trial to copy something to /run/media/tony/WD\ Passport?
The Partitioner shows a red disk next to each drive. What do they mean? When I partitioned the drives I had to sign in as root for yast. Didn’t that mean I was root? How did the drives get partitioned under the desktop?
Can you please stick to your problem and trying to post answers to what people ask here, so they can possibly help you?
Of course only root can partition. Else every idiot user on your system could write all over the disk.
BTW, your title says “I need help with a permissions problem”. My assumption is that you know about ownership by user and group and permission bits and that you only have some problems in understanding how they apply in this particular case. When you in fact do not understand much about ownership and permissions, please say so. And of course study some documentation about this all important aspect of Unix/Linux.