LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 11-03-2004, 10:48 AM   #1
AgentDukey
Member
 
Registered: Oct 2004
Posts: 33

Rep: Reputation: 15
slackware doesn't know what's a folder


yeah, kinda true. well it knows what's a folder in the unix system, but as far as it goes to fat32 it just says that the folder is an "unknown type"
what to do?
 
Old 11-03-2004, 11:09 AM   #2
cccc828
Member
 
Registered: Feb 2004
Location: Austria
Distribution: Slackware
Posts: 95

Rep: Reputation: 15
What did you do to get that message? How did you mount the fat partition? Can you create file and directories on the partition?

cccc828
 
Old 11-03-2004, 12:05 PM   #3
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
Actually windows users commonly don't know
what a directory is ... as far as windows goes:
some things with the graphical representation
of what one might call a folder are NOT directories,
e.g. the connection wizard thingy



Cheers,
Tink
 
Old 11-03-2004, 12:14 PM   #4
AgentDukey
Member
 
Registered: Oct 2004
Posts: 33

Original Poster
Rep: Reputation: 15
@tinkster
i didn't get what you meant
@cccc
i don't really know how to mount stuff. the error message I get is Couldn't display "/e/Stuff/". The attempt to log in failed.
the funny thing is, i can cd to the folders via terminal, and it seems that i'm able to make folders on the partition, maybe something's wrong with my GUI. I use gnome
 
Old 11-03-2004, 12:40 PM   #5
Cedrik
Senior Member
 
Registered: Jul 2004
Distribution: Slackware
Posts: 2,140

Rep: Reputation: 244Reputation: 244Reputation: 244
Type in the URL of your filebrowser :

file:/e/Stuff

see if it works...
 
Old 11-03-2004, 01:35 PM   #6
AgentDukey
Member
 
Registered: Oct 2004
Posts: 33

Original Poster
Rep: Reputation: 15
other message, same effect. Couldn't display "/e/Stuff". Access was denied. Even when I su'ed it was the same message
 
Old 11-03-2004, 02:00 PM   #7
Cedrik
Senior Member
 
Registered: Jul 2004
Distribution: Slackware
Posts: 2,140

Rep: Reputation: 244Reputation: 244Reputation: 244
And
ls -al /e/Stuff
 
Old 11-03-2004, 02:06 PM   #8
AgentDukey
Member
 
Registered: Oct 2004
Posts: 33

Original Poster
Rep: Reputation: 15
Code:
total 1312
drwxr--r--   8 root root  32768 2004-04-05 21:50 .
drwxr--r--  28 root root  32768 1970-01-01 01:00 ..
-rwxr--r--   1 root root 135450 2004-09-03 04:13 99207_wallpaper_metal_gear_solid2_01_1024.jpg
drwxr--r--  11 root root  32768 2004-04-07 00:58 Emulation
drwxr--r--   7 root root  32768 2004-04-05 21:50 KaZaA
-rwxr--r--   1 root root 152252 2004-09-03 04:12 Metal Gear Solid 2 Sons Of Liberty dvd.jpg
-rwxr--r--   1 root root 173025 2004-09-03 04:14 Metal Gear Solid 2.jpg
-rwxr--r--   1 root root  24898 2004-09-03 04:15 Metal_Gear.jpg
-rwxr--r--   1 root root 233574 2004-09-03 04:13 Metal_Gear_Solid_Logo.jpg
drwxr--r--   3 root root  32768 2004-04-07 17:22 Soulseek
drwxr--r--  10 root root  32768 2004-06-08 19:13 Underground
-rwxr--r--   1 root root  10340 2004-09-03 04:34 ava2.gif
drwxr--r--   4 root root  32768 2004-04-06 21:06 irc
-rwxr--r--   1 root root 187273 2004-09-03 04:12 mgs2copy.jpg
drwxr--r--   4 root root  32768 2004-04-07 00:58 pics
-rwxr--r--   1 root root   9822 2004-09-03 04:32 snake-ava1.gif
 
