LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE
User Name
Password
SUSE / openSUSE This Forum is for the discussion of Suse Linux.

Notices


Reply
  Search this Thread
Old 07-09-2013, 11:53 PM   #1
cbjhawks
Member
 
Registered: Oct 2001
Location: Overland Park, KS
Distribution: Kubuntu 22.04
Posts: 375

Rep: Reputation: 30
How do I change permissions on 3rd HD...so I can backup OpenSuse 11.4


My 3 HD's

1) XP (Master)
2) OpenSuse 11.4 (Slave)
3) 250GB drv on a PCI adapter card that increases my IDE from 4 to 8
4) DVD writer (Master)
5) CD-DVD reader only (Slave)

The drive I want to read & write to is /windows/D (#3)...right now I can view the contents but not write to...after I clean-scan for virus' as a regular user...I can write-save to DVD's but not the 3rd drive (ie...Access Denied).
I have little knowledge of the CLI so I try and grant permission via the root GUI..I login as root, bring up the drive (250GB), change permission to my user name and group...click apply which supposedly = success...but when I go back to my regular user I'm still denied.

What am I doing wrong ?
I understand as a regular user...ie /home/username that I unable to create a directory in any other place...how can I change that ?
 
Old 07-10-2013, 03:33 AM   #2
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,624

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
I take it you are using "Evergreen" repos for the past End of life 11.4
12.2 and 12.3 are the current only supported versions

as to having a normal user read/write to a NTFS partition
you need to set it up in /etc/fstab
SUSE's default behavior for the old Gnome2 in 11 was to have it read ONLY by non root users
this is also STD in the current for "NTFS-3g"

something like this
( assuming it is XP service pack 3 and the C:\\ is /dev/sda1 )
Code:
/dev/sda1  /mnt/WinXPsp3    ntfs-3g   rw,users        0 0
from opensuse 11.4 run as root ( su - or sudo )
Code:
su -
fdisk -l
( -l is a lowercase L "l" )
that will inform you as to what the win C:\\ drive is
first make the folder in /mnt
Code:
su -
mkdir /mnt/WinXPsp3
chown YourNormalUserName:users /mnt/WinXPsp3
replace "YourNormalUserName" with your real user name
then add the fstab entry and reboot
Warning:
HAVE THE INSTALL DVD HANDY !!!!!!!
- or SystemRescueCD

if there is an error in the fstab line then the boot will STOP before booting
if that happens
use the rescue disk to undo the line in fstab
( simply put a " # " at the start of that line -- MINUS the two "" only the #
 
Old 07-12-2013, 07:14 AM   #3
cbjhawks
Member
 
Registered: Oct 2001
Location: Overland Park, KS
Distribution: Kubuntu 22.04
Posts: 375

Original Poster
Rep: Reputation: 30
To John VV...

your instructions seem simply enough...do they change any when I'm using KDE vs Gnome ?

If I follow you correctly...use fdisk -l to find out what the 250GB "linux" name is...switch to root "su" and make a directory using the result from fdisk for the 250GB and then change ownnership of that directory to my username showing the /mnt point ?
 
Old 07-19-2013, 07:08 AM   #4
ajohn
Member
 
Registered: Jun 2011
Location: UK
Distribution: OpenSuse Leap
Posts: 122

Rep: Reputation: Disabled
Not sure I understand what you are trying to do but assume you are writing to the disc with linux. A problem I often have that is down to linux not giving normal users access to the root directory of any disc. The solution is simple. As root create a directory on the disc and give that what ever user rights you want. You will be able to write to the directory. This aspect is probably where the term root user came from.

As the other post pointed out ntfs is not fully available on an normal install. This has been of no interest to me for a long time so do not know how to enable it. A search for ntfs read write opensuse may find instructions. When I last used it ntfs functionality was built into the kernel and just disabled. Not sure of the situation now.

Another solution I have used in the past is to use a windows utility that allows the linux partitions on a system to be read and written to as if they were part of windows. Google may bring up a suitable utility. I've not used windows at all for at least 10 years so can't remember the name.

John
-
 
  


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
How to create folders in 2nd and 3rd partions and how to mount /home on 3rd Partition AnApproach2DigestLinux Linux - Newbie 1 12-06-2012 10:25 PM
[SOLVED] How can I change file permissions in windows ntfs partition.Even root can't change it e3399 Linux - Newbie 3 03-02-2011 10:54 PM
[SOLVED] filesystem permissions question - making so user can't change permissions? c0pe Linux - Security 4 07-12-2010 09:06 AM
Wanting to remove 3rd HD from OpenSuSE 11.0 for XP machine cbjhawks Linux - Hardware 12 02-22-2009 10:05 AM
Backup Permissions cfgert Linux - General 5 08-23-2004 08:36 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE

All times are GMT -5. The time now is 05:31 PM.

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