LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 10-22-2004, 07:35 PM   #1
gumbald
LQ Newbie
 
Registered: Oct 2004
Location: Yorkshire, England
Distribution: Ubuntu 5.10
Posts: 9

Rep: Reputation: 0
File access permissions


Driving me up the wall! I can see the directories and contents of my windows drives when logged in as root, but cannot access them when signed in normally. Similarly, I cannot access the /usr/local folder to install firefox there, so it's on my desktop somewhere. Am I doing something wrong.

Then comes the sound... I'll trawl forums more for that and get back to you
 
Old 10-22-2004, 07:54 PM   #2
darthtux
Senior Member
 
Registered: Dec 2001
Location: 35.7480 N, 95.3690 W
Distribution: Debian, Gentoo, Red Hat, Solaris
Posts: 2,070

Rep: Reputation: 45
A user should definetly NOT be able to put a file in /usr/local
Type
su -
and enter the root password to do that sort of thing.

For your windows drive add umask=0000 to the options for that drive in the /etc/fstab file. If you are unsure post the contents of that file and I will help.
 
Old 10-22-2004, 08:15 PM   #3
gumbald
LQ Newbie
 
Registered: Oct 2004
Location: Yorkshire, England
Distribution: Ubuntu 5.10
Posts: 9

Original Poster
Rep: Reputation: 0
Quote:
Originally posted by darthtux
A user should definetly NOT be able to put a file in /usr/local
Type
su -
and enter the root password to do that sort of thing.
How do I do that when installing firefox? Just put the su in terminal, then install?
 
Old 10-22-2004, 08:19 PM   #4
gumbald
LQ Newbie
 
Registered: Oct 2004
Location: Yorkshire, England
Distribution: Ubuntu 5.10
Posts: 9

Original Poster
Rep: Reputation: 0
Here's the appropriate section of my /etc/fstab

/dev/hda1 /win-c ntfs ro 1 0
/dev/hda5 /win-d ntfs ro 1 0
/dev/hda6 /win-e vfat defaults 1 0
 
Old 10-22-2004, 08:23 PM   #5
darthtux
Senior Member
 
Registered: Dec 2001
Location: 35.7480 N, 95.3690 W
Distribution: Debian, Gentoo, Red Hat, Solaris
Posts: 2,070

Rep: Reputation: 45
For firefox, it's all according to how you are installing it. Is it an install script that you run? If so, then run as root and let it install to that directory.

/dev/hda1 /win-c ntfs ro,user,umask=0222 0 0
/dev/hda5 /win-d ntfs ro,user,umask=0222 0 0
/dev/hda6 /win-e vfat defaults,user,umask=0000 0 0
 
  


Reply


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
file permissions OK, but command permissions? stabu Linux - General 2 10-05-2005 12:00 PM
fat32 file access permissions wwnexc Linux - Security 2 09-05-2005 10:04 PM
Permissions, File, Directory access tHcnunz Linux - Newbie 3 03-26-2004 09:25 AM
Samba file access permissions bryanl Linux - Networking 0 01-04-2004 05:16 PM
file permissions on VFAT partition - access denied cevjr Linux - Security 3 09-04-2003 04:50 PM


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

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration