Welcome to the Linux Foundation Forum!

Standard user unable to write to new mounted partition

Options

I think I'm missing something simple here...

Every time I add a new disk by: running fdisk to create a partition, running mkfs.ext4 to create the filesystem and then mount it (usually to /mnt) a non-privileged user cannot write to it, I get "Permission Denied". If I SUDO I am able to create files under than mount point.

Thanks,
Matt

Best Answer

  • coop
    coop Posts: 915
    Answer ✓
    Options

    you have to change the permissions on the mount point to allow users to use it. like chmod 755 /mountpoint

Categories

Upcoming Training