Re: File Permissions and Compact Flash

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 2004-12-16 at 23:00 -0600, Bradley (FC2 List) wrote:
> I have taken photos off a Compact Flash card, modified them in Gimp and need
> to get them back onto the
> card to take to a photo processor. I am trying to drag the photos back into
> the card but am denied.
> I am logged in as mel.
> The file owner is listed as mel.
> However, the bottom of the permissions window reads "You are not the owner,
> so you can't change these permissions"
> Owner has Read, Write, and Execute permissions.
> I tried using chmod to change permissions as mel and as root to see if it
> would have an effect but the permissions
> did not change.
> 
> What am I missing here?
> 
> Thanks for a great list.
> Bradley


	The Flash card undoubtedly uses a FAT file system so the file
permissions don't really mean anything.  Assuming you are using FC2 (or
1) you need to change some settings in /etc/fstab.

	Open the file in your favorite editor (as root), find the appropriate
line.  You should be able to recognize the correct line by  the mount
point.  Go to the options area (this is a comma-separated list) and add
the options: ,users,umask=002 at the end of that area, before the two
numbers.  The line should look something like:

/dev/sda1 /mnt/usbdisk  vfat  noauto,users,umask=002 0 0

note that the white spaces are important!  Also the vfat might say auto,
or maybe even msdos (probably not though) no need to change it.

save the file and try to write to the disk, it should work now.

for more info:

man mount
man fstab


Scott


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux