This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Access Denied to Newly Created Partition

Tags: None
(comma "," separated)
binovicch
Registered Member
Posts
2
Karma
0
Hi All,

I've just migrated over to Linux KDE from windows (hence quite new to Linux).
I created a new partition using Gparted (should have done it during installation but forget; hence had to do it after using Gparted).
But when I try to create access or create a new folder in it, it says 'Access denied to /media/40a49b15-17e3-49ad-b439-0c689200cf6c/New Folder.'
The following is the mount and etc/fstab details; dev/sda3 is not appearing on etc/fstab.

Any help would be much appreciated. Thank you.

/dev/sda1 on / type ext4 (rw,errors=remount-ro)
proc on /proc type proc (rw,noexec,nosuid,nodev)
sysfs on /sys type sysfs (rw,noexec,nosuid,nodev)
none on /sys/fs/fuse/connections type fusectl (rw)
none on /sys/kernel/debug type debugfs (rw)
none on /sys/kernel/security type securityfs (rw)
udev on /dev type devtmpfs (rw,mode=0755)
devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=0620)
tmpfs on /run type tmpfs (rw,noexec,nosuid,size=10%,mode=0755)
none on /run/lock type tmpfs (rw,noexec,nosuid,nodev,size=5242880)
none on /run/shm type tmpfs (rw,nosuid,nodev)
none on /run/user type tmpfs (rw,noexec,nosuid,nodev,size=104857600,mode=0755)
/dev/sda3 on /media/40a49b15-17e3-49ad-b439-0c689200cf6c type ext4 (rw,nosuid,nodev,uhelper=udisks)

# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc nodev,noexec,nosuid 0 0
# / was on /dev/sda1 during installation
UUID=e27d1b06-072e-4eb1-8526-d127137d8906 / ext4 errors=remount-ro 0 1
# swap was on /dev/sda5 during installation
UUID=271c78f4-f911-456b-8d90-4ad00da7a0c1 none swap sw 0 0
User avatar
google01103
Manager
Posts
6668
Karma
25
I'm gonna guess the entry isn't in fstab because Gparted just creates the partition and doesn't add it to fstab
and that the owner and group of /media/40a....... are both set to root again by Gparted so you don't have write access (you can test this with Dolphin and the permissions tab in properties) or as root (use sudo) you can try creating a file using the touch command:
Code: Select all
sudo touch file_name


would suggest you umount it, add an entry into fstab for it, then again mount the partition. you also probably need to create a mount point for it using mkdir.


OpenSuse Leap 42.1 x64, Plasma 5.x

User avatar
google01103
Manager
Posts
6668
Karma
25
another thing to consider and is considered a best practice is to have /home as a separate partition - not something you have to do but if an opportunity avails itself it is worth doing - just Google as there lots already written on the topic


OpenSuse Leap 42.1 x64, Plasma 5.x

binovicch
Registered Member
Posts
2
Karma
0
Thanks for your help google01103.

I was also found this link which provided the steps.
http://www.howtogeek.com/116742/how-to- ... ng-ubuntu/
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS
Please note that if a newly created partition is using a Linux native file system (such as ext3 for instance) then the mount point will have permissions from the mounted partition instead of the permissions of the previously existing folder.


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]


Bookmarks



Who is online

Registered users: abc72656, Bing [Bot], daret, Google [Bot], Sogou [Bot], Yahoo [Bot]