Thank you for your donation!


Cloudsmith graciously provides open-source package management and distribution for our project.


No permission to write on USB disk
#16
(11-09-2021, 11:40 PM)HEGOM Wrote: i tried with a usb pen drive with FAT filesystem, and results are perfectly the same....

Hi,
I've no idea whether this may be of any help, or if it just duplicates your issue.
My setup is perhaps similar to yours (NTFS USB disk attached to Rpi4 running Moode 7.41), and I also have some issues with directory access/ownership when working in SSH. I can access it perfectly from Windows File Manager and Filezilla.

I do not have the answers you need - at least not yet - and am working my way gently into using Linux while trying not to lock myself out of the disk!
Logging into moode using SSH :
at the prompt I typed:                mount | grep media

this returned:
pi@moode:~ $ mount | grep media

/dev/sda2 on /media/WDGreen  typefuseblk (rw,nosuid,nodev,noexec,noatime,user_id=0,group_id=0,default_permissions,allow_other,blksize=4096,uhelper=udisks)            
pi@moode:~ $
 
from which I can navigate towards the disk - however today I cannot access the disk/see its folders - unless I use Windows file manager or Filezilla. I can get to   /media, but   cd /WDGreen  returns an error. 

at the /media$ prompt however I ran:
 ls -l

and got

drwxr-xr-x 1 root root 16384 Nov 10 14:49 WDGreen

which I think means that user root has ownership and that other users have no write access.

I also typed    sudo
and got the    root   prompt 
which I think is where you got to.

(user root was created on this disk when I previously ran piCoreplayer, I think)

I will keep working on this (and I do have a full working duplicate of my disk just in case!) and am happy to report back here for the benefit of yourself and any other Linux newbies.
Reply


Messages In This Thread
No permission to write on USB disk - by HEGOM - 11-05-2021, 04:13 PM
RE: No permission to write on USB disk - by HEGOM - 11-06-2021, 08:52 AM
RE: No permission to write on USB disk - by HEGOM - 11-06-2021, 01:24 PM
RE: No permission to write on USB disk - by HEGOM - 11-06-2021, 06:02 PM
RE: No permission to write on USB disk - by HEGOM - 11-07-2021, 12:19 AM
RE: No permission to write on USB disk - by HEGOM - 11-07-2021, 01:10 AM
RE: No permission to write on USB disk - by HEGOM - 11-07-2021, 09:25 AM
RE: No permission to write on USB disk - by HEGOM - 11-09-2021, 11:40 PM
RE: No permission to write on USB disk - by 5-pot-fan - 11-10-2021, 03:24 PM
RE: No permission to write on USB disk - by HEGOM - 11-11-2021, 09:38 AM

Forum Jump: