Home > OS >  Folder access permissions chmod problem??
Folder access permissions chmod problem??

Time:03-06

I have an embedded development board,
Create a folder/home/ftp_ww then mounted a usb U disk to/home/ftp_ww/usb
With root permission to mount (by modifying the fstab), under the root can read and write any usb

But the development board and a user ww, only read permission to this folder,
Root @ orangepizero:/home/ftp_ww # ls -l
Total 16
DRWXR xr - x 3 root root 16384 Jan 1, 1970 usb

Try to chmod changes permissions, but invalid, permissions didn't change
Root @ orangepizero:/home/ftp_ww # chmod o + w usb
Root @ orangepizero:/home/ftp_ww # ls -l
Total 16
DRWXR xr - x 3 root root 16384 Jan 1, 1970 usb

CodePudding user response:

Change the array chown

CodePudding user response:

Change belongs to group of chown ww: ww

CodePudding user response:

Root @ orangepizero:/home/ftp_ww # chown ww: ww usb
Chown: changing ownership of 'usb' : Operation not permitted
Root @ orangepizero:/home/ftp_ww #

No, don't let the change, I now is root login, why ah

CodePudding user response:

Like this such as NFS mount cannot change all groups, whether can use ordinary users to complete a mount

CodePudding user response:

By the way, you can give ww user permissions, sudo execution
  • Related