VectorLinux

The nuts and bolts => Hardware & Drivers => Topic started by: payne on August 17, 2008, 01:44:36 am

Title: Permission Problem...
Post by: payne on August 17, 2008, 01:44:36 am
hi all im noobies on linux
i use vl soho

i can't chown the files to the user
but it work for directory

for the info..
my hdd is ntfs...does it cause the problem?

sorry my english  bad...
Title: Re: Permission Problem...
Post by: bigpaws on August 17, 2008, 07:02:40 am
I am guessing that you are trying for read/write permissions
for a mounted NTFS partition.

What you are doing will probably do bad things to the Windows
permissions.

The proper way is to change the permissions of the mount since
that is what will give you read/write pemissions.

Open VASM and there are mount partition options and irc  you
can change the permissions there.

HTH

Bigpaws
Title: Re: Permission Problem...
Post by: payne on August 19, 2008, 12:37:13 am
i already try that...
but it keep doesnt work...
i mean, i can use chown command for the directories but i cant use it for the files...

when i try to chown the file, it say something like "operation not supported"...
what does it mean...

also with chmod...

pls help me i keep stuck in this problem...

when i use vasm to mount my ntfs partition, it has an option, what should i do with that or just leave it by the default

but what i dont understand is...
"bigpaws : Open VASM and there are mount partition options and irc  you
can change the permissions there. "
i couldnt found where to change permission...
what irc is?

thx...
Title: Re: Permission Problem...
Post by: bigpaws on August 19, 2008, 03:01:27 am
irc = if I recall.

Please post fstab which is where the permission problem probably
is.

Quote
pls help me i keep stuck in this problem...

I am trying

Bigpaws
Title: Re: Permission Problem...
Post by: payne on August 20, 2008, 06:44:35 am
fstab ???
i'll try to find about that first...
then i'll back after i try that...

thx bigpaws...
Title: Re: Permission Problem...
Post by: wcs on August 20, 2008, 10:55:17 pm
Quote
fstab Huh

That is be the contents of the /etc/fstab file.
This is where you can specify how you want the filesystems to be mounted (with read/write permissions, etc...)
Title: Re: Permission Problem...
Post by: payne on August 23, 2008, 05:51:45 am
Ok..
i found this on my fstab file....
----------------------------------------
/dev/hdb5   /mnt/hdb5  ntfs defaults 0 0

/dev/hdb1   /mnt/hdb1  ntfs  defaults 0 0
----------------------------------------

i already try to change like this...

----------------------------------------
/dev/hdb5   /mnt/hdb5  ntfs defaults rw 0 0
----------------------------------------

but it doesnt work?
may i wrong with the options?
honestly, i dont understand with how to put the options...
Title: Re: Permission Problem...
Post by: bigpaws on August 23, 2008, 06:06:18 am
Here is some fstab information for you:

http://www.openaddict.com/node/31 (http://www.openaddict.com/node/31)

Bigpaws
Title: Re: Permission Problem...
Post by: payne on August 23, 2008, 07:10:10 am
thx, but i already read that tutorial...
could u just give me the example how to put the options on my hdb5 pls...
especially for my problem read/write...

btw maybe i can use umask options?
Title: Re: Permission Problem...
Post by: bigpaws on August 23, 2008, 07:25:07 am
Which SOHO version are you using?

Bigpaws
Title: Re: Permission Problem...
Post by: payne on August 24, 2008, 07:12:17 am
oh... i forgot to tell, my bad ...
5.8
Title: Re: Permission Problem...
Post by: bigpaws on August 24, 2008, 08:29:38 am
Since it is 5.8 things change. You need to install some
packages.

Try this:

http://forum.vectorlinux.com/index.php?topic=4639.0 (http://forum.vectorlinux.com/index.php?topic=4639.0)

Bigpaws
Title: Re: Permission Problem...
Post by: caitlyn on August 24, 2008, 10:06:52 am
I spotted one error you made in your /etc/fstab file:

Code: [Select]
/dev/hdb5   /mnt/hdb5  ntfs defaults rw 0 0
is incorrect syntax and won't set the mount point read/write.  It should read:

Code: [Select]
/dev/hdb5   /mnt/hdb5  ntfs defaults,rw 0 0
However. I believe read/write is default behaviour anyway.

ntfs3g has come a long way in the last two years.  You would find life much easier with 5.9.
Title: Re: Permission Problem...
Post by: payne on August 24, 2008, 10:10:41 pm
@caitlyn
so i need to put "," after "defaults"
ok thanks, i'll try that

maybe i should change 5.9
but the download is the problem

@bigpaws
i ever use ntsf 3g, but doesnt work with this problem...
what gslapt use for?
Title: Re: Permission Problem...
Post by: bigpaws on August 24, 2008, 11:43:37 pm
gslapt is for getting applications from the Vector repository.

You need to check that ntfs-3g is installed.

Bigpaws
Title: Re: Permission Problem...
Post by: payne on August 26, 2008, 07:00:36 am
@bigpaws
how do i know that my ntfs-3g installed properly?
after that how to use it? i ever try but i just dont understand how install & use it...

btw if i move to 5.9 does it solving my problem?

thx

