Permissions

Hi all, I just changed my ntfs to ext4…

for some reason now, I can browse files, but cut / create new / and other write commands are greyed out, music files will not play… (using Dolphin as super user corrects all of this)

heres an image of my HDD/s layout

http://img28.imageshack.us/img28/6484/partitionsv.png

Heres my fstab, I tried inputing text for the media drive Im referring to, but no joy after a restart.

/media/Stuff works perfectly, all permissions seem to be correct ( I think they were prior to me adding the line for that drive in fstab to be honest)

rob@linux-mzrw:~> cat /etc/fstab/dev/disk/by-id/ata-ST3400620AS_5QG03ZZD-part1 swap                 swap       defaults              0 0
/dev/disk/by-id/ata-ST3400620AS_5QG03ZZD-part5 /                    ext4       acl,user_xattr        1 1
/dev/disk/by-id/ata-ST3400620AS_5QG03ZZD-part6 /home                ext4       acl,user_xattr        1 2
/dev/sdb5                                      /media/Media         ext4       user,acl,user_xattr   1 2
/dev/sdc1                                      /media/Stuff         ext4       user,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







Any assistance please?

Cheers

Rob

Hi all, I just changed my ntfs to ext4…

for some reason now, I can browse files, but cut / create new / and other write commands are greyed out, music files will not play… (using Dolphin as super user corrects all of this)

heres an image of my HDD/s layout

http://img28.imageshack.us/img28/6484/partitionsv.png

Heres my fstab, I tried inputing text for the media drive Im referring to, but no joy after a restart.

/media/Stuff works perfectly, all permissions seem to be correct ( I think they were prior to me adding the line for that drive in fstab to be honest)

rob@linux-mzrw:~> cat /etc/fstab
/dev/disk/by-id/ata-ST3400620AS_5QG03ZZD-part1 swap                 swap       defaults              0 0
/dev/disk/by-id/ata-ST3400620AS_5QG03ZZD-part5 /                    ext4       acl,user_xattr        1 1
/dev/disk/by-id/ata-ST3400620AS_5QG03ZZD-part6 /home                ext4       acl,user_xattr        1 2
/dev/sdb5                                      /media/Media         ext4       user,acl,user_xattr   1 2
/dev/sdc1                                      /media/Stuff         ext4       user,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







Any assistance please?

Cheers

Rob

Think Ive posted this in wrong section, duplicate now in hardware section, mod, please delete this one.

Sorry!

On 12/09/2012 08:16 PM, rob 1980 wrote:
>
> Any assistance please?

please do not post the same question multiple times…it just waste
time of potential answer givers…

since this is not a hardware issue, answers should go to the thread
here: http://forums.opensuse.org/showthread.php?t=481294


dd

I cleraly stated in my other post it was an accident, and asked a mod to dcelete it.

thanks for your help.

Also, I did not see any other place to post this that was relevant.

Hardware
Questions about drivers, peripheral cabling, configuration

This is configuration for my hardware I think.

Your link brings me back to here anyway

I would check the permissions of the main folder of /media/Media and perhaps make it 777. All things being equal, the permissions for the folder /media/Media is one possible difference. I have a bash script you can use that might help:

S.A.F.P. - SUSE Automated File Permissions - Version 1.0.4: https://forums.opensuse.org/blogs/jdmcdaniel3/s-f-p-suse-automated-file-permissions-version-1-0-4-113/

It is best to mount drives by-id in your fstab file and not use /dev/sdb5 or /dev/sdc1. If you make any partition changes that change the partition number, they will no longer mount and can even cause openSUSE to not start. You can use this terminal command to find out what they are.

ls -l /dev/disk/by-id

Thank You,

Thank you!!!

I’ll look into that and see if it resolves the issues.

Regards

On 2012-12-09 20:16, rob 1980 wrote:

> Code:
> --------------------
> rob@linux-mzrw:~> cat /etc/fstab/dev/disk/by-id/ata-ST3400620AS_5QG03ZZD-part1 swap swap defaults 0 0
> /dev/disk/by-id/ata-ST3400620AS_5QG03ZZD-part5 / ext4 acl,user_xattr 1 1
> /dev/disk/by-id/ata-ST3400620AS_5QG03ZZD-part6 /home ext4 acl,user_xattr 1 2
> /dev/sdb5 /media/Media ext4 user,acl,user_xattr 1 2
> /dev/sdc1 /media/Stuff ext4 user,acl,user_xattr 1 2
>
> --------------------

Ok. First, do this:

