permission denied on new partition to non-root user
Hi ,
i have created a new fixed disk partition via file system via fdisk / and formatted via mke2fs -j all works fine with root user able to write but non-root user gets permission denied when write is requested on that partition. OS : RHEL 5 any help please thanks in advance. |
Users shouldn't write to the partition itself. The partition should be "mount"ed on a mount point directory and the users should be writing to that directory after the mount. You would typically first have to have made the directory with the mkdir command.
e.g. mkdir /myshinynewfs mount /dev/sda1 /myshinynewfs I don't see where you say anything about having mounted the filesystem. You don't even say which partition of which disk you created. |
2 Cents ->
Set Permissions so all can use -> chmod [OPTION]... OCTAL-MODE FILE.. --- chmod -R 755 /mount/point or Set Owner to the primary user chown [OPTION]... [OWNER][:[GROUP]] FILE... ---- chown -R joe:sales /dev/sda/ |
Thanks
Thanks guys i fixed by changing the permission on the folder, i was making a mistake trying on device worked :) have a good day.
|
All times are GMT -5. The time now is 12:55 AM. |