LINUX.IE, website of the Irish Linux Users' Group
Tux rules!

   
Home
New Users
Articles
Download
Projects
Community
Vendors

  Print Version
Email to...
 
Archives:


planetILUG

Recent News

News Archive


Join the
ILUG
on FaceBook


Join the
ILUG
on LinkedIn


Join the
ILUG SETI
Group



















 
 :: Mailing Lists

[ILUG] How do I edit user permissions in Slack 10

[ILUG] How do I edit user permissions in Slack 10

Conor Wynne weeboy at conorwynne.com
Fri Sep 3 00:26:14 IST 2004


On Thu, 2004-09-02 at 20:33, Jaqian wrote:
> Any advice or pointers please. I recently installed Slackware 10 
> along with Gnome 2.6 (thanx Linux Format) and I've created a user 
> account with the "adduser" command. The problem is user in SW 
> can't access anything (cd-rom etc). 

What happens exactly? Do you mount it (successfully) as root, then as a
normal user try to "cd" to the mountpoint and get a "permission denied"
or what? 

> 
> 1.)How/Where do I go to change permissions? 

Depends on above. Try changing the permissions on the mountpoint and see
what happens. 
Here are my mountpoint permissions and fstab entries:

drwxr-xr-x    2 root     root            6 2003-11-21 18:05 cdrom
drwxr-xr-x    2 root     root            6 2004-06-27 17:38 dvd
drwxr-xr-x    2 root     root            6 2003-11-21 18:05 floppy

snowwhite:~ # cat /etc/fstab
/dev/hda5            /                    xfs       
defaults              1 1
/dev/hda3            /boot                ext3      
defaults              1 2
/dev/hda7            /home                xfs       
defaults              1 2
/dev/hda6            swap                 swap      
pri=42                0 0
devpts               /dev/pts             devpts    
mode=0620,gid=5       0 0
proc                 /proc                proc      
defaults              0 0
usbdevfs             /proc/bus/usb        usbdevfs  
noauto                0 0
/dev/cdrom           /media/cdrom         auto      
ro,noauto,user,exec   0 0
/dev/dvd             /media/dvd           auto      
ro,noauto,user,exec   0 0
snowwhite:~ #

Note the "user" in the options for /dev/dvd or /dev/cdrom etc. 

> 2.)Also I've 256Mb mp3 player thats not seen. I selected to 
> activate hotplugging when i installed SW but i dont see it. Is 
> there some file I can edit so SW sees it?

dmesg will verify its there. It will _likely_ (I dont have one so) be
seen as a scsi device. Most things are, e.g.: cameras, pendrives etc.
So:
"cat /proc/scsi/scsi" and see if its there. 

If not, then is the module loading at boot? Check "lsmod"
If it is, is the startup script starting during boot? 

/etc/init.d/hotplug status
(I hope that's the service you mean)

> 3.) When I was installing SW i saw "sane" being installed but its 
> not in the menu. Where do I go to find it, whats the equivalent of 
> C:\Program Files in linux?

Well /usr contains most stuff. Some apps go into /opt but I seriously
doubt sane does. Addons (games, netscape etc etc) usually go into
/usr/local. But binaries or symlinks to binaries go into either /usr/bin
or /usr/local/bin. (System binaries are in /bin)
Try your luck with /usr/bin/sane, or if its in your PATH, just "sane"

But I dont have a camera and do not remember ever even installing
slackware, so this could all be rubbish :)

> Thanks in advance,
> Jaqian

Regards
Conor




More information about the ILUG mailing list
Read this without the formatting.
                                                                                                    

 

Hosted by HEAnet


Maintained by the ILUG website team. The aim of Linux.ie is to support and help commercial and private users of Linux in Ireland. You can display ILUG news in your own webpages, read backend information to find out how. Networking services kindly provided by HEAnet, server kindly donated by Dell. Linux is a trademark of Linus Torvalds, used with permission. No penguins were harmed in the production or maintenance of this highly praised website. Looking for the Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!
RSS Version
Powered by Dell