umount both /media/Media and /media/Media

Edit fstab. Replace those two with /mnt/Media and /mnt/Stuff.

Create /mnt, /mnt/Media and /mnt/Stuff.

mount /mnt/Media and /mnt/Stuff.

NEVER create yourself mount points in /media. NEVER use that directory
yourself, leave that directory to the desktop automatics.

Now, once that’s repaired as explained above, you have two basic
alternatives. One, create a subdirectory that belongs to the user you
normally use, or that belongs to a group if it needs to be accessed by
several people. You just need to play with permissions. Then you store
as user all your files insides that directory.

Or, you chown and chmod the parent directories, /mnt/Media and
/mnt/Stuff, instead of the directory inside.


Cheers / Saludos,

Carlos E. R.
(from 12.1 x86_64 “Asparagus” at Telcontar)

I can delete this thread, but your problem is definitely not hardware. How can a change fron one type of file system to another be related to hardware?

And your fstab is nice, but which entry is the one we are talking about.

And you could explain how you “changed” from NTFS to ext4. Not something that can be done when taken literaly IMHO.

On 2012-12-09 21:46, hcvv wrote:
>
> I can delete this thread, but your problem is definitely not hardware.
> How can a change fron one type of file system to another be related to
> hardware?

Suggest you patch that other thread here? Dunno if possible.

The fstab there is clearer, so I responded there.


Cheers / Saludos,

Carlos E. R.
(from 12.1 x86_64 “Asparagus” at Telcontar)

Please NO posting until this is merged, moveed or what ever.

Wait and see >:)

Please NO posting until this is merged, moveed or what ever.

Wait and see >:)

Both threads are now merged and in Install/Boot/Login

I hope there are people who can still understand what is going on here.

@rob_1980,
Please, next time think first about the (sub)forum to post and about a good title that tells realy something about the subject.
It is your interest that you reach the people that can help you with your subject. You can not expect that volunteers, that feel that they are able to help with certain areas of Linux, read all threads of all (sub)forums. They will often simply glance through the titles to see if anything is to their liking. You must adverstise to get the best help!

Sorry, it is now OPEN again.

Please read this: http://en.opensuse.org/SDB%3ABasics_…,_mount_points

  1. As you saw I merged the threads. I closed them before doing. This is for a special reason, I will not go into here further. But it was late and after the merge I forgot to reopen the thread. My fault. Sorry for that. It is open now.

  2. Permission are not on disks (HDDs as you call them). Permissions are on files (and thus also on directories which are a type of files). Permissions are for owner, group and world. Thus the owner, and group of a file are important and then the permission can be set for them. Of course only those who have permission to the place where permissions are stored (the directory contaning the file) can do this.

  3. When you say that you “converted” from NTFS to ext4, we want to know how you did that. Which tool(s) did you use. I personaly do not knw of a tool that can do this. When you think this conversion is of no interest to the problem, do not mention it.

  4. People correctly told you not to use mount points inside /media. /media is used by the system to create mount points for what is commonly known as media: CD’s, DVDs, USB sticks with music, movies, maybe other files, and those devices are often connected and disconneted at the will of the desktop user and then made available to the active desktop users of that moment in time. /media is cleaned at every shutdown, thus it is not a place where a system manager creates permanent mountpoints. When you can not imagine a logical place for your mount, create and use one in /mnt.

  5. if you mount by ID, or by anything else has no influence on permissions. Mount by-id is only a different way to point to the device that is to be mounted. By id sees that the system uses the dsame device, even if it is on a different place in the system (to day it can be sdc, tomorrow sde, but the ID is always te same).

  6. Posting into the best fitting (sub)forum using a good title (a bit longer then just “Permissions” and no double posting are rules of communicating between people as rational as possible. I do not see how you using Windows earlier could not understand this. But I never used Windows, thus maybe I do not know about this. Thusyou could start in the wrong (sub)forum and after finding out about this contact a mod to move it. But double posting makes creates a complete mess as you saw. That is the result of human intercation, not of Linux vs. Windows imho.

In short:
a) choose a mount point that fits you (not in /media).
b) Use Yast > System > System partitioner to create mountpoint and the fstab entry (NOT formatting the partitioin if it is allready done earlier), or do everything manualy.
c) When this directory (and thus all on the device) should be owned by a specific user, chwon the mountpoint to that user and his/her group.
d) check if indeed everything on the now mounted device is owned by that user and not by anybody else.

Try to understand the concept of the one directory tree of Unix/Linx vs the device oriented multi tree concept of MS-DOS.