Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Slackware This Forum is for the discussion of Slackware Linux.


  Search this Thread
Old 07-23-2003, 10:30 AM   #1
LQ Newbie
Registered: May 2003
Posts: 28

Rep: Reputation: 15
problem with users ins slack ;>

Hello! :]

I have a problem with users in slack. When i add somebody for eg.

adduser szymon

Everything is ok, until i try to read mounted windows drives as a user (or do almous anything! ) i get error (in mC) :

"cannot change directory"

Even more..when i try to copy some file into my linux partition situation is the same :-/ i can copy as a root, but i can`t read it on linux partition as a user - only root . User can`t do anything. I had mandrake and red hat distro`s and everything was fine there. But i like slackware very much and i don`t want to be as root, all the time. Can someone help me?

ps. in fstab i did wrote "user' in mounted win partitions - didn`t help .
Old 07-23-2003, 10:59 AM   #2
Registered: Jul 2003
Location: --> X <-- You are here.
Distribution: Slackware, OpenBSD
Posts: 305

Rep: Reputation: 53
Check the ownership and the rights of the mounted directories you are trying to "read".

If this is not done yet, try adding the user who has the problems to groups "wheel" and "disk". That should do the trick...
Old 07-23-2003, 01:53 PM   #3
LQ Newbie
Registered: May 2003
Posts: 28

Original Poster
Rep: Reputation: 15
owner is root. Rights are "show entries" for all , write enteries , and enter are for users only.

I added user as you said to wheel and disk but it didn`t worked out . Later user were in "root" group. I even selected all groups ...but i still can`t see files . Right now i couldn`t write a file into a directory that was made by root, i can look into it but can`t do anything...grrr that`s annoying

Last edited by szymon; 07-23-2003 at 02:01 PM.
Old 07-23-2003, 02:08 PM   #4
Registered: May 2003
Location: S.F. Bay Area
Distribution: Ubuntu 9.04 AMD64
Posts: 595

Rep: Reputation: 30
Can you post the "raw" ls -l output for the mount points for the Windows drives you're mounting?

For example, here is info on our RedHat box for a Windows network drive mounted via smbfs:

[tomw@ebdsl tomw]$ ls -ld /mnt/driveX
drwxr-xr-x 1 root root 4096 Nov 20 2002 /mnt/driveX
[tomw@ebdsl tomw]$ mount
/dev/hda6 on / type ext2 (rw)
none on /proc type proc (rw)
/dev/hda1 on /boot type ext2 (rw)
/dev/hdb3 on /mnt/cache type ext2 (rw)
/dev/hdc1 on /mnt/build type ext2 (rw)
none on /dev/pts type devpts (rw,mode=0622)
//NTEBSVR/PUBLIC on /mnt/driveX type smbfs (0)
[tomw@ebdsl tomw]$

What are the permissions on the mount point you're mounting the Windows share to? Also, how are you mounting the Windows shares into your Linux filesystem?

I run Slackware 8 at home.

Old 07-23-2003, 06:57 PM   #5
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 912Reputation: 912Reputation: 912Reputation: 912Reputation: 912Reputation: 912Reputation: 912Reputation: 912
It's primarily a matter of how the umask
in fstab is set :)

That search will return a few more than you'll
want to read, pick the ones most relevant to
your problem ;)

Old 07-23-2003, 07:48 PM   #6
Senior Member
Registered: Jul 2003
Location: Wellington, NZ
Distribution: mainly slackware
Posts: 1,291

Rep: Reputation: 52
try this in your fstab:

/dev/hda# /mnt/hda# vfat noauto,user,exec,rw,nosuid,umask=007 1 0


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Slack users, you have to try Gentoo biosx Slackware 34 03-13-2007 01:58 AM
can't find extra ins slack 10 cd's gravityworks Slackware 2 07-02-2004 08:46 AM
Plug-ins, Plug-ins, Plug-ins, those damn Plug-ins!! GRRRR!! Ausar Linux - Newbie 1 06-09-2004 03:10 PM
Proftpd configuration/users problem Slack 9.1 Akadin05 Linux - Networking 1 01-04-2004 10:21 PM
Sound in Slack for users Tinkster Slackware 7 05-17-2002 10:37 PM > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 08:00 AM.

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