external drives permissions change themselves

All Gurus once were Newbies
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Please stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions prefer the other forums within the support section.
Before you post please read this

external drives permissions change themselves

Postby matthekc on Thu Feb 21, 2008 1:02 am

I have an external western digital mybook and the permission keep changing from chmod -r 777 which i do to the drive it seems daily to owner read write only. Is there any security daemon changing my preferred settings?
matthekc
Level 1
Level 1
 
Posts: 46
Joined: Mon Jan 15, 2007 5:13 am

Linux Mint is funded by ads and donations.
 

Re: external drives permissions change themselves

Postby Husse on Thu Feb 21, 2008 7:10 am

No daemon to my knowledge
Which edition do you use?
There is a problem with KDE and external disks
Image
Don't fix it if it ain't broken, don't break it if you can't fix it
Husse
Level 21
Level 21
 
Posts: 19703
Joined: Sun Feb 11, 2007 7:22 am
Location: Near Borås Sweden

Re: external drives permissions change themselves

Postby matthekc on Fri Feb 22, 2008 10:19 pm

vfat cannot save ANY file permissions (the file system does not support it). so no matter what you set, it will always go back to the default you defined.
The default ist set by the fmask and dmask... i am not mistaken, change them fmask=0111 and and dmask=0000 and your permissions should be what you want them to be.

A solution from the ubuntu forums I'm going to try it later.
matthekc
Level 1
Level 1
 
Posts: 46
Joined: Mon Jan 15, 2007 5:13 am

Re: external drives permissions change themselves

Postby deadguy on Sat Feb 23, 2008 2:54 pm

I added "umask=000" to my drive in fstab to give me read and write
access to owner,group and others. so, my drives' fstab line looks like this:

/dev/sdc1 /media/Storage
vfat uid=1000,gid=1000,umask=000,auto,rw,users 0 0

(i'm using Daryna KDE CE beta 044)
User avatar
deadguy
Level 5
Level 5
 
Posts: 710
Joined: Wed Aug 15, 2007 9:41 pm
Location: Illinois USA


Return to Newbie Questions

Who is online

Users browsing this forum: tinca and 22 guests