@caitlyn
i already try that but it still doesnt work... :-[
Title: Re: Permission Problem...
Post by: bigpaws on August 26, 2008, 08:30:33 am
http://www.ntfs-3g.org/support.html (http://www.ntfs-3g.org/support.html)

Bigpaws
Title: Re: Permission Problem...
Post by: payne on September 06, 2008, 06:24:14 am
hello again, i really confused about downloading ntfs config, which file should i download for my soho?

from this site...
http://flomertens.free.fr/ntfs-config/download.html
Title: Re: Permission Problem...
Post by: bigpaws on September 06, 2008, 07:24:13 am
Here is the howto:

http://forum.ntfs-3g.org/viewtopic.php?t=21 (http://forum.ntfs-3g.org/viewtopic.php?t=21)

IIRC the ntfs-3g and fuse were both in the repositories.

Have you tried gslapt to find them?

Bigpaws
Title: Re: Permission Problem...
Post by: rbistolfi on September 07, 2008, 09:11:46 pm
You should grab the source code and compile it:

http://flomertens.free.fr/ntfs-config/download/source/ntfs-config-1.0.1.tar.gz

You can use the assistance of vpackager.
Title: Re: Permission Problem...
Post by: payne on September 14, 2008, 06:19:26 am
@bigpaws
i find the ntfs-3g in gslapt and it already installed, so what should i do next? update with the latest?

"assistance of vpackager" do you mean gslapt?
Title: Re: Permission Problem...
Post by: caitlyn on September 14, 2008, 07:42:05 am
vpackager isn't gslapt.  It's a separate piece of GUI software to make it relatively easy to compile from source.  I don't understand why you have to compile from source when everything is in the repository.
Title: Re: Permission Problem...
Post by: GrannyGeek on September 14, 2008, 11:47:58 am
i find the ntfs-3g in gslapt and it already installed, so what should i do next? update with the latest?

To confirm that ntfs-3g is installed, go to /var/log/packages and look for a file that begins with ntfs-3g.

I never used VL5.8 SOHO, but here is the line for read-write permissions for an NTFS drive from /etc/fstab on my VL 5.9 Standard partition:

/dev/hda8   /mnt/win-g  ntfs-3g  defaults,allow_other,umask=0,users,nls=utf8,noexec,noauto 0 0

I expect this would work in your version, but I could be wrong. You do, of course, have to enter the right identification for the drive (mine is /dev/hda8) and the right mount point (mine is /mnt/win-g). If you want your NTFS partition to be automatically mounted when VL starts, leave out the "noauto" part of the above line. I prefer to mount NTFS partitions only when I want to use them. When I'm done, I unmount them. When you want to mount your unmounted NTFS partition, open a terminal and type
mount /mnt/win-g
(substituting the mount point for yours instead of /mnt/win-g--it must match the mount point in the line in /etc/fstab)

Be aware that writing to NTFS is still considered somewhat experimental in Linux. I've been doing it for a couple of years without problems and I haven't read negative reports about ntfs-3g in this forum, so you can probably proceed with confidence. I suggest not doing a lot of writing to NTFS partitions. I rarely write to an NTFS partition, I just like to have it as a possibility if I want to do it. For Windows files I intend to write to in Linux, I have a FAT32 partition. It has long been safe to write to a FAT32 partition from Linux.
--GrannyGeek
Title: Re: Permission Problem...
Post by: caitlyn on September 14, 2008, 12:10:56 pm
I didn't realize we were talking about 5.8.  Yes, upgrading to 5.9 would be a huge help.  5.8 SOHO is more than a year and a half old and there have been big improvements to ntfs-3g.  That's why you were being advised to compile from source.  The newest version isn't available for 5.8.

Install 5.9 and then grab any updates out of the patches repository for ntfs3g, fuse, samba, etc... and some of your problems may disappear. 

ntfs3g is automatic.  You don't need to do anything to use it except mount the filesystem and have at it.  By all means go to a newer version.
Title: Re: Permission Problem...
Post by: payne on September 16, 2008, 06:30:23 am
upgrade to 5.9 maybe resolving my problem at all

actually i don't mount my ntfs for write on it, i only need it to read,
i mean, all of my mp3 is inside my ntfs partition :P
you know it's feel plain while you use it in silent :-\

so if upgrade is the best choice, then i'll do...

by the way what's different between vl soho 5.9 gold & vl soho 5.9 light final


Title: Re: Permission Problem...
Post by: caitlyn on September 16, 2008, 10:35:02 am
There is no such thing as as VL Light SOHO.  Light and SOHO are very different from one another.  The three VL releases are as follows:

VL Standard - a lightweight OS with a choice of the Xfce desktop or the lightweight Fluxbox or JWM window managers.  No KDE, no OpenOffice, nothing big or bloated.   All can be added from the repository, of course.

VL SOHO Deluxe -  a full-featured OS with the KDE desktop, OpenOffice, and a wide variety of multimedia applications.  Comes on two CDs or two downloadable isos.  SOHO is no longer free with the 5.9 release.  $19.95 to download.

VL Light - an extremely lightweight OS designed for older legacy systems and netbooks.  Very fast but with only lightweight applications and desktop included.  Choice of desktops: LXDE, Fluxbox, or JWM.  Anything for the above releases can still be added from the repository, but that kind of defeats the purpose of Light.

Only you can decide which release is right for you.  If you are happy with VL 5.8 SOHO then 5.9 SOHO is probably what you want.
Title: Re: Permission Problem...
Post by: payne on September 17, 2008, 05:34:29 am
ok, thanks...

i think it's the end of this topic, thanks everyone...