Old 11-03-2004, 02:16 PM   #9
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
There you go - permission problem :)

If you're not logged in as root (which I hope you're not)
you can't cd into any directory, thery're all only executable
(which, in Linux, is equivalent to "can be entered") for
root. Workaround: add uid=<username> to the flags that
mount that partition in /etc/fstab


Cheers,
Tink
 
Old 11-03-2004, 02:34 PM   #10
AgentDukey
Member
 
Registered: Oct 2004
Posts: 33

Original Poster
Rep: Reputation: 15
how exactly should it then look? now it looks like this
Code:
/dev/hda2        /c               vfat        defaults         1   0
/dev/hda5        /d               vfat        defaults         1   0
/dev/hda6        /e               vfat        defaults         1   0
and how should look then? lets say the my uid ist 177 or something like that(dunno where to look this up) and the username is dukey, so how should it then look?
 
Old 11-03-2004, 02:51 PM   #11
Cedrik
Senior Member
 
Registered: Jul 2004
Distribution: Slackware
Posts: 2,140

Rep: Reputation: 244Reputation: 244Reputation: 244
try :
Code:
/dev/hda2        /c               vfat        users         1   0
/dev/hda5        /d               vfat        users         1   0
/dev/hda6        /e               vfat        users         1   0
So all users should access the mount point
if it fails, get your id by typing in a terminal (as your user) :
id

note the uid then change fstab (say uid is 500) :
Code:
/dev/hda2        /c               vfat        uid=500,gid=100        1   0
/dev/hda5        /d               vfat        uid=500,gid=100        1   0
/dev/hda6        /e               vfat        uid=500,gid=100        1   0
gid 100 is the standart value for users group (/etc/group)
 
Old 11-03-2004, 02:57 PM   #12
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
uid:
awk -F: '/dukey/ {print $3}' /etc/passwd

Cedrik has answered the rest ;)

[edit]
On second thought: make that:
Code:
/dev/hda2        /c               vfat        user,rw,umask=000,uid=<yourid>        1   0
/dev/hda5        /d               vfat        user,rw,umask=000,uid=<yourid>        1   0
/dev/hda6        /e               vfat        user,rw,umask=000,uid=<yourid>        1   0
[/edit]



Cheers,
Tink

Last edited by Tinkster; 11-03-2004 at 03:00 PM.
 
Old 11-03-2004, 04:49 PM   #13
egag
Senior Member
 
Registered: Jul 2004
Location: Netherlands
Distribution: Slackware
Posts: 2,721

Rep: Reputation: 53
hi there.

for a normal vfat partition for users put in /etc/fstab:

/dev/hda6 /e vfat rw,users,umask=022 1 0

this will give any user r/x permission and the owner rwx.

( maybe you have to change your permissions on the /e dir. now they are drwxr--r-- , should be drwxr-xr-x . check that after changing the fstab and doing a reboot.
if you need to change them, do a "#chmod 755 /e" )

egag
 
Old 11-07-2004, 11:25 AM   #14
AgentDukey
Member
 
Registered: Oct 2004
Posts: 33

Original Poster
Rep: Reputation: 15
how should fstab look like if if want _any_ user to have full access to the fat-partitions? meaning that any user should have rwx
 
Old 11-07-2004, 11:47 AM   #15
egag
Senior Member
 
Registered: Jul 2004
Location: Netherlands
Distribution: Slackware
Posts: 2,721

Rep: Reputation: 53
/dev/hda6 /e vfat rw,users,umask=000 1 0

egag
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Folder Max Size and Limiting SSH access to home folder. Mefistofeles Linux - General 4 11-26-2005 02:09 PM
permissions difference between /home/..../folder and /root/folder darkleaf Linux - General 3 07-21-2005 05:23 PM
how can i default the max folder file size when it create inside a folder antony_csf Linux - Software 1 06-17-2004 02:26 AM
Which folder form Slackware-current to download alekoos Slackware 5 04-20-2004 04:34 AM
gnome home folder and trash folder ambelos Linux - Software 2 02-24-2004 06:44 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 03:32 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration