Jump to content

Partition acting weird [Solved]


YaAqoB
 Share

Recommended Posts

Hi all.

I have a partition called /mnt/LinuxStuff

I can create new directories and write to that directory but it won't allow me to create or write to any of the directories inside /mnt/LinuxStuff

Anyone one have any clues as to why I can't add files to the directories I can create.

The line in fstab is as follows

 

/dev/hdd2 /mnt/LinuxStuff ext3 defaults 1 2

Edited by YaAqoB
Link to comment
Share on other sites

Indeed, this sounds like a problem with permissions. If the user you're logged on with is not part of the user group of the user that created the dirs/files, you won't be able to write to them.

 

If this is the case, you could simply add yourself to the right user group and you'll be able to access the files/dirs.

 

If you created the files/dirs with root, it would be a bad idea to add yourself to the root group as that is rather insecure. It would be better, then, to just change the owner of the dirs to your preferred login's name using chown.

Link to comment
Share on other sites

I'm having the same issues with /mnt/Movies

Here is my entire fstab file just incase there is something in there causing grief.

 

/dev/hda6 / reiserfs notail 1 1

none /dev/pts devpts mode=0620 0 0

/dev/hdd2 /mnt/LinuxStuff ext3 defaults 1 2

/dev/hdd1 /mnt/Movies vfat umask=0,iocharset=iso8859-15,codepage=850 0 0

/dev/hdb5 /mnt/OtherStuff ntfs umask=0,nls=iso8859-15,ro 0 0

/dev/hdb1 /mnt/WindowsApps ntfs umask=0022 0 0

/dev/hdc /mnt/cdrom auto umask=0,user,iocharset=iso8859-15,codepage=850,noauto,ro,exec,users 0 0

/dev/hda1 /mnt/windows ntfs umask=0,nls=iso8859-15,ro 0 0

none /proc proc defaults 0 0

/dev/hda5 swap swap defaults 0 0

/dev/sdd1 /mnt/hd auto umask=0,user,iocharset=iso8859-15,sync,kudzu,codepage=850,noauto,exec,users 0 0

Link to comment
Share on other sites

THank you very much for that.

It gave me a whole buch of errors about not having user acces to do it but still worked anyway. Not sure why it went like that to start with but its working so I'm happy.

Thanks again :thanks:

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...