Page 1 of 1
Permissions and sound
Posted: Sun Dec 10, 2017 11:06 am
by greenstar
Hi, am sure this is a REALLY stupid question, and I know both have been discussed before. I would, please, like to be directed to the best place, preferably for someone with minimal knowledge of the command line.
Two problems.
Problem 1. I can read but cannot write to my secondary hard drive, installed on the computer, and also not to an external hard drive. I can read and write to usb sticks, but that's not enough for proper back ups.
I am told 'the destination is read only' and find when I change permissions the window immediately reverts to read only.
Problem 2. No sound. The was sound and it worked perfectly just after install. Then for no reason and without explanation I found it didn't.
I have to say that asking a friend who also used Linux I found he also had suffered from both issues with different installs, the permission thing seems to be a 'frequently recurring problem' across various versions and editions, and appears several times on different forums .... His response to the permissions issue was to set up a server on a second computer, it was a b£$"%rd to sort out otherwise but he has been a programmer and engineer for 40 years!
thanks,
Tony
Re: Premissions and sound
Posted: Sun Dec 10, 2017 11:24 am
by Flemur
greenstar wrote:Problem 1. I can read but cannot write to my secondary hard drive, installed on the computer, and also not to an external hard drive. I can read and write to usb sticks, but that's not enough for proper back ups.
I am told 'the destination is read only' and find when I change permissions the window immediately reverts to read only.
With the un-writable device(s) connected, try these, and post the results inside "code" tags:
and
and
Problem 2. No sound. The was sound and it worked perfectly just after install. Then for no reason and without explanation I found it didn't.
First make sure nothing is muted - run
while playing something you should hear. Check "Output" devices.
His response to the permissions issue was to set up a server on a second computer, it was a b£$"%rd to sort out otherwise but he has been a programmer and engineer for 40 years!
Fixing permissions should be easy for anyone familiar with linux or unix. Sound really is a common issue with no standard answer - I make it easier by not using pulseaudio, which IMHO, is the main cause of audio problems. (But don't uninstall it unless you know what you're doing).
Re: Permissions and sound
Posted: Wed Dec 13, 2017 6:50 am
by greenstar
Hi, sorry this is taking me so long. I have to put aside time to do this and I have a fair bit to do at present, so this will be intermittent.
Flemur, thanks, if I understand correctly you are asking me to enter the commands you suggest in the terminal, with the drives I cannot write to connected, these being a secondary hard drive in the pc, an external 1Tb hard drive, and also a 20Gb usb drive that has suddenly become read only:
Code: Select all
tony@tony-G31M-ES2L ~ $ sudo blkid
[sudo] password for tony:
/dev/sda1: UUID="88e38993-5427-4547-8312-79d95e4b3802" TYPE="ext4" PARTUUID="8d0ce3d3-01"
/dev/sda5: UUID="c8270b20-8943-4755-8622-17a123ff09ae" TYPE="swap" PARTUUID="8d0ce3d3-05"
/dev/sdb1: UUID="311c71e8-8c24-41c2-8f8e-042da5bfc694" TYPE="ext4" PARTUUID="000f3d98-01"
/dev/sdc1: PARTLABEL="Apple"
/dev/sdc5: UUID="6cec18e1-2e60-3b8e-9332-1de582d57ce7" LABEL="OS 9,2 200 Gb" TYPE="hfsplus" PARTLABEL="Apple_HFS_Untitled_2"
/dev/sdh1: LABEL="AV FILES" UUID="49FA-0A17" TYPE="vfat" PARTUUID="110252a5-01"
/dev/sdc3: UUID="0c5f57b2-2495-38cd-a474-4d8bd4ee4f27" LABEL="400 Gb 2" TYPE="hfsplus" PARTLABEL="Apple_HFS_Untitled_1"
/dev/sdc7: UUID="10792e5f-2219-3766-ae67-88dd0b9e1778" LABEL="Tiger BU 20 Gb" TYPE="hfsplus" PARTLABEL="Apple_HFS_Untitled_3"
/dev/sdc9: UUID="b27a5f5b-ce3d-3f21-bb7e-9cb13a430dd0" LABEL="Documents 200Gb" TYPE="hfsplus" PARTLABEL="Apple_HFS_Untitled_4"
/dev/sdc11: UUID="d832c9d0-18af-3868-98b9-b71c34343906" LABEL="AV Media 100Gb" TYPE="hfsplus" PARTLABEL="Apple_HFS_Untitled_5"
/dev/sdc12: UUID="92842c30-bbd0-3cb9-9545-c3fc011bf08a" LABEL="Boot OSX" TYPE="hfsplus" PARTLABEL="eXternal booter"
/dev/sdc13: TYPE="ufs" PARTLABEL="Apple_UFS_Untitled_6"
tony@tony-G31M-ES2L ~ $ df
Filesystem 1K-blocks Used Available Use% Mounted on
udev 1258664 0 1258664 0% /dev
tmpfs 256252 4516 251736 2% /run
/dev/sda1 35757796 16299052 17619284 49% /
tmpfs 1281260 25068 1256192 2% /dev/shm
tmpfs 5120 4 5116 1% /run/lock
tmpfs 1281260 0 1281260 0% /sys/fs/cgroup
cgmfs 100 0 100 0% /run/cgmanager/fs
tmpfs 256252 40 256212 1% /run/user/1000
/dev/sdh1 30498864 11730240 18768624 39% /media/tony/AV FILES
/dev/sdc12 8704 3496 5208 41% /media/tony/Boot OSX
/dev/sdc3 414647092 101056 414546036 1% /media/tony/400 Gb 2
/dev/sdc13 20700095 42464 19622631 1% /media/tony/disk
/dev/sdc5 207258012 741564 206516448 1% /media/tony/OS 9,2 200 Gb
/dev/sdc7 20840448 9385352 11455096 46% /media/tony/Tiger BU 20 Gb
/dev/sdc11 104726528 95467152 9259376 92% /media/tony/AV Media 100Gb
/dev/sdc9 207258012 181422272 25835740 88% /media/tony/Documents 200Gb
tony@tony-G31M-ES2L ~ $ ls -al /where/you/cant/write
ls: cannot access '/where/you/cant/write': No such file or directory
tony@tony-G31M-ES2L ~ $
Hope this means something to you.
Re: Permissions and sound
Posted: Wed Dec 13, 2017 6:58 am
by greenstar
Sound issue fixed, many thanks pavucontrol
Tony
Re: Permissions and sound
Posted: Wed Dec 13, 2017 9:27 am
by greenstar
Permissions issue still needs fixing - HELP! I am hoping somebody sees this as the post seems totally buried and no way to bump!
Re: Permissions and sound
Posted: Wed Dec 13, 2017 12:06 pm
by Flemur
greenstar wrote:Code: Select all
tony@tony-G31M-ES2L ~ $ ls -al /where/you/cant/write
ls: cannot access '/where/you/cant/write': No such file or directory
tony@tony-G31M-ES2L ~ $
Replace "/where/you/cant/write" with the actual path/directory WHERE YOU CAN'T WRITE because of the permission issue.
Edit: that would be something like:
Code: Select all
ls -al "/media/tony/Tiger BU 20 Gb"
IF that is where your problem is. You'll need the quotes because of the delimiters (spaces) in the path and partition label.
Re: Permissions and sound
Posted: Wed Dec 13, 2017 12:47 pm
by greenstar
Thanks Flemur, how do i find that out?
Re: Permissions and sound
Posted: Wed Dec 13, 2017 12:53 pm
by greenstar
Code: Select all
tony@tony-G31M-ES2L ~ $ ls -al "/media/tony/Tiger BU 20 Gb"
total 14700
drwxrwxr-t 1 root 80 40 Jul 19 2011 .
drwxr-x---+ 11 root root 4096 Dec 13 16:50 ..
-rwxr-xr-x 1 501 dialout 529967 Jun 24 2005 009_6.JPG
drwxrwxr-x 1 root 80 61 Jul 6 2011 Applications
drwxr-xr-x 1 root 80 4 Jun 6 2009 automount
drwxr-xr-x 1 root root 40 Mar 19 2010 bin
-rw-r--r-- 1 501 80 0 Jul 19 2011 .com.bombich.ccc.start_time
drw------- 1 root 80 2 Dec 8 2008 .com_symantec_symfs_private
drwxrwxr-t 1 root 80 2 Mar 23 2005 cores
srwxrwxrwx 1 root 80 0 Jul 19 2011 .dbfseventsd
-rw-r--r-- 1 root dialout 237568 Jul 18 2011 Desktop DB
-rw-r--r-- 1 root dialout 213890 Jul 19 2011 Desktop DF
drwxr-xr-x 1 99 99 2 Nov 23 2010 Desktop Folder
dr-xr-xr-x 1 root root 2 Jul 19 2011 dev
drwxrwxr-x 1 root 80 3 Feb 26 2010 Developer
-rw-rw-rw- 1 501 501 6148 Jul 18 2011 .DS_Store
lrwxr-xr-x 1 root 80 11 Jul 6 2011 etc -> private/etc
-r--r--r-- 1 root root 152 Oct 23 2001 .hidden
---------- 1 root root 8388608 Jul 6 2011 .journal
---------- 1 root root 4096 Jul 6 2011 .journal_info_block
drwxrwxr-x 1 root 80 48 Jul 18 2011 Library
lrwxr-xr-x 1 root 80 9 Jul 19 2011 mach -> /mach.sym
-rw-r--r-- 1 root root 4352200 Oct 11 2007 mach_kernel
-r--r--r-- 1 root 80 604360 Jul 19 2011 mach.sym
drwxr-xr-x 1 root root 2 Jul 19 2011 Network
drwxr-xr-x 1 root root 6 Jul 19 2011 private
drwxr-xr-x 1 root root 63 Mar 19 2010 sbin
drw------- 1 99 99 8 Jul 6 2011 .Spotlight-V100
drwxr-xr-x 1 root root 5 May 19 2011 System
drwxr-xr-x 1 99 99 4 Nov 8 2008 TheVolumeSettingsFolder
lrwxr-xr-x 1 root 80 11 Jul 6 2011 tmp -> private/tmp
drwxr-xr-x 1 99 99 5 Nov 23 2010 Trash
d-wx-wx-wx 1 root 80 2 Mar 11 2015 .Trashes
drwxrwxr-t 1 root 80 5 Jan 29 2009 Users
drwxr-xr-x 1 root root 10 Mar 19 2010 usr
lrwxr-xr-x 1 root 80 11 Jul 6 2011 var -> private/var
dr-xr-xr-x 1 root root 2 Jul 19 2011 .vol
drwxrwxrwt 1 root 80 2 Jul 19 2011 Volumes
-rwxr-xr-x 1 99 99 676953 Nov 12 2002 ZipIt 2.2.2.sea
tony@tony-G31M-ES2L ~ $
?
Re: Permissions and sound
Posted: Wed Dec 13, 2017 1:15 pm
by Flemur
"root" owns the files, and yup, the permissions exclude you.
Changing file permissions on an HFS+ filesystem
https://unix.stackexchange.com/question ... filesystem
How to mount HFS+ drive and ignore permissions
https://askubuntu.com/questions/100167/ ... ermissions
Mount a HFSPlus disk with read/write permissions in Linux
https://superuser.com/questions/916225/ ... s-in-linux
google/duckduckgo this string for more info:
Re: Permissions and sound
Posted: Wed Dec 13, 2017 1:23 pm
by greenstar
I am extremely nervous and concerned not to lose any data on that 1Tb disc, as these are the files I backed up from my mac, cannot be replaced, archived files.
Please reassure me that running commands such as mount unmount etc will not affect file content?
Sorry, but as this is over my head and I do not properly understand I am somewhat nervous at losing data. Such as my entire archived photo collection, etc.
Re: Permissions and sound
Posted: Thu Dec 14, 2017 12:52 pm
by greenstar
Great. Now I find most of my usb sticks are regarded as read only. This was not an issue with ubuntu (but that had the permissions glitch)
And I am sorry, but the information on the links are incomprehensible to me.
Starting to look like the os is not for me ....
Am I asking stupid questions? It does seem to be the case.