You are not logged in.

#1 2017-03-17 03:13:04

Ph4nt4sm
Member
Registered: 2017-02-15
Posts: 9

[SOLVED]/boot directory doesnt have the correct permissions

So i was attempting to update a computers system and the boot images needed to be recreate but i am getting error

error: cannot remove /boot/vmlinuz-linux (Operation not permitted)
warning: directory permissions differ on /boot/
filesystem: 700  package: 755
warning: warning given when extracting /boot/vmlinuz-linux (Could not unlink)

It appears to be incorrectly set permissions in the boot directory as i cant manually delete or modify any of the files even with su.
After checking the fstab as i suspect the boot directory is being mounted incorrectly it has the directory listed with the following

/dev/sda1             /boot             ntfs                defaults,nofail                0 0

this doesn't look correct to me but i have no idea what i can do to fix this , any help would be appreciated and will append more information if its needed

Last edited by Ph4nt4sm (2017-03-17 03:56:31)

Offline

#2 2017-03-17 03:17:59

Scimmia
Fellow
Registered: 2012-09-01
Posts: 11,463

Re: [SOLVED]/boot directory doesnt have the correct permissions

the ntfs driver on linux is read only, you want ntfs-3g

Why in the world would you use ntfs for /boot anyway?

Online

#3 2017-03-17 03:34:00

Ph4nt4sm
Member
Registered: 2017-02-15
Posts: 9

Re: [SOLVED]/boot directory doesnt have the correct permissions

the computer initially had only windows 8 installed on it a while back, its now duel booted with arch and win10 but for what ever reason windows decided to make the boot partition ntsf and i cant really format the boot partition into a none terrible format because the windows boot information is on it, is there anyway i can fix this while maintaining the data?

Last edited by Ph4nt4sm (2017-03-17 03:34:53)

Offline

#4 2017-03-17 03:48:48

Scimmia
Fellow
Registered: 2012-09-01
Posts: 11,463

Re: [SOLVED]/boot directory doesnt have the correct permissions

Scimmia wrote:

the ntfs driver on linux is read only, you want ntfs-3g

Online

#5 2017-03-17 03:56:09

Ph4nt4sm
Member
Registered: 2017-02-15
Posts: 9

Re: [SOLVED]/boot directory doesnt have the correct permissions

that works thanks, was more wondering if there was a more permanent solution, thanks for the help!

Offline

#6 2017-03-17 04:19:33

Docbroke
Member
From: India
Registered: 2015-06-13
Posts: 1,433

Re: [SOLVED]/boot directory doesnt have the correct permissions

What is not less permanent with this?
If you are not happy with ntfs-3g, you may try using vfat, however that will need reinstallation of bootloaders.

Offline

Board footer

Powered by FluxBB