[SOLVED] Cant make new folder or copy paste in my newly created partition
Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Cant make new folder or copy paste in my newly created partition
I just maked an ext4 partition by the help of gparted. Ubuntu is my only OS no dual boot. Using Ubuntu Maverick
The problem is partition must be open as root to do any work else it wont even allow me to open file,create folder,cut copy paste or anything.
Distribution: Cinnamon Mint 20.1 (Laptop) and 20.2 (Desktop)
Posts: 1,672
Rep:
Welcome to LQ!
Have you formatted and mounted your new partition? You will be unable to use it untill you have added it to your filesystem. You'll also have to add it to fstab to have it mounted each time you boot.
thanx frnds but plz tell how to do the aforementioned task
I had formatted it in ext4 filesystem and mounted it too.
Any user can mount it but problem lies as i mentioned above. tell me how to add to fstab
Last edited by institopper; 03-17-2011 at 05:13 AM.
mount
/dev/sda1 on / type ext4 (rw,errors=remount-ro,commit=0)
proc on /proc type proc (rw,noexec,nosuid,nodev)
none on /sys type sysfs (rw,noexec,nosuid,nodev)
fusectl on /sys/fs/fuse/connections type fusectl (rw)
none on /sys/kernel/debug type debugfs (rw)
none on /sys/kernel/security type securityfs (rw)
none on /dev type devtmpfs (rw,mode=0755)
none on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=0620)
none on /dev/shm type tmpfs (rw,nosuid,nodev)
none on /var/run type tmpfs (rw,nosuid,mode=0755)
none on /var/lock type tmpfs (rw,noexec,nosuid,nodev)
binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,noexec,nosuid,nodev)
gvfs-fuse-daemon on /home/rahul/.gvfs type fuse.gvfs-fuse-daemon (rw,nosuid,nodev,user=rahul) /dev/sda4 on /media/sda4 type ext4 (rw,noexec,nosuid,nodev)
/dev/sda3 on /media/sda3 type ext4 (rw,noexec,nosuid,nodev)
none on /proc/fs/vmblock/mountPoint type vmblock (rw)
/dev/sdc1 on /media/TARANJOT type vfat (rw,nosuid,nodev,uhelper=udisks,uid=1000,gid=1000,shortname=mixed,dmask=0077,utf8=1,showexec,flush)
yep partitions are listed. i have written in bold that portion. i.e. sda3 and sda4
Hi institopper,
The solution is actually quite simple. When you format a new partition, by default it is assigned to root as the owner. You will therefore have to change the permissions to allow other users to read and write.
Open terminal and type in "sudo nautilus" without the quotes. your system will ask for the admin password. type it in and a window will open. go to whichever partition you created newly. If you are not able to browse using the computer icon on top, go to filesystem > media and you should find your partition there. right click on it and click on permissions at the very bottom and another window should open. go to permissions and change the owner to your ID and close.
I don't know if I've been clear enough but you should be able to access your partition now. Just remember one thing. when you are in root be careful not to delete any files because if you do, and the file is a system required file you have just screwed your system.
Glad I could be of help. Just one thing though, could you edit your initial post and put solved in front of it. It'll tell others if you still have the problem or not.
Hi institopper,
The solution is actually quite simple. When you format a new partition, by default it is assigned to root as the owner. You will therefore have to change the permissions to allow other users to read and write.
Open terminal and type in "sudo nautilus" without the quotes. your system will ask for the admin password. type it in and a window will open. go to whichever partition you created newly. If you are not able to browse using the computer icon on top, go to filesystem > media and you should find your partition there. right click on it and click on permissions at the very bottom and another window should open. go to permissions and change the owner to your ID and close.
I don't know if I've been clear enough but you should be able to access your partition now. Just remember one thing. when you are in root be careful not to delete any files because if you do, and the file is a system required file you have just screwed your system.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.