View previous topic :: View next topic |
Author |
Message |
carpman Advocate
Joined: 20 Jun 2002 Posts: 2202 Location: London - UK
|
Posted: Sun May 22, 2005 1:24 pm Post subject: mount compactflash dir |
|
|
Hello, ok i can mount my compact flash (in pcmcia adapter) as root fine, once done an icon appears on gnome desktop which i can open. The problem is that the folder, created by digital camara, on compact disk is not recognised by nautilus, however if access via console as root i get no problems, as user i get permission denied.
Questions:
How can i get nautilus to recognise folder on CF?
How can i mount so user can access folder/files on CF
cheers _________________ Work Station - 64bit
Gigabyte GA X48-DQ6 Core2duo E8400
8GB GSkill DDR2-1066
SATA Areca 1210 Raid
BFG OC2 8800 GTS 640mb
--------------------------------
Notebook
Samsung Q45 7100 4gb |
|
Back to top |
|
|
nixnut Bodhisattva
Joined: 09 Apr 2004 Posts: 10974 Location: the dutch mountains
|
Posted: Sun May 22, 2005 4:28 pm Post subject: |
|
|
Is there a checkbox for show hidden files? Perhaps the folder is a hidden directory. _________________ Please add [solved] to the initial post's subject line if you feel your problem is resolved. Help answer the unanswered
talk is cheap. supply exceeds demand |
|
Back to top |
|
|
m00dawg Tux's lil' helper
Joined: 27 Jan 2003 Posts: 145 Location: Texas
|
Posted: Sun May 22, 2005 5:24 pm Post subject: |
|
|
My guess is that if you are looking at it through nautilus (as a normal user), it doesn't show up because you don't have access to read it.
On my USB keychain, I specifically set the user/group permissions to my normal user, but you could just as easily set it to be wrold writablable (since I would not consider removable devices all that secure anyway). I would do the same in your case. Just make sure you have an entry in fstab so your normal user can mount the drive without needing root priviledges. _________________ www.moocowproductions.org |
|
Back to top |
|
|
carpman Advocate
Joined: 20 Jun 2002 Posts: 2202 Location: London - UK
|
Posted: Sun May 22, 2005 5:30 pm Post subject: |
|
|
Hello, thank for replies.
think you mis-understand, it is not that i can't see it, i can; it is not hidden just not recognised as a dir by nautilus? though can see it via console!
The mount as user issue, when i insert compactflash or usb device the system automatically creates a dir in /media
so my pcmcia compactflash get:
Code: |
/dev/hde1 /media/idedisk
|
I then have to manually mount /media/idedisk with
Code: |
mount /dev/hde1 /media/idedisk
|
An entry has also been added automatically , i did not add it, to /etc/fstab
Code: |
/dev/hde1 /media/idedisk auto noatime,sync,exec,user,noauto
|
which seems to give user privaliges, but even via console i can only see dir on compactflash, but do not have permission to view.
Code: |
$ ls /media/idedisk/dcim
ls: /media/idedisk/dcim: Permission denied
|
_________________ Work Station - 64bit
Gigabyte GA X48-DQ6 Core2duo E8400
8GB GSkill DDR2-1066
SATA Areca 1210 Raid
BFG OC2 8800 GTS 640mb
--------------------------------
Notebook
Samsung Q45 7100 4gb |
|
Back to top |
|
|
m00dawg Tux's lil' helper
Joined: 27 Jan 2003 Posts: 145 Location: Texas
|
Posted: Mon May 23, 2005 4:09 am Post subject: |
|
|
carpman wrote: |
hello, ok i can mount my compact flash (in pcmcia adapter) as root fine, once done an icon appears on gnome desktop which i can open. The problem is that the folder, created by digital camara, on compact disk is not recognised by nautilus, however if access via console as root i get no problems, as user i get permission denied | If you are running nautilus as a user, then that means you don't have access to that folder right? (you said you got permission denied at the terminal as a user). If that is the case, then I woudln't be surprised if the folder did not appear. You could login to nautlius as root and then see and if it does appear, you know it is a permissions issue and should follow the steps I gave above. If you have already tried that? Then, well, I'm out of options
But either way, you should not be running as root to copy photos You should only use root when you have to, or avoid making horrible and irreperable mistakes. And I know, I've done a few mistakes as root _________________ www.moocowproductions.org |
|
Back to top |
|
|
carpman Advocate
Joined: 20 Jun 2002 Posts: 2202 Location: London - UK
|
Posted: Mon May 23, 2005 7:54 am Post subject: |
|
|
Hello, yep know i should not be as root but had to drop in with su as i needed photos.
Ok tried
Code: |
chown -R root:users /media/idedisk
chown: changing ownership of `/media/idedisk/': Operation not permitted
|
If i umount it first it will do it ok but once mounted it reverts back to root:root
fstab entry is:
Code: |
/dev/hde1 /media/idedisk auto noatime,sync,exec,user,noauto
|
cheers _________________ Work Station - 64bit
Gigabyte GA X48-DQ6 Core2duo E8400
8GB GSkill DDR2-1066
SATA Areca 1210 Raid
BFG OC2 8800 GTS 640mb
--------------------------------
Notebook
Samsung Q45 7100 4gb |
|
Back to top |
|
|
gesiel Apprentice
Joined: 13 Feb 2005 Posts: 197 Location: Brasil - Rio de Janeiro
|
Posted: Mon May 23, 2005 10:29 am Post subject: |
|
|
Do you try?
Code: | umount /media/idedisk
chmod 777 /media/idedisk |
also
Code: | /dev/hde1 /media/idedisk auto noatime,sync,exec,user,noauto,rw |
Look the rw.
Do you put the user into "disk" group? |
|
Back to top |
|
|
carpman Advocate
Joined: 20 Jun 2002 Posts: 2202 Location: London - UK
|
Posted: Mon May 23, 2005 11:29 am Post subject: |
|
|
gesiel wrote: | Do you try?
Code: | umount /media/idedisk
chmod 777 /media/idedisk |
also
Code: | /dev/hde1 /media/idedisk auto noatime,sync,exec,user,noauto,rw |
Look the rw.
Do you put the user into "disk" group? |
thanks for reply, ok tried suggestions and still no go, though chmod does seem to have taken:
Code: |
ls -l /media
total 20
drwxr-xr-x 2 root root 4096 May 23 08:15 cdrecorder
drwxr--r-- 3 root root 16384 Jan 1 1970 idedisk
|
_________________ Work Station - 64bit
Gigabyte GA X48-DQ6 Core2duo E8400
8GB GSkill DDR2-1066
SATA Areca 1210 Raid
BFG OC2 8800 GTS 640mb
--------------------------------
Notebook
Samsung Q45 7100 4gb |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|